forked from teleyinex/vim-dot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
65 lines (54 loc) · 1.11 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
call pathogen#infect()
call pathogen#helptags()
syntax on
filetype plugin indent on
set nocompatible
colorscheme molokai
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set encoding=utf-8
set scrolloff=3
set autoindent
set showmode
set showcmd
set hidden
set wildmenu
set wildmode=list:longest
set visualbell
set cursorline
set ttyfast
set ruler
set backspace=indent,eol,start
set laststatus=2
set relativenumber
set undofile
set wrap linebreak nolist
set textwidth=79
set formatoptions=qrn1
set colorcolumn=85
set list
set listchars=tab:▸\ ,eol:¬
"Invisible character colors
highlight NonText ctermfg=gray
highlight SpecialKey ctermfg=gray
let g:ackprg="ack-grep -H --nocolor --nogroup --column"
vmap <C-j> gj
vmap <C-k> gk
vmap <C-4> g$
vmap <C-6> g^
vmap <C-0> g^
nmap <C-j> gj
nmap <C-k> gk
nmap <C-4> g$
nmap <C-6> g^
nmap <C-0> g^
"Spell checking"¬
map <F6> <Esc>:setlocal spell spelllang=en_us<CR>
map <F7> <Esc>:setlocal nospell<CR>
map <F12> ]s
autocmd BufNewFile,BufRead test_*.py compiler nose
map <F8> :call MakeGreen(' --nosered % ')<CR>
"Git-Fugitive
set statusline=%{fugitive#statusline()}