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:
Sanchayan Maity 2020-07-27 11:35:29 +05:30
parent 2de0addc61
commit 8e1bea3144

View file

@ -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 " Remap escape keys to something usable on home row
inoremap jk <Esc> inoremap jk <Esc>
cnoremap jk <C-C> cnoremap jk <C-C>