vim:keys: Map <leader>d also in visual mode

This commit is contained in:
2025-05-30 14:52:42 +02:00
parent 533e82cb81
commit f0ec75aa9c

View File

@@ -210,6 +210,7 @@ nnoremap Y y$
" Clear line (`cc` but stay in normal mode)
nmap <leader>dd 0D
vmap <leader>d <Cmd>keepp '<,'>s/^.*$//<CR>
" Fix & command to also use last flags
nnoremap & <Cmd>&&<CR>