【发布时间】:2013-07-15 16:15:45
【问题描述】:
在我的一个脚本文件中,我用, 定义了一些映射,比如
nmap ,t <ESC>:Todos<CR>:w<CR>
目前我安装了command-T。在这个过程中,我在 .vimrc 中设置了 mapleader
let mapleader=","
这搞砸了我自己的映射,所以我从配置中删除了 mapleader。另外,我的 .vim 目录中的 removed command-T。但不幸的是,这并没有帮助。
当我现在输入,t 时,会打开一个分屏缓冲区,其中包含一种标记列表。如果我在这个新缓冲区中输入?,看起来像这样:
" <enter> : Jump to tag definition
" o : Jump to tag definition in new window
" p : Preview the tag definition
" <space> : Display tag prototype
" u : Update tag list
" s : Select sort field
" d : Remove file from taglist
" x : Zoom-out/Zoom-in taglist window
" + : Open a fold
" - : Close a fold
" * : Open all folds
" = : Close all folds
" [[ : Move to the start of previous file
" ]] : Move to the start of next file
" q : Close the taglist window
" ? : Remove help text
看起来像是被某种方式激活的 vim 功能。如何让我的 ,t 再次使用我的映射?
【问题讨论】:
-
您可能没有删除所有内容,或者其他插件覆盖了某些内容。
-
是一个不同的插件。
标签: vim plugins configuration