aboutsummaryrefslogtreecommitdiffstats
path: root/nvim-primeagen/lua/lemon/remap.lua
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-08-13 17:43:41 +0100
committerMatthew Lemon <y@yulqen.org>2023-08-13 17:43:41 +0100
commitec6f647bf2f0e3b68bdb8e377897a7dddff90b1f (patch)
treec44fab82c513a73663bcbf1976393da5ca080d0f /nvim-primeagen/lua/lemon/remap.lua
parentf2c60848333761c960e28f0df7cd06fdb53f6864 (diff)
More neovim changes
Diffstat (limited to '')
-rw-r--r--nvim-primeagen/lua/lemon/remap.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/nvim-primeagen/lua/lemon/remap.lua b/nvim-primeagen/lua/lemon/remap.lua
index 0d2f247..642cb69 100644
--- a/nvim-primeagen/lua/lemon/remap.lua
+++ b/nvim-primeagen/lua/lemon/remap.lua
@@ -1,12 +1,13 @@
-- ThePrimeagent's stuff
vim.g.mapleader = " "
+vim.g.maplocalleader = ","
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
-vim.keymap.set("n", "J", "mzJ`z")
vim.keymap.set("n", "<C-d>", "<C-d>zz")
+vim.keymap.set("n", "J", "mzJ`z")
vim.keymap.set("n", "<C-u>", "<C-u>zz")
vim.keymap.set("n", "n", "nzzzv")
vim.keymap.set("n", "N", "Nzzzv")
@@ -35,7 +36,7 @@ vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz")
vim.keymap.set("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]])
vim.keymap.set("n", "<leader>x", "<cmd>!chmod +x %<CR>", { silent = true })
-vim.keymap.set("n", "<leader>ev", "<cmd>e ~/dotfiles/nvim/lua/lemon/packer.lua<CR>");
+vim.keymap.set("n", "<leader>ev", "<cmd>e ~/dotfiles/nvim-primeagen/lua/lemon/packer.lua<CR>");
vim.keymap.set("n", "<leader>mr", "<cmd>CellularAutomaton make_it_rain<CR>");
vim.keymap.set("n", "<leader><leader>", function()