forked from blocktator/myvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
42 lines (30 loc) · 737 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
" Change <Leader>
let mapleader = ","
" Set temporary directory (don't litter local dir with swp/tmp files)
set directory=/tmp/
if !has("gui_running")
set term=xterm
endif
" Explicitly set 256 color support
set t_Co=256
colorscheme ekvoli
set number
filetype plugin indent on
" Tab navigation
nmap <leader>tn :tabnext<CR>
nmap <leader>tp :tabprevious<CR>
nmap <leader>te :tabedit
" External Buffers
map ;y "+y
map ;p "+P
" Special Mapping to Leave Insert Mode
" See http://vim.wikia.com/wiki/Avoid_the_escape_key
imap ;; <Esc>
" Shortcuts
nmap <leader>glp :GitLog -p<CR>
" Additional Configs
runtime! configs/nerdtree.vim
runtime! configs/shell.vim
runtime! configs/statusline.vim
runtime! configs/search.vim
set nocp