-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
executable file
·51 lines (46 loc) · 1.11 KB
/
vimrc
File metadata and controls
executable file
·51 lines (46 loc) · 1.11 KB
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
execute pathogen#infect()
set nocompatible
syntax on
colorscheme solarized
filetype on
filetype plugin indent on
set t_ut= " Work around tmux messing with background colors
set background=light
set t_Co=256
set autoindent
set relativenumber
set hidden
set splitbelow
set splitright
set autoindent
set expandtab
set ts=2
set sw=2
set sts=2
set re=1
set undodir=~/.tmp/
set undofile
set undolevels=1000
set undoreload=10000
set backupdir=~/.tmp/
set directory=~/.tmp/
set backup
set noeb vb t_vb=
set laststatus=2
set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
set path=**
set wildchar=<Tab> wildmenu wildmode=full
let mapleader=","
let FZF_DEFAULT_COMMAND='ag --nocolor -g ""'
map <leader>n :e ~/notes<cr>
map <leader>t :Files<cr>
map <leader>g :GFiles?<cr>
map <leader>b :Buffers<cr>
map <leader>f :exec 'Ag' expand('<cword>')<cr>
map <leader>d :bd<cr>
map <leader>m :make<cr>
autocmd BufNewFile,BufRead notes set filetype=todo
autocmd BufNewFile,BufRead * set foldmethod=manual
autocmd BufNewFile,BufRead notes set foldmethod=syntax
autocmd Filetype todo nnoremap ,<tab> :.s/TODO/DONE/g<cr>
autocmd Filetype todo nnoremap <tab> za