Add more floating terminals

This commit is contained in:
Oliver Davies 2024-01-27 21:56:17 +00:00
parent 937a0cc34f
commit 2c7e547bf5
2 changed files with 7 additions and 0 deletions

View file

@ -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 { "<leader>ld", "<cmd>FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazydocker<cr>" }
nmap { "<leader>lg", "<cmd>FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazygit<cr>" }
nmap { "<leader>nn", "<cmd>FloatermNew --autoclose=2 --height=0.75 --width=0.75 nnn -Hde<cr>" }
nmap { "<leader>tt", "<cmd>FloatermNew --autoclose=2 --height=0.9 --width=0.9 zsh<cr>" }

View file

@ -278,6 +278,9 @@ rec {
# Tools
pkgs.html-tidy
pkgs.lazygit
pkgs.lazydocker
pkgs.nnn
pkgs.nodePackages.markdownlint-cli
pkgs.proselint
pkgs.shellcheck