Bring back crosshairs
This commit is contained in:
parent
55dbf9591d
commit
e090f64788
1 changed files with 23 additions and 2 deletions
25
vim/.vimrc
25
vim/.vimrc
|
@ -96,8 +96,8 @@ vnoremap > >gv
|
||||||
vnoremap < <gv
|
vnoremap < <gv
|
||||||
|
|
||||||
" typo-city
|
" typo-city
|
||||||
:command W w
|
command W w
|
||||||
:command Wq wq
|
command Wq wq
|
||||||
|
|
||||||
" quick replaceement
|
" quick replaceement
|
||||||
nmap S :%s//g<LEFT><LEFT>
|
nmap S :%s//g<LEFT><LEFT>
|
||||||
|
@ -141,6 +141,27 @@ function! ChangeBackground()
|
||||||
endfunction
|
endfunction
|
||||||
call ChangeBackground()
|
call ChangeBackground()
|
||||||
|
|
||||||
|
" Targetting!
|
||||||
|
augroup Reticle
|
||||||
|
au!
|
||||||
|
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
|
||||||
|
au WinLeave * setlocal nocursorline
|
||||||
|
au VimEnter,WinEnter,BufWinEnter * setlocal cursorcolumn
|
||||||
|
au WinLeave * setlocal nocursorcolumn
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
" crosshair
|
||||||
|
set cursorline
|
||||||
|
set cursorcolumn
|
||||||
|
|
||||||
|
" crosshair
|
||||||
|
set cursorline
|
||||||
|
set cursorcolumn
|
||||||
|
|
||||||
|
" crosshair
|
||||||
|
set cursorline
|
||||||
|
set cursorcolumn
|
||||||
|
|
||||||
" PLUGIN CONFIGURATION
|
" PLUGIN CONFIGURATION
|
||||||
" context.vim
|
" context.vim
|
||||||
let g:context_highlight_border = '<hide>'
|
let g:context_highlight_border = '<hide>'
|
||||||
|
|
Loading…
Reference in a new issue