nvim: keymappings: Drop sudo write mapping
This really does not work. Use sudoedit. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
2de0addc61
commit
8e1bea3144
1 changed files with 0 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
|||
" Allow saving of files as sudo when I forgot to start vim using sudo
|
||||
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
|
||||
" Remap escape keys to something usable on home row
|
||||
inoremap jk <Esc>
|
||||
cnoremap jk <C-C>
|
||||
|
|
Loading…
Reference in a new issue