Skip to content
Browse files

add tabbar

  • Loading branch information...
1 parent 134acec commit 6e64343723d64d58fc9c634d28e139c4e3518a7c @RJ committed Jul 26, 2011
Showing with 35 additions and 6 deletions.
  1. +7 −1 .gitmodules
  2. +1 −0 bundle/erlang-skel
  3. +1 −0 bundle/tabbar
  4. +1 −1 bundle/vimerl
  5. +25 −4 vimrc
View
8 .gitmodules
@@ -6,7 +6,7 @@
url = git://git.wincent.com/command-t.git
[submodule "bundle/vimerl"]
path = bundle/vimerl
- url = https://github.com/oscarh/vimerl.git
+ url = https://github.com/jimenezrick/vimerl.git
[submodule "bundle/supertab"]
path = bundle/supertab
url = https://github.com/ervandew/supertab.git
@@ -19,3 +19,9 @@
[submodule "bundle/git"]
path = bundle/git
url = https://github.com/motemen/git-vim.git
+[submodule "bundle/erlang-skel"]
+ path = bundle/erlang-skel
+ url = https://github.com/vim-scripts/vim-erlang-skeleteons.git
+[submodule "bundle/tabbar"]
+ path = bundle/tabbar
+ url = https://github.com/vim-scripts/TabBar.git
1 bundle/erlang-skel
@@ -0,0 +1 @@
+Subproject commit 4f86fce1fb33d7208457ae4726ff0d6b3e4d2b78
1 bundle/tabbar
@@ -0,0 +1 @@
+Subproject commit c5a9f41c45959e5573ff4723f56a0dfbd4845308
2 bundle/vimerl
@@ -1 +1 @@
-Subproject commit f0d3aefe0c50f9116883d3a19fae9fd08258f109
+Subproject commit 4f4e616683f7a09b0600fe280ec623283d887ad2
View
29 vimrc
@@ -10,6 +10,9 @@ filetype plugin indent on
set nocompatible
set modelines=0
+" Full screen on macvim should fully maxed out
+set fuopt=maxvert,maxhorz
+
" Tabs/spaces
set tabstop=4
set shiftwidth=4
@@ -75,7 +78,7 @@ colorscheme delek
" NERD Tree
map <F2> :NERDTreeToggle<cr>
-let NERDTreeIgnore=['.*\.beam$', '.*\.dump$', '.*~$', '\..*$']
+let NERDTreeIgnore=['\.beam$', '\.dump$', '\~$', '^\.']
" Nazi-mode
"nnoremap <up> <nop>
@@ -93,6 +96,7 @@ map <A-up> gk
imap <A-down> <ESC>gji
imap <A-up> <ESC>gki
+
" Scroll-lock-to-centre toggle
map <leader>zz :let &scrolloff=999-&scrolloff<cr>
@@ -107,9 +111,11 @@ map <C-l> <C-w>l
map <leader>w <C-w>v<C-w>l
" tripple escape closes buffer
-map <esc><esc><esc> :q<cr>
-imap <esc><esc><esc> :q<cr>
+map <esc><esc><esc> :bd<cr>
+imap <esc><esc><esc> :bd<cr>
+" toggle comments
+map <leader>c V:!perl -nle 'if (/^\%\% /) { s/^\%\% (.*)/$1/g; print } else {print "\%\% ".$_}'<cr>
" Max/unmax splits
nnoremap <c -W>O :call MaximizeToggle ()<cr>
@@ -132,8 +138,19 @@ function! MaximizeToggle()
endif
endfunction
+let g:erl_author="RJ"
+let g:erl_company="IRCCloud Ltd."
+let g:erl_replace_buffer=1
+let g:erl_tpl_dir="/Users/rj/.vim/bundle/erlang-skel/plugin/templates/"
+
+let g:erlangCompleteFile="~/.vim/bundle/vimerl/autoload/erlang_complete.erl"
+let g:erlangCheckFile="~/.vim/bundle/vimerl/compiler/erlang_check.erl"
+let g:erlangManPath="/usr/local/Cellar/erlang/R14B02/share/man/"
+
+
+
" Folding TODO: configure for erlang
-set foldlevelstart=0
+set foldlevelstart=1
nnoremap <Space> za
vnoremap <Space> za
au BufNewFile,BufRead *.html map <leader>ft Vatzf
@@ -194,6 +211,10 @@ map <leader>a :Ack
" Command-T plugin
map <leader>t :CommandT<cr>
+let CommandTMaxHeight=0
+"set CommandTMatchWindowAtTop=1
+"set CommandTAcceptSelectionSplitMap='s'
+"set CommandTAcceptSelectionVSplitMap='v'
" Yankring
nnoremap <silent> <F3> :YRShow<cr>

0 comments on commit 6e64343

Please sign in to comment.
Something went wrong with that request. Please try again.