From 6fe4acbaf85db782e73a66811efb14c018fcb72d Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 23 Mar 2023 14:03:38 +0100 Subject: [PATCH] plugin: add and configure toggleterm - Add and configure the Toggleterm plugin to improve the use of terminal inside neovim. Co-Authored-by: iGor milhit --- init.vim | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/init.vim b/init.vim index a9b0e48..8c14a66 100644 --- a/init.vim +++ b/init.vim @@ -39,6 +39,7 @@ Plug 'junegunn/fzf.vim' " fz Plug 'stsewd/fzf-checkout.vim' " Fuzzy search in git branches Plug 'ryanoasis/vim-devicons' " Add icons to plugins Plug 'chrisbra/csv.vim' " To diplay and manage CSV files +Plug 'akinsho/toggleterm.nvim', {'tag' : '2.*'} call plug#end() " Format indentation @@ -89,6 +90,11 @@ autocmd FileType gitcommit setlocal spelllang=en " Path for grammalecte-cli to get grammar check in French let g:grammalecte_cli_py='/usr/bin/grammalecte-cli' +" ######################################### +" ######################################### +" Status line options +set statusline^=%{coc#status()} + " ######################################### " ######################################### " Fold @@ -264,11 +270,12 @@ autocmd BufNewFile *.md 0r ~/.config/nvim/snippets/template.md " ######################################### " Terminal: use zsh set shell=/usr/bin/zsh +lua require("toggleterm").setup() " ######################################### " ######################################### -" mkdnflow configuration -lua << EOF +" mkdnflow configuration +lua <