diff --git a/after/plugin/floaterm.lua b/after/plugin/floaterm.lua index 6dfa37f..b950b61 100644 --- a/after/plugin/floaterm.lua +++ b/after/plugin/floaterm.lua @@ -1,4 +1,8 @@ +-- Based on https://github.com/ALT-F4-LLC/thealtf4stream.nvim/blob/main/lua/TheAltF4Stream/floaterm.lua. + local nmap = require "opdavies.keymap".nmap +nmap { "ld", "FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazydocker" } nmap { "lg", "FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazygit" } +nmap { "nn", "FloatermNew --autoclose=2 --height=0.75 --width=0.75 nnn -Hde" } nmap { "tt", "FloatermNew --autoclose=2 --height=0.9 --width=0.9 zsh" } diff --git a/lib/default.nix b/lib/default.nix index cc690d2..ed3a475 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -278,6 +278,9 @@ rec { # Tools pkgs.html-tidy + pkgs.lazygit + pkgs.lazydocker + pkgs.nnn pkgs.nodePackages.markdownlint-cli pkgs.proselint pkgs.shellcheck