-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
39 lines (30 loc) · 748 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
execute pathogen#infect()
syntax on
filetype plugin indent on
syntax enable
set hidden
set background=dark
colorscheme solarized
"Specifies how many columns a tab or \t counts for.
set tabstop=4
"Specifies hoe many columns to shift
"when during auto indent and >>
set shiftwidth=2
let mapleader = ","
imap jk <Esc>
""fuzzy finder
"map <leader>f :FufFile **/<CR>
"map <leader>F :FufFile <CR>
"map <leader>b :FufBuffer <CR>
"vim file editing and reloading
map <leader>ev :e ~/.vimrc<CR>
map <leader>sv :source ~/.vimrc<CR>
"file closing, saving,
map <leader>w :w<CR>
map <leader>q :q!<CR>
map <leader>s :wq<CR>
map <leader>d :bd<CR>
"togglepaste
set pastetoggle=<C-k>
"Refresh snipmate snippets
map <leader>sr :call ReloadAllSnippets()<CR>