Mercurial > ec-dotfiles
changeset 33:330587be514c
Better vim support.
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Sun, 27 Mar 2011 11:32:08 +0000 |
parents | 2cf5492ac78d |
children | a914a2168196 |
files | tcsh vim |
diffstat | 2 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tcsh Tue Mar 08 15:28:31 2011 +0700 +++ b/tcsh Sun Mar 27 11:32:08 2011 +0000 @@ -91,6 +91,6 @@ endsw unset gnuls_opts -( which vim ) > /dev/null && alias vi vim +( which vim ) > /dev/null && alias vi vim && setenv EDITOR vim [ -e "${HOME}/.tcsh_init.after" ] && source "${HOME}/.tcsh_init.after"
--- a/vim Tue Mar 08 15:28:31 2011 +0700 +++ b/vim Sun Mar 27 11:32:08 2011 +0000 @@ -14,3 +14,15 @@ set ts=2 set expandtab set title + +map <C-t><up> :tabr<cr> +map <C-t><down> :tabl<cr> +map <C-t><left> :tabp<cr> +map <C-t><right> :tabn<cr> +map <C-t><C-t> :NERDTreeToggle<cr> +map <C-t><C-m> :NERDTreeMirror<cr> +map <C-t><C-n> :NERDTree<cr> + +"autocmd VimEnter * NERDTree +"autocmd BufEnter * NERDTreeMirror +