From 2f483e68303c33d6aa3723d887b09998c3f20ee4 Mon Sep 17 00:00:00 2001 From: nil Date: Tue, 14 Jan 2025 20:14:37 +0100 Subject: init --- lua/after/plugin/fterm.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 lua/after/plugin/fterm.lua (limited to 'lua/after/plugin/fterm.lua') diff --git a/lua/after/plugin/fterm.lua b/lua/after/plugin/fterm.lua new file mode 100755 index 0000000..55fac0f --- /dev/null +++ b/lua/after/plugin/fterm.lua @@ -0,0 +1,12 @@ +require'FTerm'.setup({ + border = 'double', + dimensions = { + height = 0.8, + width = 0.8, + }, +}) + +-- Example keybindings +vim.keymap.set('n', '', 'lua require("FTerm").toggle()') +vim.keymap.set('t', '', 'lua require("FTerm").toggle()') +vim.keymap.set('t', '', 'lua require("FTerm").exit()') -- cgit v1.2.3