diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 9b3d340..b8cbf23 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -64,6 +64,8 @@ Plug 'liuchengxu/vim-which-key' Plug 'christoomey/vim-system-copy' " Signs for entries in location list or quickfix lists Plug 'dhruvasagar/vim-markify' +" Toggle terminal +Plug 'caenrique/nvim-toggle-terminal' " Language support & syntax highlighting " Haskell Plug 'neovimhaskell/haskell-vim' diff --git a/nvim/.config/nvim/keymappings.vim b/nvim/.config/nvim/keymappings.vim index 6f2e3ee..764947a 100644 --- a/nvim/.config/nvim/keymappings.vim +++ b/nvim/.config/nvim/keymappings.vim @@ -124,7 +124,9 @@ nnoremap zmk :set foldmethod=marker nnoremap zms :set foldmethod=syntax " Key Bindings to help with terminal mode -:tnoremap jk +tnoremap jk +nnoremap :ToggleTerminal +tnoremap :ToggleTerminal " Key bindings to move between window splits for key in range(0, 9) execute 'nnoremap '.key key.'w'