X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/58b04a471e1a534709b43e60fe3c3519290218e2..7d88e965269abe33c555b10e1dc25acabff6e1f2:/vim/.vimrc?ds=inline diff --git a/vim/.vimrc b/vim/.vimrc index 30a982c..3a8523d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -21,6 +21,7 @@ Plug 'tpope/vim-surround' Plug 'rust-lang/rust.vim' Plug 'phildawes/racer' Plug 'whatyouhide/vim-gotham' +"Plug 'tpope/vim-repeat' | Plug 'svermeulen/vim-easyclip' call plug#end() @@ -120,8 +121,8 @@ function! StripWhitespace() call setreg('/', old_query) endfunction noremap ss :call StripWhitespace() -" Save a file as root (,W) -noremap W :w !sudo tee % > /dev/null +" Save a file as root (,w) +noremap w :w !sudo tee % > /dev/null " Automatic commands if has("autocmd") @@ -244,3 +245,6 @@ let g:Tex_DefaultTargetFormat = "pdf" set hidden let g:racer_cmd = "racer" let $RUST_SRC_PATH=expand('~/misc/rs/rust/src/') + +noremap \ :q +