summaryrefslogtreecommitdiff
path: root/nvim/lua/after/plugin/fterm.lua
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-08-16 12:30:33 +0200
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-08-16 12:30:33 +0200
commit23a62d70129db30027ba620fc798a666c198ba35 (patch)
tree51b59657991b10665936e33bb7fcee3873f371ef /nvim/lua/after/plugin/fterm.lua
parent37d4a19152bbb2a83f4c0ce7172388240252d8f1 (diff)
update
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>')