vim中的折叠功能
发布时间:2020-12-15 19:59:54 所属栏目:安全 来源:网络整理
导读:有什么方法或工具来折叠vim中的功能,如Visual Studio或Eclipse? 最好的祝福, Vim folding commands---------------------------------zf#j creates a fold from the cursor down # lines.zf/ string creates a fold from the cursor to string .zj moves
有什么方法或工具来折叠vim中的功能,如Visual Studio或Eclipse?
最好的祝福, Vim folding commands --------------------------------- zf#j creates a fold from the cursor down # lines. zf/ string creates a fold from the cursor to string . zj moves the cursor to the next fold. zk moves the cursor to the previous fold. za toggle a fold at the cursor. zo opens a fold at the cursor. zO opens all folds at the cursor. zc closes a fold under cursor. zm increases the foldlevel by one. zM closes all open folds. zr decreases the foldlevel by one. zR decreases the foldlevel to zero -- all folds will be open. zd deletes the fold at the cursor. zE deletes all folds. [z move to start of open fold. ]z move to end of open fold. 资料来源:vim docs (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |