6.buffer_multifile_edit 博客分类: vim vim buffers
程序员文章站
2024-03-20 12:25:04
...
" buffer list :files :buffers :ls touch buf-1 buf-2 buf-3 buf-4 vim buf-* :files :buffers :ls ------------------- 1 %a "buff-1" line 1 2 "buff-2" line 0 3 "buff-3" line 0 4 "buff-4" line 0 bufferno status filename cursorPosition " status a active buffer, load and display h hide buffer, load not display % current buffer # switch buffer = readonly buffer + modified buffer - can't modifie buffer --------------------- :bn buffer next :bp buffer previous :bf buffer first :bl buffer last :buffer Number/FileName :ball buffer all Ctrl+^/:b# to switch buffer :qall! quit all :wall! write all :badd buffer add :bd buffer delete :m,n/%bd delete buffer no from m to n :bufdo{CMD} bufdo set number. effect all buffer :E /:bd open directory list/back to initial buffer :%bd all buffer delete
推荐阅读
-
windows下vim配置 博客分类: vim windows下vim配置
-
6.buffer_multifile_edit 博客分类: vim vim buffers
-
Vim usage 博客分类: tool vim语法高亮ubuntu
-
vim使用技巧——快速编辑篇 博客分类: centosLinux vim
-
VIM的一些配置 博客分类: Tools vim
-
docker 中没有vim 博客分类: docker
-
vim正则的非贪婪模式 博客分类: linux
-
vim正则的非贪婪模式 博客分类: linux
-
vim 使用 博客分类: vim vim命令
-
禁用vim中自动插入注释 博客分类: toolslinux