From 58f1cfb2426a8dbe6afd57b808cae7842b804523 Mon Sep 17 00:00:00 2001 From: locker98 Date: Wed, 1 Jan 2025 18:08:16 -0500 Subject: [PATCH] added readme --- README.md | 9 +++++++++ after/plugin/harpoon.lua | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a926479 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Neovim Config + +This is my Neovim configuration file that I use every day. To install it, navigate to `~/.config/` and then use the `git clone` command. + +```bash +cd ~/.config/ +git clone https://gitea.locker98.com/locker98/nvim.git +``` +Next, open the `init.lua` file with Neovim and then run the `:PackerSync` command to pull all the installed packages. diff --git a/after/plugin/harpoon.lua b/after/plugin/harpoon.lua index 9e19f47..308b734 100644 --- a/after/plugin/harpoon.lua +++ b/after/plugin/harpoon.lua @@ -4,9 +4,9 @@ local ui = require("harpoon.ui") vim.keymap.set("n", "r", mark.add_file) vim.keymap.set("n", "t", ui.toggle_quick_menu) --- vim.keymap.set("n", "a", function() ui.nav_file(1) end) --- vim.keymap.set("n", "s", function() ui.nav_file(2) end) --- vim.keymap.set("n", "d", function() ui.nav_file(3) end) --- vim.keymap.set("n", "f", function() ui.nav_file(4) end) --- +vim.keymap.set("n", "a", function() ui.nav_file(1) end) +vim.keymap.set("n", "s", function() ui.nav_file(2) end) +vim.keymap.set("n", "d", function() ui.nav_file(3) end) +vim.keymap.set("n", "f", function() ui.nav_file(4) end) +