Create 'cross-hairs' in vim

This commit is contained in:
Andrew Tomaka 2013-07-24 23:06:54 -04:00
parent 0a66e16a83
commit b3a6307c2d

3
.vimrc
View file

@ -26,6 +26,7 @@ set laststatus=2 " Always show status line
set showmode " Show current mode set showmode " Show current mode
set history=100 " History length set history=100 " History length
set cursorline " Highlight current line set cursorline " Highlight current line
set cursorcolumn " Highlight current column
set nowrap " Disable wrapping by default set nowrap " Disable wrapping by default
set backspace=2 " Backspace over indent, eol, start of insert set backspace=2 " Backspace over indent, eol, start of insert
set hlsearch " Search highlights set hlsearch " Search highlights
@ -78,6 +79,7 @@ set guifont=Ubuntu\ Mono\ 10
colorscheme vividchalk colorscheme vividchalk
hi CursorLine cterm=NONE ctermbg=234 hi CursorLine cterm=NONE ctermbg=234
hi CursorColumn cterm=NONE ctermbg=234
hi StatusLine ctermfg=white ctermbg=236 hi StatusLine ctermfg=white ctermbg=236
hi SignColumn ctermbg=black hi SignColumn ctermbg=black
hi ColorColumn ctermbg=234 hi ColorColumn ctermbg=234
@ -93,4 +95,5 @@ function! LargeFileToggle()
set relativenumber set relativenumber
endif endif
set cursorline! set cursorline!
set cursorcolumn!
endfunction endfunction