Taglist

本文介绍 Vim 编辑器中 Taglist 插件的三个实用功能:缩放标签列表窗口、打开标签列表窗口后自动聚焦及加速刷新速度。通过设置 .vimrc 文件中的参数,用户可以优化编辑体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Precondition :

sudo apt-get install exuberant-ctags

 

 

 

好用功能

1:

Zooming in and out of the taglist window~

'x' key in the taglist window to maximize the taglist window width/height.

again press 'x' to restore the taglist window to the default width/height

 

2:

When this variable is set to 1, the cursor moves to the taglist window after opening the taglist window.

.vimrc

let Tlist_GainFocus_On_ToggleOpen = 1

 

3 :

Speeding up taglist windows refresh

Put below line to .vimrc

autocmd BufEnter,CursorMoved,CursorMovedI * silent! TlistHighlightTag

reference :

https://stackoverflow.com/questions/4568813/vim-taglist-plugin-slow-update

转载于:https://www.cnblogs.com/youchihwang/p/6506590.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值