summaryrefslogtreecommitdiff
path: root/nvim/lua/after/plugin/fterm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/after/plugin/fterm.lua')
-rw-r--r--nvim/lua/after/plugin/fterm.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/lua/after/plugin/fterm.lua b/nvim/lua/after/plugin/fterm.lua
new file mode 100644
index 0000000..f253408
--- /dev/null
+++ b/nvim/lua/after/plugin/fterm.lua
@@ -0,0 +1,11 @@
+require'FTerm'.setup({
+ border = 'double',
+ dimensions = {
+ height = 0.9,
+ width = 0.9,
+ },
+})
+
+-- Example keybindings
+vim.keymap.set('n', '<A-i>', '<CMD>lua require("FTerm").toggle()<CR>')
+vim.keymap.set('t', '<A-i>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>')