From 728355ac1fb7f14d32c739ec74708e7d4dff42b3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 27 Jan 2024 21:32:05 +0000 Subject: [PATCH] Add vim-floaterm --- after/plugin/floaterm.lua | 4 ++++ lib/default.nix | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 after/plugin/floaterm.lua diff --git a/after/plugin/floaterm.lua b/after/plugin/floaterm.lua new file mode 100644 index 0000000..6dfa37f --- /dev/null +++ b/after/plugin/floaterm.lua @@ -0,0 +1,4 @@ +local nmap = require "opdavies.keymap".nmap + +nmap { "lg", "FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazygit" } +nmap { "tt", "FloatermNew --autoclose=2 --height=0.9 --width=0.9 zsh" } diff --git a/lib/default.nix b/lib/default.nix index a12dfe0..62772fb 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -215,6 +215,8 @@ rec { vimPlugins.vim-dadbod-ui vimPlugins.vim-dadbod-completion + vimPlugins.vim-floaterm + # # Markdown # { # plugin = vimPlugins.markdown-preview-nvim;