From 26608e0eee13177c2798ad822d17fec547c0a59a Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 25 Aug 2014 02:38:28 -0400 Subject: [PATCH] Display tag information (if available) in the gutter area --- .gitmodules | 3 +++ vim/bundle/ttagecho_vim | 1 + vim/config/keyboard.vim | 11 ++++++++--- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 160000 vim/bundle/ttagecho_vim diff --git a/.gitmodules b/.gitmodules index bd56b42..7fc8846 100644 --- a/.gitmodules +++ b/.gitmodules @@ -97,3 +97,6 @@ [submodule "vim/bundle.pager/vim-markdown-concealed"] path = vim/bundle.pager/vim-markdown-concealed url = https://github.com/prurigro/vim-markdown-concealed +[submodule "vim/bundle/ttagecho_vim"] + path = vim/bundle/ttagecho_vim + url = https://github.com/tomtom/ttagecho_vim.git diff --git a/vim/bundle/ttagecho_vim b/vim/bundle/ttagecho_vim new file mode 160000 index 0000000..73cc43e --- /dev/null +++ b/vim/bundle/ttagecho_vim @@ -0,0 +1 @@ +Subproject commit 73cc43e1f973dbd57244d3ddcb5f9130e32ba4db diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 2d14003..5454f09 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -74,6 +74,7 @@ " " (toggles and features) " ` | (N) -> popup a command reference +" , | (N) -> display tag information in echo area " | (N) -> toggle the vim reference manual " ? | (N) -> toggle the vim reference manual " ~ | (A) -> toggle the gutter(line numbers, folds and signify) @@ -224,8 +225,8 @@ " " Filetype Specific Mappings: " (extradite) -" | (A) -> close the dialog -" | (A) -> close the dialog +" | (A) -> close the dialog +" | (A) -> close the dialog " | (A) -> same as down " l | (A) -> same as j " | (A) -> same as Up @@ -247,7 +248,8 @@ " ?< | (A) -> close the dialog " " (markdown) -" | (A) -> show heading TOC instead of the taglist +" | (A) -> show heading TOC instead of the taglist +" | (A) -> show heading TOC instead of the taglist " " (markdown toc) " | (A) -> left click + left justify the cursor @@ -392,6 +394,9 @@ "toggle the command reference box nnoremap ` ':TCommand' + "display tag information in the gutter + noremap , ':TTagechoWord' + "toggle the vim reference manual nnoremap ':h index.txt' nnoremap ? ':h index.txt'