projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bspwm,x] a few minor changes
[~bandali/configs]
/
vim
/
.vimrc
diff --git
a/vim/.vimrc
b/vim/.vimrc
index
30a982c
..
d3784f9
100644
(file)
--- 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 'rust-lang/rust.vim'
Plug 'phildawes/racer'
Plug 'whatyouhide/vim-gotham'
+"Plug 'tpope/vim-repeat' | Plug 'svermeulen/vim-easyclip'
call plug#end()
call plug#end()
@@
-120,8
+121,8
@@
function! StripWhitespace()
call setreg('/', old_query)
endfunction
noremap <leader>ss :call StripWhitespace()<CR>
call setreg('/', old_query)
endfunction
noremap <leader>ss :call StripWhitespace()<CR>
-" Save a file as root (,
W
)
-noremap <leader>
W
:w !sudo tee % > /dev/null<CR>
+" Save a file as root (,
w
)
+noremap <leader>
w
:w !sudo tee % > /dev/null<CR>
" Automatic commands
if has("autocmd")
" Automatic commands
if has("autocmd")
@@
-142,9
+143,9
@@
endif
":au FocusLost * :set number
":au FocusGained * :set relativenumber
":au FocusLost * :set number
":au FocusGained * :set relativenumber
-autocmd InsertEnter * :set number
-autocmd InsertEnter * :set norelativenumber
-autocmd InsertLeave * :set relativenumber
+
"
autocmd InsertEnter * :set number
+
"
autocmd InsertEnter * :set norelativenumber
+
"
autocmd InsertLeave * :set relativenumber
"autocmd InsertLeave * :set nonumber
" Rainbow Parantheses
"autocmd InsertLeave * :set nonumber
" Rainbow Parantheses
@@
-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/')
set hidden
let g:racer_cmd = "racer"
let $RUST_SRC_PATH=expand('~/misc/rs/rust/src/')
+
+noremap \ :q<CR>
+