summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-15 01:30:59 -0400
committerChris <[email protected]>2021-03-15 01:30:59 -0400
commitba701db787d9e9a2ed9cd8acc712fb9e3325ad56 (patch)
tree862d1b9fdd9f7eb714702a0b7a39142a2d1b267e
parent09f46fc2a2e17e25f42b345c9f86430bdbd1d312 (diff)
add floaterm
-rw-r--r--lua/nv-floaterm/init.lua13
-rw-r--r--lua/plugins.lua1
2 files changed, 14 insertions, 0 deletions
diff --git a/lua/nv-floaterm/init.lua b/lua/nv-floaterm/init.lua
new file mode 100644
index 00000000..633df350
--- /dev/null
+++ b/lua/nv-floaterm/init.lua
@@ -0,0 +1,13 @@
+-- Floaterm
+vim.g.floaterm_keymap_toggle = '<F1>'
+vim.g.floaterm_keymap_next = '<F2>'
+vim.g.floaterm_keymap_prev = '<F3>'
+vim.g.floaterm_keymap_new = '<F4>'
+vim.g.floaterm_title=''
+
+vim.g.floaterm_gitcommit='floaterm'
+vim.g.floaterm_autoinsert=1
+vim.g.floaterm_width=0.8
+vim.g.floaterm_height=0.8
+vim.g.floaterm_wintitle=0
+vim.g.floaterm_autoclose=1
diff --git a/lua/plugins.lua b/lua/plugins.lua
index a4f15905..9b769e11 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -86,4 +86,5 @@ return require('packer').startup(function()
use { 'glacambre/firenvim', run = function() vim.fn['firenvim#install'](1) end }
use 'liuchengxu/vim-which-key'
use 'tpope/vim-sleuth'
+ use 'voldikss/vim-floaterm'
end)