在預覽視窗中編輯緩衝區
:pbuffer
範例
一般模式 0 / 2命令列模式 1 / 2一般模式 2 / 2在預覽視窗中編輯緩衝區。
視窗
- main.vim 使用中
call Paint()
指令已輸入。按 Enter 執行。
視窗
- main.vim 使用中
call Paint()
在預覽視窗中顯示緩衝區 2。main.vim 保留焦點及其游標。
視窗
- notes.txt [Preview]
reference notes
- main.vim 使用中
call Paint()
操作前後
操作前
視窗
- main.vim 使用中
call Paint()
操作後
視窗
- notes.txt [Preview]
reference notes
- main.vim 使用中
call Paint()
主題::pbuffer。依 Vim 文件示範。此例假設+quickfix、一個一般 main.vim 視窗且無現有的預覽、已列出已載入的緩衝區編號 2 notes.txt、previewpopup 為空、nosplitbelow、splitkeep=cursor、分割視窗高度足夠、按鍵未映射且無干擾的回呼或待處理提示。未用 Vim 重播驗證。在預覽視窗中顯示緩衝區 2。main.vim 保留焦點及其游標。
call Paint()游標位於第 1 行,第 1 欄