From d18f38b16b971b11b70ce3ca45bcbd6fe88208d9 Mon Sep 17 00:00:00 2001 From: Camden Cheek Date: Sat, 18 Feb 2017 17:54:18 -0500 Subject: [PATCH] Fixed doc formatting Added better documentation for using tmux layer Fixed doc formatting --- autoload/SpaceVim/layers/tmux.vim | 18 ++++++++++-------- doc/SpaceVim.txt | 15 ++++++++++----- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/autoload/SpaceVim/layers/tmux.vim b/autoload/SpaceVim/layers/tmux.vim index 1a1632c73..747e832b3 100644 --- a/autoload/SpaceVim/layers/tmux.vim +++ b/autoload/SpaceVim/layers/tmux.vim @@ -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 -" ------------------------------ -" normal Switch to pane in left direction -" normal Switch to pane in down direction -" normal Switch to pane in up direction -" normal Switch to pane in right direction -" +" > +" Key Mode Function +" ------------------------------ +" normal Switch to pane in left direction +" normal Switch to pane in down direction +" normal Switch to pane in up direction +" normal Switch to pane in right direction +" < function! SpaceVim#layers#tmux#plugins() abort let plugins = [] diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index 18b6c7559..cee353e4e 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -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 ------------------------------ normal -Switch to pane in left direction normal Switch to pane in down -direction normal Switch to pane in up direction -normal Switch to pane in right direction - +> + Key Mode Function + ------------------------------ + normal Switch to pane in left direction + normal Switch to pane in down direction + normal Switch to pane in up direction + normal Switch to pane in right direction +< ============================================================================== FAQ *SpaceVim-faq*