1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 03:00:06 +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 " @parentsection layers
" Adds integration between tmux and vim panes. Switch between panes " Adds integration between tmux and vim panes. Switch between panes
" seamlessly. " seamlessly.
" This layer is not added by default. To include it, add
" `SpaceVim#layers#load('tmux')` to your `~/.SpaceVim.d/init.vim`
" "
" @subsection mappings " @subsection mappings
" " >
" Key Mode Function " Key Mode Function
" ------------------------------ " ------------------------------
" <C-h> normal Switch to pane in left direction " <C-h> normal Switch to pane in left direction
" <C-j> normal Switch to pane in down direction " <C-j> normal Switch to pane in down direction
" <C-k> normal Switch to pane in up direction " <C-k> normal Switch to pane in up direction
" <C-l> normal Switch to pane in right direction " <C-l> normal Switch to pane in right direction
" " <
function! SpaceVim#layers#tmux#plugins() abort function! SpaceVim#layers#tmux#plugins() abort
let plugins = [] let plugins = []

View File

@ -694,14 +694,19 @@ For more info, read |deol| and |vimshell|.
TMUX *SpaceVim-layer-tmux* TMUX *SpaceVim-layer-tmux*
Adds integration between tmux and vim panes. Switch between panes seamlessly. 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 MAPPINGS
Key Mode Function ------------------------------ <C-h> normal >
Switch to pane in left direction <C-j> normal Switch to pane in down Key Mode Function
direction <C-k> normal Switch to pane in up direction <C-l> ------------------------------
normal Switch to pane in right direction <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* FAQ *SpaceVim-faq*