From 76a02687f62c57e2d8ecb10e8c118232fc3070c4 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 4 May 2015 20:39:36 +0100 Subject: modified leader maps --- vimrc | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/vimrc b/vimrc index 3072d86..16687f6 100644 --- a/vimrc +++ b/vimrc @@ -174,16 +174,24 @@ nnoremap tb :let &background = ( &background == "dark"? "light" : "dark" nnoremap sv :source ~/.vimrc nnoremap sc :source % +" Plugin Management +nnoremap pi :PluginUpdate +nnoremap pu :PluginUpdate +nnoremap pc :PluginClean + " File edits -nnoremap es :UltiSnipsEdit -nnoremap ev :e ~/.vimrc -nnoremap ez :e ~/.zshrc +nnoremap es :UltiSnipsEdit +nnoremap ev :e ~/.vimrc +nnoremap ez :e ~/.zshrc +nnoremap et :e ~/.tmux.conf + +" Formatting +nnoremap fw :%s/\s\+$// +nnoremap fi zzmxgg=G'x " Misc -nnoremap w :w +nnoremap :w nnoremap q :bd! -nnoremap i zzmxgg=G'x -nnoremap sw :%s/\s\+$// nnoremap nnoremap h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp, -- cgit v1.2.3