forked from carlhuda/janus
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcustom-linux.vim
More file actions
32 lines (24 loc) · 736 Bytes
/
Copy pathcustom-linux.vim
File metadata and controls
32 lines (24 loc) · 736 Bytes
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
if has("gui")
set guifont=Bitstream\ Vera\ Sans\ Mono\ 11
colorscheme molokai
endif
"Terminal color goodness
set t_Co=256
"Fix mouse stuff in xterm
set ttymouse=xterm2
set mouse=a
"Setup ack
set grepprg=ack-grep\ -a
nnoremap <Silent> <C-s> :w<CR>
inoremap <Silent> <C-s> <Esc>:w<CR>a
nnoremap <Silent> <C-w> :q<CR>
inoremap <Silent> <C-w> <Esc>:q<CR>
"switching between windows
inoremap <silent> <A-Left> <Esc>:wincmd h<cr>
nnoremap <silent> <A-Left> :wincmd h<cr>
inoremap <silent> <A-Right> <Esc>:wincmd l<cr>
nnoremap <silent> <A-Right> :wincmd l<cr>
inoremap <silent> <A-Up> <Esc>:wincmd k<cr>
nnoremap <silent> <A-Up> :wincmd k<cr>
inoremap <silent> <A-Down> <Esc>:wincmd j<cr>
nnoremap <silent> <A-Down> :wincmd j<cr>