-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
49 lines (35 loc) · 778 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
" Ignore vi compatibility
set nocompatible
filetype plugin on
" Basic look&feel
set background=dark
set t_Co=256
let g:solarized_termcolors=256
" Show filename
set title
" Don't wrap lines
set nowrap
" Show line numbers
set number
" Always show status line
set ls=2
" Allow crosshair cursor highlighting.
hi CursorLine cterm=NONE ctermbg=0
hi CursorColumn cterm=NONE ctermbg=0
set cursorline
set cursorcolumn
" Allow <leader key>c to toggle cursor crosshair
nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
" Searching
set ignorecase
set smartcase
set wrapscan
" Basic autocomplete e.g. filenames
set wildmenu
set wildmode=list:longest,full
" Redraw less, e.g. macros
set lazyredraw
" Highlight matching [({})]
set showmatch
" Show editor mode
set showmode