From ec6f647bf2f0e3b68bdb8e377897a7dddff90b1f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 13 Aug 2023 17:43:41 +0100 Subject: More neovim changes --- nvim-primeagen/lua/lemon/packer.lua | 1 + nvim-primeagen/lua/lemon/remap.lua | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'nvim-primeagen/lua/lemon') diff --git a/nvim-primeagen/lua/lemon/packer.lua b/nvim-primeagen/lua/lemon/packer.lua index 83da426..5cedc4d 100644 --- a/nvim-primeagen/lua/lemon/packer.lua +++ b/nvim-primeagen/lua/lemon/packer.lua @@ -92,6 +92,7 @@ return require('packer').startup(function(use) -- use("laytan/cloak.nvim") use("jlanzarotta/bufexplorer") use("mhinz/vim-signify") + use("lervag/vimtex") use { "nvim-neotest/neotest", requires = { 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", "pv", vim.cmd.Ex) vim.keymap.set("v", "J", ":m '>+1gv=gv") vim.keymap.set("v", "K", ":m '<-2gv=gv") -vim.keymap.set("n", "J", "mzJ`z") vim.keymap.set("n", "", "zz") +vim.keymap.set("n", "J", "mzJ`z") vim.keymap.set("n", "", "zz") vim.keymap.set("n", "n", "nzzzv") vim.keymap.set("n", "N", "Nzzzv") @@ -35,7 +36,7 @@ vim.keymap.set("n", "j", "lprevzz") vim.keymap.set("n", "s", [[:%s/\<\>//gI]]) vim.keymap.set("n", "x", "!chmod +x %", { silent = true }) -vim.keymap.set("n", "ev", "e ~/dotfiles/nvim/lua/lemon/packer.lua"); +vim.keymap.set("n", "ev", "e ~/dotfiles/nvim-primeagen/lua/lemon/packer.lua"); vim.keymap.set("n", "mr", "CellularAutomaton make_it_rain"); vim.keymap.set("n", "", function() -- cgit v1.2.3