summaryrefslogtreecommitdiffstats
path: root/.exrc
diff options
context:
space:
mode:
Diffstat (limited to '.exrc')
-rw-r--r--.exrc37
1 files changed, 37 insertions, 0 deletions
diff --git a/.exrc b/.exrc
new file mode 100644
index 0000000..9cdfbae
--- /dev/null
+++ b/.exrc
@@ -0,0 +1,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 :