Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ctags, completion experiments, bundle updates

  • Loading branch information...
commit 560ebdc142eb3ce03a53ba081d2b5391a0b2f7fa 1 parent aae6d60
@imajes authored
2  bundle/fugitive
@@ -1 +1 @@
-Subproject commit 3b278277e0b46711c30a3d1a0083e527b2fb98ed
+Subproject commit 9ebff45853affc71f821551bf22782f8d6a04f1e
2  bundle/gist-vim
@@ -1 +1 @@
-Subproject commit a2e317a2ef97fe539d56287725a1a54b62ca05ba
+Subproject commit f45d9383c6286250f910043573a976889a6798db
2  bundle/markdown
@@ -1 +1 @@
-Subproject commit 9a21f7a6bc7d5b5cd7a2e78b7893798a67526be8
+Subproject commit 7b747d0aa4f2ff2239983c05bb4f18ea6e760770
2  bundle/nerdtree
@@ -1 +1 @@
-Subproject commit dbeb1947ea986d7cda460f12962cdef5196ef87d
+Subproject commit a1433c485eb254838c1db52e087d5ec4d1e77cfd
2  bundle/rails
@@ -1 +1 @@
-Subproject commit 4eca304a673396eb41106464a9b1c6f37fe1aea9
+Subproject commit 1ef4da7a162cbeeb69a9578639dd664b6cca7433
2  bundle/syntastic
@@ -1 +1 @@
-Subproject commit 25e81cbe5dd27c6725a2f9733551d449841eea72
+Subproject commit 7b3b63e6df60733382047086eb26b2cc59b3a239
2  bundle/tcomment
@@ -1 +1 @@
-Subproject commit ec0ae34e981627e05f6441c77b4e0aa3e8cc99ff
+Subproject commit 4d55a4b55666a5846956655e1a1ca30004702b06
View
8 rc.d/customizations.vim
@@ -26,6 +26,14 @@ au FocusLost * silent! :wa
let g:xml_syntax_folding=1
au FileType xml setlocal foldmethod=syntax
+" completions, from http://robots.thoughtbot.com/post/27041742805/vim-you-complete-me
+set complete=.,b,u,]
+set wildmode=longest,list:longest
+set completeopt=menu,preview
+
+" lets also run ctags every time we lose focus, as we want to keep this file current
+au FocusLost * silent! :!/usr/local/bin/ctags -a -f .tags --exclude=.git --exclude=log -R * --extra=+f --langmap='ruby:+.rake.builder.haml'
+
if has("gui_running")
set guioptions=egmrt
" undo history
View
6 rc.d/mappings.vim
@@ -1,14 +1,16 @@
" Section: Mappings
" ----------------------
-nmap <silent> <Leader>g :!/usr/local/bin/ctags -R --languages=Ruby,C,C++ -f .tags --langmap='ruby:+.rake.builder.haml'<CR>
+nmap <silent> <Leader>g :!/usr/local/bin/ctags -f .tags --exclude=.git --exclude=log -R * `rvm gemdir`/gems/* --extra=+f --langmap='ruby:+.rake.builder.haml'<CR><CR>
map Y y$
" Don't use Ex mode; use Q for formatting
map Q gqj
+
if exists(":nohls")
nnoremap <silent> <C-L> :nohls<CR><C-L>
endif
+
inoremap <C-C> <Esc>`^
nnoremap zS r<CR>ddkP=j
@@ -88,7 +90,7 @@ map <C-F4> :bdelete<CR>
noremap <S-Insert> <MiddleMouse>
noremap! <S-Insert> <MiddleMouse>
-map \\ <Plug>NERDCommenterInvert
+"map \\ <Plug>NERDCommenterInvert
map <Leader>l <Plug>CapsLockToggle
imap <C-L> <Plug>CapsLockToggle
imap <C-G>c <Plug>CapsLockToggle
Please sign in to comment.
Something went wrong with that request. Please try again.