Add ctags support
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
--langdef=CoffeeScript
|
||||
--langmap=CoffeeScript:.coffee
|
||||
--regex-CoffeeScript=/(^|=[ \t])*class ([A-Za-z.]+)( extends [A-Za-z.]+)?$/\2/c,class/
|
||||
--regex-CoffeeScript=/^[ \t]*@?([A-Za-z.]+):.*[-=]>.*$/\1/f,function/
|
||||
--regex-CoffeeScript=/^[ \t]*([A-Za-z.]+)[ \t]+=.*[-=]>.*$/\1/f,function/
|
||||
--regex-CoffeeScript=/^[ \t]*([A-Za-z.]+)[ \t]+=[^-=>\n]*$/\1/v,variable/
|
||||
+16
-10
@@ -73,7 +73,7 @@ autocmd BufWritePre * %s/\s\+$//e
|
||||
|
||||
" ctrlpvim/ctrlp.vim
|
||||
let g:ctrlp_working_path_mode = 0
|
||||
let g:ctrlp_regexp = 1
|
||||
let g:ctrlp_regexp = 0
|
||||
if executable('ag')
|
||||
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
|
||||
let g:ctrlp_use_caching = 0
|
||||
@@ -93,18 +93,24 @@ let g:indent_guides_enable_on_vim_startup = 0 " :IndentGuidesToggle
|
||||
|
||||
" Key Mappings #########################################################################################################
|
||||
|
||||
map <F1> :NERDTreeToggle<CR>
|
||||
map <F2> :NERDTreeFind<CR>
|
||||
map <F3> :'a,.!sort<CR>
|
||||
map <F4> :IndentGuidesToggle<CR>
|
||||
map <F5> :e<CR>
|
||||
map <F6> :set hlsearch!<CR>
|
||||
map <F7> :cp<CR>
|
||||
map <F8> :copen<CR>
|
||||
map <F9> :cn<CR>
|
||||
map <F1> :NERDTreeToggle<CR>
|
||||
map <F2> :NERDTreeFind<CR>
|
||||
map <F3> :'a,.!sort<CR>
|
||||
map <F4> :IndentGuidesToggle<CR>
|
||||
map <F5> :e<CR>
|
||||
map <F6> :set hlsearch!<CR>
|
||||
map <F7> :cp<CR>
|
||||
map <F8> :copen<CR>
|
||||
map <F9> :cn<CR>
|
||||
map <F10> :tselect<CR>
|
||||
map <F11> :!ctags -R src test<CR>
|
||||
|
||||
" Local Overrides ######################################################################################################
|
||||
|
||||
if !empty(glob("$HOME/.vimrc.local"))
|
||||
source $HOME/.vimrc.local
|
||||
endif
|
||||
|
||||
" File-Type Specific Settings ##########################################################################################
|
||||
|
||||
autocmd BufRead COMMIT_EDITMSG set textwidth=70 colorcolumn=70
|
||||
|
||||
@@ -26,6 +26,7 @@ brew update
|
||||
|
||||
echo; echo; echo "Installing standard brew packages..."
|
||||
brew install ag
|
||||
brew install ctags
|
||||
brew install fswatch
|
||||
brew install macvim
|
||||
brew install node
|
||||
|
||||
Reference in New Issue
Block a user