Mercurial > public > dotfiles
comparison vim/.vimrc @ 22:4408beef769d
Vim updates for Mac environment.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 18 Dec 2014 21:07:52 -0600 |
parents | 083b3c7ae8c0 |
children | 7c2f7ee3f55e |
comparison
equal
deleted
inserted
replaced
21:083b3c7ae8c0 | 22:4408beef769d |
---|---|
111 nnoremap <leader>nr :set relativenumber<CR> | 111 nnoremap <leader>nr :set relativenumber<CR> |
112 | 112 |
113 " Format paragraph | 113 " Format paragraph |
114 nnoremap <leader>p gqip | 114 nnoremap <leader>p gqip |
115 | 115 |
116 " Actionscript support | |
117 let tlist_actionscript_settings = 'actionscript;c:class;f:method;p:property;v:variable' | |
118 au BufRead,BufNewFile *.mxml set ft=actionscript | |
119 | |
116 function BgnSwitchPart() | 120 function BgnSwitchPart() |
117 python << EOF | 121 python << EOF |
118 import vim, os.path, sys | 122 import vim, os.path, sys |
119 fname = vim.current.buffer.name | 123 fname = vim.current.buffer.name |
120 base, ext = os.path.splitext(fname) | 124 base, ext = os.path.splitext(fname) |