plugin: add and configure toggleterm

- Add and configure the Toggleterm plugin to improve the use of terminal
  inside neovim.

Co-Authored-by: iGor milhit <igor@milhit.ch>
kickstart
iGor milhit 2023-03-23 14:03:38 +01:00
parent 2e8f13aa4a
commit 6fe4acbaf8
1 changed files with 9 additions and 2 deletions

View File

@ -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 <<EOF
require('mkdnflow').setup({
-- Config goes here; leave blank for defaults
links = {