]> Sergey Matveev's repositories - nnn.git/commit
nmv: prefer selection if -u is active
authorNRK <nrk@disroot.org>
Fri, 17 Feb 2023 05:56:28 +0000 (11:56 +0600)
committerNRK <nrk@disroot.org>
Fri, 17 Feb 2023 13:22:46 +0000 (19:22 +0600)
commit8ad5c87107b82696b188bd4190a79c39de613dcc
tree6613fd3c9e9e51bbe5d6219d59d7bd5eae573b6a
parent58b77411c830aa2fa22e0c024deecb9648136771
nmv: prefer selection if -u is active

the rename plugin always asks for "selection vs current" even when -u
flag is active. pass it to the plugin via `NNN_PREFER_SELECTION` so that
there's less distracting prompts.
plugins/.nmv
src/nnn.c