From 309497b3e32abbc2ab6b04b43e7029cb9e316f98 Mon Sep 17 00:00:00 2001 From: Sylvain Herlédan Date: Sat, 3 Jun 2017 15:52:52 +0200 Subject: Add the vimux plugin. --- vimrc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index a3dc7dc..93557f8 100644 --- a/vimrc +++ b/vimrc @@ -17,6 +17,7 @@ set runtimepath+=~/.vim/dein/repos/github.com/Shougo/dein.vim call dein#begin(expand('~/.vim/dein')) call dein#add('Shougo/dein.vim') call dein#add('majutsushi/tagbar') +call dein#add('benmills/vimux') call dein#add('scrooloose/nerdtree', \{'on_cmd': 'NERDTreeToggle'}) call dein#add('justmao945/vim-clang', @@ -29,6 +30,9 @@ syntax enable " Plugins config let g:clang_c_options = '-std=gnu11' let g_clang_cpp_options = '-std=c++11 -stdlib=libc++' +let g:VimuxHeight = "10" +let g:VimuxOrientation = "v" +let g:VimuxPromptString = ":!" " Encoding set encoding=utf-8 @@ -59,8 +63,14 @@ set smartcase " enable case-sensitivity if the pattern " contains a capital letter " Key bindings -nmap :NERDTreeToggle " toggle file browser with F2 -nmap :TagbarToggle " toggle tags browser with F8 +" - toggle file browser with F2 +nmap :NERDTreeToggle +" - run command using vimux with F3 +nmap :VimuxPromptCommand +" - rerun last command using vimux with F4 +nmap :VimuxRunLastCommand +" - toggle tags browser with F8 +nmap :TagbarToggle " Highlight extra whitespaces highlight ExtraWhitespace ctermbg=red -- cgit v1.2.3-70-g09d2