-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
46 lines (35 loc) · 1.25 KB
/
.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
set noshowmode
syntax enable " enable syntax processing
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set expandtab " tabs are spaces
set showcmd " show command in bottom bar
"set cursorline " highlight current line
filetype indent on " load filetype-specific indent files
set incsearch " search as characters are entered
set hlsearch " highlight matches
" move vertically by visual line
nnoremap j gj
nnoremap k gk
" move to beginning/end of line
nnoremap B ^
nnoremap E $
" $/^ doesn't do anything
nnoremap $ <nop>
nnoremap ^ <nop>
set backspace=indent,eol,start " more powerful backspacing
set wildignore=*.o,*~,*.pyc " Ignore compiled files
set cmdheight=2 " Height of the command bar
set showmatch " show matching brackets when text indicator is over them
set relativenumber " Show line numbers
set number " But show the actual number for the line we're on
filetype plugin indent on
" Spell check
" set spelllang=en_us
" set spell
set scrolloff=10 " Make it so there are always ten lines below my cursor
set autoindent
set cindent
set wrap
set hidden
set colorcolumn=88