summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-03 13:58:10 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-03 13:59:24 -0400
commitbf541bd57f8d111b65464b2ffe33455b93a2bd44 (patch)
tree2b58038ba9d594eb8696000f9408f30dbdfc0827
parentd720ba1b3e42bc23dbf11362e687a567c0280d27 (diff)
downloadconf-bf541bd57f8d111b65464b2ffe33455b93a2bd44.tar.gz
conf-bf541bd57f8d111b65464b2ffe33455b93a2bd44.zip
use T in vim for the same thing it's used for in pentadactyl
-rw-r--r--vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 4899bcd..7779892 100644
--- a/vimrc
+++ b/vimrc
@@ -629,6 +629,8 @@ nmap <Bar> \
" Miscellaneous {{{
" have Y behave analogously to D rather than to dd
nnoremap Y y$
+
+autocmd BufEnter * exe "nnoremap T :e " . expand('%')
" }}}
" }}}
" Plugin settings {{{
@@ -744,7 +746,6 @@ endfunction
nnoremap <silent>t :Unite -silent -profile-name=with_dir buffer file_rec/async<CR>
nnoremap <silent>f :Unite -silent buffer file<CR>
nnoremap <silent>& :Unite -silent grep:.<CR>
-nnoremap <silent>T :Unite -silent tag<CR>
" }}}
" vimfiler {{{
let g:vimfiler_data_directory = '~/.vim/data/vimfiler'