1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 23:10:04 +08:00

Fixed doc formatting

Added better documentation for using tmux layer

Fixed doc formatting
This commit is contained in:
Camden Cheek 2017-02-18 17:54:18 -05:00
parent 6a3e1fa9f2
commit d18f38b16b
2 changed files with 20 additions and 13 deletions

View File

@ -3,16 +3,18 @@
" @parentsection layers
" Adds integration between tmux and vim panes. Switch between panes
" seamlessly.
" This layer is not added by default. To include it, add
" `SpaceVim#layers#load('tmux')` to your `~/.SpaceVim.d/init.vim`
"
" @subsection mappings
"
" >
" Key Mode Function
" ------------------------------
" <C-h> normal Switch to pane in left direction
" <C-j> normal Switch to pane in down direction
" <C-k> normal Switch to pane in up direction
" <C-l> normal Switch to pane in right direction
"
" <
function! SpaceVim#layers#tmux#plugins() abort
let plugins = []

View File

@ -694,14 +694,19 @@ For more info, read |deol| and |vimshell|.
TMUX *SpaceVim-layer-tmux*
Adds integration between tmux and vim panes. Switch between panes seamlessly.
This layer is not added by default. To include it, add
`SpaceVim#layers#load('tmux')` to your `~/.SpaceVim.d/init.vim`
MAPPINGS
Key Mode Function ------------------------------ <C-h> normal
Switch to pane in left direction <C-j> normal Switch to pane in down
direction <C-k> normal Switch to pane in up direction <C-l>
normal Switch to pane in right direction
>
Key Mode Function
------------------------------
<C-h> normal Switch to pane in left direction
<C-j> normal Switch to pane in down direction
<C-k> normal Switch to pane in up direction
<C-l> normal Switch to pane in right direction
<
==============================================================================
FAQ *SpaceVim-faq*