# HG changeset patch # User Brian Neal # Date 1418958472 21600 # Node ID 4408beef769d1adb4a0ea41d44f3b3ba1affeca6 # Parent 083b3c7ae8c0a2791651d8a066d2fdd7b469ce14 Vim updates for Mac environment. diff -r 083b3c7ae8c0 -r 4408beef769d .hgignore --- a/.hgignore Thu Dec 18 20:24:45 2014 -0600 +++ b/.hgignore Thu Dec 18 21:07:52 2014 -0600 @@ -2,5 +2,6 @@ vim/vimfiles/.netrwhist vim/vimfiles/bundle/ctrlp.vim/ +vim/vimfiles/bundle/vim-actionscript/ *.swp *.pyc diff -r 083b3c7ae8c0 -r 4408beef769d vim/.vimrc --- a/vim/.vimrc Thu Dec 18 20:24:45 2014 -0600 +++ b/vim/.vimrc Thu Dec 18 21:07:52 2014 -0600 @@ -113,6 +113,10 @@ " Format paragraph nnoremap p gqip +" Actionscript support +let tlist_actionscript_settings = 'actionscript;c:class;f:method;p:property;v:variable' +au BufRead,BufNewFile *.mxml set ft=actionscript + function BgnSwitchPart() python << EOF import vim, os.path, sys diff -r 083b3c7ae8c0 -r 4408beef769d vim/vimfiles/after/ftplugin/actionscript.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/vimfiles/after/ftplugin/actionscript.vim Thu Dec 18 21:07:52 2014 -0600 @@ -0,0 +1,4 @@ +setlocal tabstop=3 +setlocal softtabstop=3 +setlocal shiftwidth=3 +setlocal noexpandtab diff -r 083b3c7ae8c0 -r 4408beef769d vim/vimfiles/bundle/README.txt --- a/vim/vimfiles/bundle/README.txt Thu Dec 18 20:24:45 2014 -0600 +++ b/vim/vimfiles/bundle/README.txt Thu Dec 18 21:07:52 2014 -0600 @@ -1,3 +1,6 @@ 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