-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
51 lines (40 loc) · 930 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
43
44
45
46
47
48
49
50
51
set autochdir
set cursorline
syntax on
set number
let g:jellybeans_overrides = {
\ 'background': { 'ctermbg': 'none', '256ctermbg': 'none' },
\}
if has('termguicolors') && &termguicolors
let g:jellybeans_overrides['background']['guibg'] = 'none'
endif
set t_Co=256
if $VIM_ENVIRONMENT == "production"
colorscheme blade_runner
else
colorscheme jellybeans
endif
noremap <C-w>b :ls<CR>:buffer
noremap <C-w>t :tabnew
noremap <C-w>e :e
noremap <C-w>x :%!xxd<CR>
noremap <C-w>X :%!xxd -r<CR>
noremap <C-w>m :!man ./%<CR>
set tabstop=4
set shiftwidth=4
set autoindent
set smartindent
if has('gui_running')
noremap <C-w>t :browse tabnew<CR>
noremap <C-w>e :browse e<CR>
noremap <M-Left> :tabprev<CR>
noremap <M-Right> :tabnext<CR>
set guifont=Liberation\ Mono\ 9
set go=aegit
set guitablabel=%t%(\ %M%)
set guiheadroom=0
endif
set wildmenu
set wildmode=list:longest,full
set mouse=a
set listchars=tab:>-,trail:-