summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-08-17 17:45:26 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-08-17 17:45:26 +0100
commitf016cf4bfa69cafa32e210aa49547aad35789032 (patch)
treea33e1c3bc93ea0a328bf42ccfe911f9d4bf201b1 /vim/.vimrc
parent5bef4ed9217ff4ef83190103baf072917f2bcaa0 (diff)
[.vimrc] Use :u instead of :w in <Leader>w mapping
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 3e2d84d..e37824e 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -253,7 +253,7 @@ endif
"" Mappings
-nnoremap <Leader>w :w!<cr>
+nnoremap <Leader>w :update<cr>
nnoremap <Leader>q :q!<cr>
nnoremap <Leader>d :bd!<cr>
nnoremap <Leader>n :tabnew<cr>