1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Save and Quit vim aliases

This commit is contained in:
Joe Groocock 2016-04-01 14:00:11 +01:00
parent 2f20f4d3cc
commit a1e80f2a27

5
.vimrc
View File

@ -33,6 +33,11 @@ noremap <Leader>p "*p
noremap <Leader>Y "+y
noremap <Leader>P "+p
com W w
com Q q
com Wq wq
com WQ wq
" Write with sudo
cmap w!! w !sudo tee > /dev/null %