" take me to your leader! "====================================================================== let g:mapleader = "," let g:maplocalleader = "," " open new vertical split and change to split nnoremap \ vl nnoremap - sj " Adjust viewports/splits to equal widths/heights nnoremap = = " open a new split and edit the vimrc // easy sourcing vimrc nnoremap ve vl :e ~/.vimrc nnoremap vs :source ~/.vimrc " Opens an edit command with the path of the currently edited file filled in nnoremap o :e =expand("%:p:h") . "/" " Yank to clipboard with clipper -- see https://github.com/wincent/clipper nnoremap y :call system('nc localhost 8377', @0) " Find merge conflict markers nnoremap g /\v^[<\|=>]{7}( .*\|$) " paste keeping indentation nnoremap p p`[v`]=