summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/floaterm
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-15 23:26:50 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-15 23:26:50 +0100
commit855f4e4f0f22b35641f13614e46b9ab7f6818188 (patch)
tree9a776e07429c16e1df68f4b04c125c46185eed16 /.config/nvim/lua/floaterm
parent8577c3b7cba714551d3537f3337ee2490bd20106 (diff)
Migration to lua
Diffstat (limited to '.config/nvim/lua/floaterm')
-rw-r--r--.config/nvim/lua/floaterm/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/floaterm/init.lua b/.config/nvim/lua/floaterm/init.lua
new file mode 100644
index 0000000..633df35
--- /dev/null
+++ b/.config/nvim/lua/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