From cc22012a95b3688b58acd00d0df1216e151f6cb9 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Sun, 10 Oct 2021 18:37:57 -0400 Subject: [PATCH] Add FTerm --- init.vim | 1 + lua/keybinds.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/init.vim b/init.vim index b6234be..746dc04 100644 --- a/init.vim +++ b/init.vim @@ -14,6 +14,7 @@ Plug 'hrsh7th/nvim-cmp' Plug 'L3MON4D3/LuaSnip' Plug 'saadparwaiz1/cmp_luasnip' Plug 'akinsho/bufferline.nvim' +Plug 'numtostr/FTerm.nvim' call plug#end() set termguicolors set mouse=a diff --git a/lua/keybinds.lua b/lua/keybinds.lua index 74f2e5e..3205845 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -12,3 +12,4 @@ map('n', '', ':BufferLineCycleNext', {noremap=false}) map('n', '', ':BufferLineMovePrev', {noremap=true}) map('n', '', ':BufferLineMoveNext', {noremap=true}) map('n', '', ':Telescope find_files', {noremap=true}) +map('n', '', 'lua require("FTerm").toggle()', {noremap=true, silent=true})