diff options
author | Matthew Lemon <y@yulqen.org> | 2023-08-16 17:10:30 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-08-16 17:10:30 +0100 |
commit | e362c45c3329cd260a2932f94ec0a95e90bc5c55 (patch) | |
tree | 9681003320bfb0476c48b511ae6939d9e7a90f3d /nvim-primeagen/lua | |
parent | 32e46461cfc98f55bc5c402f5835e033f601b0c1 (diff) |
Improves neovim config
Diffstat (limited to '')
-rw-r--r-- | nvim-primeagen/lua/lemon/packer.lua | 1 | ||||
-rw-r--r-- | nvim-primeagen/lua/lemon/remap.lua | 3 |
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]]) |