# HG changeset patch # User Brian Neal # Date 1438375163 18000 # Node ID 732ed3539b7a1160bc63dfcebda679f157177677 # Parent f5af5e32dcdc17f9848221425029e38511b9de59 Workiva Vim updates. Local settings for Dart and Groovy. .vimrc tweaks for recent work and plugins. Moved readme for bundle up a level so we can .hgignore the entire directory. Update readme for bundle directory for plugins I started using. diff -r f5af5e32dcdc -r 732ed3539b7a .hgignore --- a/.hgignore Fri Jan 09 11:35:06 2015 -0600 +++ b/.hgignore Fri Jul 31 15:39:23 2015 -0500 @@ -1,7 +1,6 @@ syntax: glob vim/vimfiles/.netrwhist -vim/vimfiles/bundle/ctrlp.vim/ -vim/vimfiles/bundle/vim-actionscript/ +vim/vimfiles/bundle/ *.swp *.pyc diff -r f5af5e32dcdc -r 732ed3539b7a vim/.vimrc --- a/vim/.vimrc Fri Jan 09 11:35:06 2015 -0600 +++ b/vim/.vimrc Fri Jul 31 15:39:23 2015 -0500 @@ -18,7 +18,7 @@ " CtrlP related settings set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*.o,*.swp,*.pyc let g:ctrlp_working_path_mode = 'ra' -let g:ctrlp_max_files = 20000 +let g:ctrlp_max_files = 30000 " This allows % to toggle on if/elsif/else/end, XML tags, & more runtime macros/matchit.vim @@ -36,6 +36,10 @@ let g:netrw_sort_sequence = "[\/]$,*,\.bak$,\.o$,\.info$,\.swp$,\.obj$" +if has('vim_starting') + set runtimepath+=~/.vim/bundle/dart-vim-plugin +endif + syntax on filetype on filetype plugin on @@ -145,6 +149,7 @@ endfunction nnoremap s :call BgnSwitchPart() +nmap e :Explore " Pathogen support call pathogen#infect() diff -r f5af5e32dcdc -r 732ed3539b7a vim/vimfiles/README-bundle.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/vimfiles/README-bundle.txt Fri Jul 31 15:39:23 2015 -0500 @@ -0,0 +1,30 @@ +Prerequisites +------------- + + $ cd ~/.vim/bundle + +ctrlp +----- + + $ hg clone https://bitbucket.org/kien/ctrlp.vim ctrlp.vim + :helptags ~/.vim/bundle/ctrlp.vim/doc + +dart-vim-plugin +--------------- + + $ git clone https://github.com/dart-lang/dart-vim-plugin + +vim-actionscript +---------------- + + $ git clone git@github.com:jeroenbourgois/vim-actionscript.git + +vim-javascript +-------------- + + $ git clone https://github.com/pangloss/vim-javascript.git + +vim-jsx +------- + + $ git clone https://github.com/mxw/vim-jsx.git diff -r f5af5e32dcdc -r 732ed3539b7a vim/vimfiles/after/ftplugin/dart.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/vimfiles/after/ftplugin/dart.vim Fri Jul 31 15:39:23 2015 -0500 @@ -0,0 +1,3 @@ +setlocal sw=2 +setlocal ts=2 +setlocal tw=80 diff -r f5af5e32dcdc -r 732ed3539b7a vim/vimfiles/after/ftplugin/groovy.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/vimfiles/after/ftplugin/groovy.vim Fri Jul 31 15:39:23 2015 -0500 @@ -0,0 +1,4 @@ +setlocal tabstop=3 +setlocal softtabstop=3 +setlocal shiftwidth=3 +setlocal noexpandtab diff -r f5af5e32dcdc -r 732ed3539b7a vim/vimfiles/bundle/README.txt --- a/vim/vimfiles/bundle/README.txt Fri Jan 09 11:35:06 2015 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -ctrlp: - $ hg clone https://bitbucket.org/kien/ctrlp.vim ctrlp.vim - :helptags ~/.vim/bundle/ctrlp.vim/doc - -vim-actionscript: - $ git clone git@github.com:jeroenbourgois/vim-actionscript.git