Skip to content

Instantly share code, notes, and snippets.

@libitte
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save libitte/11339267 to your computer and use it in GitHub Desktop.

Select an option

Save libitte/11339267 to your computer and use it in GitHub Desktop.
ls, buffers, files 開いているバッファ一覧(バッファリスト)を表示する
bfirst,bf 先頭のバッファに移動する
blast,bl 最後のバッファに移動する
bnext,bn 次のバッファに移動する
bprev,bp 前のバッファに移動する
b NUM NUM番目のバッファに移動する
badd バッファにファイルをロードする
bdelete バッファをアンロードする
ノーマルモードのときにF2で前のバッファ、F3で次のバッファに移動するための設定は以下の通り。
map <silent> <F2> :bp<cr>
map <silent> <F3> :bn<cr>
ノーマルモードでbbとうって、NUMを打てば移動出来る。
nmap bb :ls<CR>:buf
@libitte
Copy link
Copy Markdown
Author

libitte commented Apr 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment