commit b455e5d75f430886fbb4465703f5c263c30798f4
parent c5edaa61a486a977b569f938069a45898c7a0d20
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 24 Feb 2019 18:33:27 +0100
Changed sudo write cmap
Former-commit-id: f98e34327363b3d51e20bd6eb1d1097181bee1ce
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -40,7 +40,7 @@ vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv
" stfu and write the file
-cnoremap w!! w !sudo tee > /dev/null %
+cnoremap sudow w !sudo tee > /dev/null %
" and don't break my colours (U for 'unfuck my screen please')
nnoremap U :syntax sync fromstart<CR>:redraw!<CR>