aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-10-24 09:04:33 +0200
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-10-24 09:04:33 +0200
commita38dccc9de4a8cccd4eaffd5c789087b7b80ceab (patch)
tree4bc556bea4a4709e10c67757fb88b34e9a7429e8 /after/plugin
parent0bd826dd6b205e1133a0541b8959ac3e0253f046 (diff)
downloadnvim-conf-a38dccc9de4a8cccd4eaffd5c789087b7b80ceab.tar.gz
nvim-conf-a38dccc9de4a8cccd4eaffd5c789087b7b80ceab.zip
feat: small improvements
Diffstat (limited to 'after/plugin')
-rw-r--r--after/plugin/floatterm.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/after/plugin/floatterm.lua b/after/plugin/floatterm.lua
index ca4f9b4..a899e63 100644
--- a/after/plugin/floatterm.lua
+++ b/after/plugin/floatterm.lua
@@ -1,3 +1,15 @@
vim.keymap.set({ "n", "t" }, "``", function()
vim.cmd([[FloatermToggle]])
end, {})
+
+vim.keymap.set({ "n", "t" }, "`n", function()
+ vim.cmd([[FloatermNext]])
+end, {})
+
+vim.keymap.set({ "n", "t" }, "`p", function()
+ vim.cmd([[FloatermPrev]])
+end, {})
+
+vim.keymap.set({ "n", "t" }, "`c", function()
+ vim.cmd([[FloatermNew]])
+end, {})