加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

vim – NerdTree – 在树中显示文件

发布时间:2020-12-15 16:39:40 所属栏目:安全 来源:网络整理
导读:有一个快捷方式显示当前文件在NerdTree目录面板中。 像TextMate’显示文件在Drawer’ – Ctrl Command R 在:h NERDTree: :NERDTreeFind :NERDTreeFind Find the current file in the tree. If no tree exists for the current tab,or the file is not unde
有一个快捷方式显示当前文件在NerdTree目录面板中。

像TextMate’显示文件在Drawer’ – Ctrl Command R

在:h NERDTree:
:NERDTreeFind                                                  :NERDTreeFind
    Find the current file in the tree. If no tree exists for the current tab,or the file is not under the current root,then initialize a new tree where
    the root is the directory of the current file.

我不认为它默认绑定到任何东西,所以你必须自己做一个键绑定。

nmap,n :NERDTreeFind<CR>

是什么出现在我的.vimrc,一起

nmap,m :NERDTreeToggle<CR>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读