'||' '|' | '||''|. '||''''| '||' '|' || | ||| || || || . || | || | || ||'''|. ||''| || || .''''|. || || || | || .||. .|. .||. .||...|' .||.....| .| ||.
01011001 01000001 01000010 01000101 01011000
WORK IN PROGRESS: A Vim buffer viewer.
NB! This is experimental and has known bugs and limitations.
Open with :YabexOpen
or create a map for it. You could uncomment call s:set_maps()
in plugin/plugin.vim
Once open it list all buffers + most hidden.
Gutter show window, list shows buffer number. If one buffer is open in multiple windows, (usually) the last accessed is displayed.
Color codes (see Sample Images):
- Current and Alt Window window have separate colors
- Current and Alt buffer have different colors
Position the cursor on a file and:
Key | Action |
---|---|
Enter | Open file in last window |
<Leader>Enter | Open file in last window and set focus |
<NR>Enter | Open file in window <NR> |
<NR><Leader>Enter | Open file in window <NR> and set focus |
o |
Open file in last window |
O |
Open file in last window and set focus |
<NR>o |
Open file in window <NR> |
<NR>O |
Open file in window <NR> and set focus |
e |
Open :Explore in path for file under cursor |
t |
Open :terminal in path for file under cursor |
d |
Do git diff for file under cursor Note: The diff is opened in a sratch buffer which is re-used on next diff. New diffs are appended to the buffer. Anything can be overwritten or lost on new diffs. |
Here windows are: | Buffers: |
---|---|
|
|
Here windows are: | Buffers: |
---|---|
|
|