vim:keys: Fix <leader>dd (clear line)

`0` is necessary to move to real beginning of the line.
This commit is contained in:
2022-08-30 20:39:21 +02:00
parent 0ad0ccb0c8
commit 5606967050

View File

@@ -160,7 +160,7 @@ endif
nnoremap Y y$
" Clear line (`cc` but stay in normal mode)
nmap <leader>dd ^D
nmap <leader>dd 0D
" Move lines up and down while correcting the indentation
" https://vim.fandom.com/wiki/Moving_lines_up_or_down