Re-add Neovim configuration files
Re-included from https://github.com/opdavies/opdavies.nvim.
This commit is contained in:
parent
634bf71c6e
commit
8244e157fd
48 changed files with 1864 additions and 97 deletions
13
config/neovim/plugin/harpoon.lua
Normal file
13
config/neovim/plugin/harpoon.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue