f0175ad134fd
vim: moar
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 07 Oct 2010 11:46:45 -0400 |
parents | 3266fc9a731d |
children | 85db8aa3c1cc 6b4b61ea3d1d |
branches/tags | (none) |
files | vim/.vimrc |
Changes
--- a/vim/.vimrc Wed Oct 06 22:02:01 2010 -0400 +++ b/vim/.vimrc Thu Oct 07 11:46:45 2010 -0400 @@ -201,6 +201,9 @@ " Scratch nmap <leader><tab> :Sscratch<cr><C-W>x<C-j>:resize 15<cr> +" Make selecting inside an HTML tag less dumb +nnoremap Vit vitVkoj + " Diff nmap <leader>d :!hg diff %<cr> @@ -256,11 +259,17 @@ " Tags! let Tlist_Ctags_Cmd = "/usr/local/bin/ctags" let Tlist_WinWidth = 50 +let Tlist_Show_One_File = 1 map <F4> :TlistToggle<cr> map <leader>T :!/usr/local/bin/ctags --exclude='**/ckeditor' -R . $(test -f .venv && echo ~/lib/virtualenvs/`cat .venv`)<CR> " Rope source $HOME/.vim/sadness/ropevim/rope.vim +let ropevim_enable_shortcuts = 0 +let ropevim_guess_project = 1 +noremap <leader>rr :RopeRename<CR> +vnoremap <leader>rm :RopeExtractMethod<CR> +noremap <leader>roi :RopeOrganizeImports<CR> if has('gui_running') set guifont=Menlo:h12