changeset 25:732ed3539b7a

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.
author Brian Neal <bgneal@gmail.com>
date Fri, 31 Jul 2015 15:39:23 -0500
parents f5af5e32dcdc
children d17e9bd25f68 aa1019ab89b4
files .hgignore vim/.vimrc vim/vimfiles/README-bundle.txt vim/vimfiles/after/ftplugin/dart.vim vim/vimfiles/after/ftplugin/groovy.vim vim/vimfiles/bundle/README.txt
diffstat 6 files changed, 44 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 <leader>s :call BgnSwitchPart()<CR>
+nmap <silent> <Leader>e :Explore<CR>
 
 " Pathogen support
 call pathogen#infect()
--- /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
--- /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
--- /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
--- 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