From 9c4edaf30bc0f6d4f5cd3b7324f7d771bc949366 Mon Sep 17 00:00:00 2001 From: techgaun Date: Fri, 23 Jun 2017 14:12:39 -0500 Subject: [PATCH 1/2] add tmux lang layer --- autoload/SpaceVim/layers/lang/tmux.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 autoload/SpaceVim/layers/lang/tmux.vim diff --git a/autoload/SpaceVim/layers/lang/tmux.vim b/autoload/SpaceVim/layers/lang/tmux.vim new file mode 100644 index 000000000..f0e4fe903 --- /dev/null +++ b/autoload/SpaceVim/layers/lang/tmux.vim @@ -0,0 +1,13 @@ +"" +" @section lang#tmux, layer-lang-tmux +" @parentsection layers +" @subsection Intro +" The lang#tmux layer provides syntax highlighting, commenting, man page navigation +" and ability to execute lines as tmux commands. +" @section(layer-checkers) + +function! SpaceVim#layers#lang#tmux#plugins() abort + let plugins = [] + call add(plugins, ['tmux-plugins/vim-tmux', {'on_ft' : 'tmux'}]) + return plugins +endfunction From 7c09833c39f0e9ffa5c6a99564a048fe2a4852ad Mon Sep 17 00:00:00 2001 From: techgaun Date: Fri, 23 Jun 2017 14:30:22 -0500 Subject: [PATCH 2/2] add tmux layer and sort listings of layers --- mode/dark_powered.vim | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/mode/dark_powered.vim b/mode/dark_powered.vim index 1b805680b..5d0aecc0d 100644 --- a/mode/dark_powered.vim +++ b/mode/dark_powered.vim @@ -1,23 +1,24 @@ " Dark powered mode of SpaceVim, generated by SpaceVim automatically. let g:spacevim_enable_debug = 1 let g:spacevim_realtime_leader_guide = 1 -call SpaceVim#layers#load('lang#go') -call SpaceVim#layers#load('lang#php') -call SpaceVim#layers#load('lang#c') call SpaceVim#layers#load('incsearch') -call SpaceVim#layers#load('lang#lua') -call SpaceVim#layers#load('lang#perl') -call SpaceVim#layers#load('lang#swig') -call SpaceVim#layers#load('lang#rust') +call SpaceVim#layers#load('lang#c') +call SpaceVim#layers#load('lang#elixir') +call SpaceVim#layers#load('lang#go') +call SpaceVim#layers#load('lang#haskell') call SpaceVim#layers#load('lang#java') call SpaceVim#layers#load('lang#javascript') -call SpaceVim#layers#load('lang#vim') +call SpaceVim#layers#load('lang#lua') +call SpaceVim#layers#load('lang#perl') +call SpaceVim#layers#load('lang#php') call SpaceVim#layers#load('lang#python') +call SpaceVim#layers#load('lang#rust') +call SpaceVim#layers#load('lang#swig') +call SpaceVim#layers#load('lang#tmux') +call SpaceVim#layers#load('lang#vim') call SpaceVim#layers#load('lang#xml') -call SpaceVim#layers#load('lang#haskell') -call SpaceVim#layers#load('lang#elixir') -call SpaceVim#layers#load('tools#screensaver') call SpaceVim#layers#load('shell') +call SpaceVim#layers#load('tools#screensaver') let g:spacevim_enable_vimfiler_welcome = 1 let g:spacevim_enable_debug = 1 let g:deoplete#auto_complete_delay = 150