From 452e24ede4a359480f79b3df268a08828252c097 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 22 Jan 2020 22:14:04 +0530 Subject: [PATCH] nvim: Add Slimux Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/init.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 2d51b76..7d05655 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -90,6 +90,7 @@ Plug 'tpope/vim-vinegar' Plug 'wellle/targets.vim' Plug 'Yggdroot/indentLine' Plug 'liuchengxu/vista.vim' +Plug 'esamattis/slimux' Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } " Miscellaneous Plug 'editorconfig/editorconfig-vim' @@ -360,6 +361,14 @@ vnoremap # :Tabularize /#-} vnoremap : :Tabularize /:: vnoremap [ :Tabularize /[ +nnoremap sL :SlimuxREPLSendLine +vnoremap ss :SlimuxREPLSendSelection +nnoremap sb :SlimuxREPLSendBuffer +nnoremap sc :SlimuxREPLConfigure +nnoremap sp :SlimuxShellPrompt +nnoremap sl :SlimuxShellLast +nnoremap se :SlimuxShellRun + command! -bang -nargs=* GGrep \ call fzf#vim#grep( \ 'git grep --line-number '.shellescape(), 0,