Re-add Neovim configuration files

Re-included from https://github.com/opdavies/opdavies.nvim.
This commit is contained in:
Oliver Davies 2024-10-09 18:32:36 +01:00
parent 634bf71c6e
commit 8244e157fd
48 changed files with 1864 additions and 97 deletions

View file

@ -0,0 +1,13 @@
require("harpoon").setup()
local mark = require "harpoon.mark"
local ui = require "harpoon.ui"
vim.keymap.set("n", "<M-h><M-l>", ui.toggle_quick_menu)
vim.keymap.set("n", "<M-h><M-m>", mark.add_file)
for i = 1, 5 do
vim.keymap.set("n", string.format("<space>%s", i), function()
ui.nav_file(i)
end)
end