summaryrefslogtreecommitdiffstats
path: root/.exrc
blob: 9cdfbae2fe4e94c8207e05a5a80d595a935c3d7c (plain)
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
if &cp | set nocp | endif
nmap   :
let s:cpo_save=&cpo
set cpo&vim
vmap gx <Plug>NetrwBrowseXVis
nmap gx <Plug>NetrwBrowseX
vnoremap <silent> <Plug>NetrwBrowseXVis :call netrw#BrowseXVis()
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))
nmap <Left> h
nmap <Right> l
nmap <Down> j
nmap <Up> k
nmap <F1> :echo "F1 - print function key keybinds (normal mode) \nF2 - !t \nF5 - make \nF6 - make clean \nF7 - set make directory \nF9 - git status \nF10 - git diff"<NL>
nmap <F7> :set makeprg=make\ -C
nmap <F6> :make clean<NL>
nmap <F5> :wa<NL>:make -j4<NL>
nmap <F10> :!git diff<NL>
nmap <F9> :!git status<NL>
nmap <F2> :!t<NL>
let &cpo=s:cpo_save
unlet s:cpo_save
set background=dark
set backspace=indent,eol,start
set cindent
set fileencodings=ucs-bom,utf-8,default,latin1
set helplang=en
set makeprg=make\ -C/tmp/a
set nomodeline
set mouse=a
set omnifunc=syntaxcomplete
set printoptions=paper:letter
set ruler
set showtabline=0
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
set tabline=%{g:tabline}
set tagcase=ignore
" vim: set ft=vim :