aboutsummaryrefslogtreecommitdiffstats
path: root/nvim-primeagen/lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nvim-primeagen/lua/lemon/packer.lua1
-rw-r--r--nvim-primeagen/lua/lemon/remap.lua3
2 files changed, 4 insertions, 0 deletions
diff --git a/nvim-primeagen/lua/lemon/packer.lua b/nvim-primeagen/lua/lemon/packer.lua
index 5cedc4d..2402ba7 100644
--- a/nvim-primeagen/lua/lemon/packer.lua
+++ b/nvim-primeagen/lua/lemon/packer.lua
@@ -93,6 +93,7 @@ return require('packer').startup(function(use)
use("jlanzarotta/bufexplorer")
use("mhinz/vim-signify")
use("lervag/vimtex")
+ use("szw/vim-maximizer")
use {
"nvim-neotest/neotest",
requires = {
diff --git a/nvim-primeagen/lua/lemon/remap.lua b/nvim-primeagen/lua/lemon/remap.lua
index 642cb69..f9864c9 100644
--- a/nvim-primeagen/lua/lemon/remap.lua
+++ b/nvim-primeagen/lua/lemon/remap.lua
@@ -12,6 +12,9 @@ vim.keymap.set("n", "<C-u>", "<C-u>zz")
vim.keymap.set("n", "n", "nzzzv")
vim.keymap.set("n", "N", "Nzzzv")
+-- Ensure :W does what :w does
+vim.cmd("command! -nargs=0 W w")
+
-- greatest remap ever
vim.keymap.set("x", "<leader>p", [["_dP]])