Skip to content
Browse files

command-t

  • Loading branch information...
1 parent 37f179b commit d9914ce47a29317331f3e333ee1c69efcbbaddd5 @RJ committed Mar 25, 2011
Showing with 24 additions and 16 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 bundle/vimerl
  3. +20 −16 vimrc
View
3 .gitmodules
@@ -4,3 +4,6 @@
[submodule "bundle/command-t"]
path = bundle/command-t
url = git://git.wincent.com/command-t.git
+[submodule "bundle/vimerl"]
+ path = bundle/vimerl
+ url = https://github.com/oscarh/vimerl.git
1 bundle/vimerl
@@ -0,0 +1 @@
+Subproject commit f0d3aefe0c50f9116883d3a19fae9fd08258f109
View
36 vimrc
@@ -21,6 +21,7 @@ set showcmd
set hidden
set wildmenu
set wildmode=list:longest
+set wildignore+=*.beam,*.dump,*~,*.o,.git,*.png,*.jpg,*.gif
set visualbell
set cursorline
set ttyfast
@@ -142,6 +143,9 @@ map <F5> :!/usr/local/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q --exc
" Ack
map <leader>a :Ack
+" Command-T plugin
+map <leader>t :CommandT<cr>
+
" Yankring
nnoremap <silent> <F3> :YRShow<cr>
nnoremap <silent> <leader>y :YRShow<cr>
@@ -152,20 +156,20 @@ map <leader>q gqip
nmap <leader>m :make<cr>
" Google's JSLint
-nmap <silent> <leader>ff :QFix<cr>
-nmap <leader>fn :cn<cr>
-nmap <leader>fp :cp<cr>
-
-command -bang -nargs=? QFix call QFixToggle(<bang>0)
-function! QFixToggle(forced)
- if exists("g:qfix_win") && a:forced == 0
- cclose
- unlet g:qfix_win
- else
- copen 10
- let g:qfix_win = bufnr("$")
- endif
-endfunction
+"nmap <silent> <leader>ff :QFix<cr>
+"nmap <leader>fn :cn<cr>
+"nmap <leader>fp :cp<cr>
+"
+"command -bang -nargs=? QFix call QFixToggle(<bang>0)
+"function! QFixToggle(forced)
+" if exists("g:qfix_win") && a:forced == 0
+" cclose
+" unlet g:qfix_win
+" else
+" copen 10
+" let g:qfix_win = bufnr("$")
+" endif
+"endfunction
" TODO: Put this in filetype-specific files
@@ -234,8 +238,8 @@ if has('gui_running')
set go-=R
if has("gui_macvim")
- macmenu &File.New\ Tab key=<nop>
- map <leader>t <Plug>PeepOpen
+ "macmenu &File.New\ Tab key=<nop>
+ "map <leader>t <Plug>PeepOpen
end
let g:sparkupExecuteMapping = '<D-e>'

0 comments on commit d9914ce

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