tools/vim

Vim tab usage

seul chan 2018. 2. 24. 11:44

I use tmux and vim, so I just split my one vim tab and use multiple tmux window.

But when using many window, it’s little bit annoying to find specific window. So I’m trying to use vim tab function and summarize usage.

commands

# new tab
# when no filename, just open blank tab
:tabnew [filename]

# close tab
:tabclose
:tabc

# next or previous tab
:tabnext
:tabn
:tabprevious
:tabp
# or 'gt', 'gT'in normal mode
# '{i}gt' goes to position i

# split
:tab ball # show each buffer in a tab
:tab split  # copy current window to new tab


'tools > vim' 카테고리의 다른 글

Vim : using fzf in vim - fzf.vim  (0) 2018.05.16
Vim switcing case of characters  (0) 2018.03.05
Install papercolor in vim  (0) 2018.02.23
Install and using vim plug  (0) 2018.02.22
Vim: searching include slash  (0) 2018.02.14