Permalink
Browse files

added plugin: taglist; vimrc additions

  • Loading branch information...
1 parent 644f150 commit c19ee9bd8b621cd6edd6fa5471086b95ac16a3e4 @ryz committed Oct 25, 2011
Showing with 27 additions and 3 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 bundle/taglist
  3. +23 −3 vimrc
View
@@ -10,3 +10,6 @@
[submodule "bundle/nerdcommenter"]
path = bundle/nerdcommenter
url = git://github.com/scrooloose/nerdcommenter.git
+[submodule "bundle/taglist"]
+ path = bundle/taglist
+ url = git://github.com/vim-scripts/taglist.vim.git
Submodule taglist added at 53041f
View
26 vimrc
@@ -123,25 +123,36 @@ set shiftwidth=4 " number of spaces for indent (>>, <<, ...)
" plugin-stuff {{{
" ----------------------
-
+" SuperTab related
let g:SuperTabDefaultCompletionType = "context"
+" TagList related
+let Tlist_Use_Right_Window = 1
+
" }}}
" key bindings {{{
" ------------
+" unmap cursor/arrow keys for navigation (to help me sticking to hjkl)
+inoremap <Up> <NOP>
+inoremap <Down> <NOP>
+inoremap <Left> <NOP>
+inoremap <Right> <NOP>
+noremap <Up> <NOP>
+noremap <Down> <NOP>
+noremap <Left> <NOP>
+noremap <Right> <NOP>
+
" remap leader key to , (useful for plugins like NERDCommenter)
let mapleader=","
-
"" .vimrc related stuff
" open new tab and edit $MYVIMRC
map <F9> :tabnew<CR>:e $MYVIMRC<CR>
" SOURCE current file
-,
map <F10> :so %<CR>
" time and date via F3
@@ -156,10 +167,19 @@ map <S-l> gt
map tn :tabnew<CR>
map td :tabclose<CR>
+"" executing/compiling files
+" execute current file
map <F5> :!%<CR>
+" compile current TeX file with 'pdflatex' (needs MiKTeX)
+map <F6> :!pdflatex % &<CR>
+
" programming
+" toggle NERDTree and TagList via F-keys
+map <F7> :NERDTreeToggle<CR>
+map <F8> :TlistToggle<CR>
+
" auto-insert opening and closing characters
" imap <C-F> {<CR>}<C-O>O " deprecated alternative

0 comments on commit c19ee9b

Please sign in to comment.