diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-10-24 09:04:33 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-10-24 09:04:33 +0200 |
| commit | a38dccc9de4a8cccd4eaffd5c789087b7b80ceab (patch) | |
| tree | 4bc556bea4a4709e10c67757fb88b34e9a7429e8 /after/plugin/floatterm.lua | |
| parent | 0bd826dd6b205e1133a0541b8959ac3e0253f046 (diff) | |
| download | nvim-conf-a38dccc9de4a8cccd4eaffd5c789087b7b80ceab.tar.gz nvim-conf-a38dccc9de4a8cccd4eaffd5c789087b7b80ceab.zip | |
feat: small improvements
Diffstat (limited to 'after/plugin/floatterm.lua')
| -rw-r--r-- | after/plugin/floatterm.lua | 12 |
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, {}) |