summaryrefslogtreecommitdiff
path: root/home/common/modules/neovim/config/lua/pacman/plugins/toggleterm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'home/common/modules/neovim/config/lua/pacman/plugins/toggleterm.lua')
-rw-r--r--home/common/modules/neovim/config/lua/pacman/plugins/toggleterm.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/home/common/modules/neovim/config/lua/pacman/plugins/toggleterm.lua b/home/common/modules/neovim/config/lua/pacman/plugins/toggleterm.lua
new file mode 100644
index 0000000..83a3c65
--- /dev/null
+++ b/home/common/modules/neovim/config/lua/pacman/plugins/toggleterm.lua
@@ -0,0 +1,14 @@
+return {
+ {
+ "akinsho/toggleterm.nvim",
+ event = "VeryLazy",
+ opts = {
+ direction = "float",
+ open_mapping = [[<c-\>]],
+ on_create = function(term)
+ term:send("exec tmux")
+ end,
+ },
+ }
+}
+-- vim: ts=2 sts=2 sw=2 et