vim files and buffers - RawIron/rawiron.github.io GitHub Wiki

create

new in a vertical split

:vnew

open

:open
" search for file
:find <Tab>
:find <ctrl-d>

" open buffer in vertical split
:vsb

" open file in a vertical split
:vsp =filename=

use plugin ctrlP

ctrl-p

buffer list

" list of open buffers in wildmenu
" jump to buffer
:b <TAB>

" list of open buffers
:b <ctrl-d> 

" show buffer list
:buffers!

" jump to buffer N directly
N <ctrl-^>

FileType

show the FileType

:set filetype?
:set ft?
⚠️ **GitHub.com Fallback** ⚠️