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>main
parent
2e8f13aa4a
commit
6fe4acbaf8
7
init.vim
7
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,6 +270,7 @@ autocmd BufNewFile *.md 0r ~/.config/nvim/snippets/template.md
|
|||
" #########################################
|
||||
" Terminal: use zsh
|
||||
set shell=/usr/bin/zsh
|
||||
lua require("toggleterm").setup()
|
||||
|
||||
" #########################################
|
||||
" #########################################
|
||||
|
|
Loading…
Reference in New Issue