mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ditch fennel ? (#3)
yes Reviewed-on: https://git.earth2077.fr/leana/.files/pulls/3 Co-authored-by: Léana 江 <leana.jiang@icloud.com> Co-committed-by: Léana 江 <leana.jiang@icloud.com>
This commit is contained in:
parent
d0cb07df6d
commit
b81732fcf2
41 changed files with 1370 additions and 1114 deletions
19
.config/nvim/lua/plugins/_harpoon.lua
Normal file
19
.config/nvim/lua/plugins/_harpoon.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
require "harpoon".setup()
|
||||
|
||||
local ui = require "harpoon.ui"
|
||||
local mark = require "harpoon.mark"
|
||||
local map = vim.keymap.set
|
||||
|
||||
-- add and view
|
||||
map({ "n", "i" }, "<A-c>", function() mark.add_file() end)
|
||||
map({ "n", "i" }, "<A-g>", function() ui.toggle_quick_menu() end)
|
||||
|
||||
-- switch it up!
|
||||
map({ "n", "i" }, "<A-h>", function() ui.nav_file(1) end)
|
||||
map({ "n", "i" }, "<A-t>", function() ui.nav_file(2) end)
|
||||
map({ "n", "i" }, "<A-n>", function() ui.nav_file(3) end)
|
||||
map({ "n", "i" }, "<A-s>", function() ui.nav_file(4) end)
|
||||
map({ "n", "i" }, "<A-m>", function() ui.nav_file(5) end)
|
||||
map({ "n", "i" }, "<A-w>", function() ui.nav_file(6) end)
|
||||
map({ "n", "i" }, "<A-v>", function() ui.nav_file(7) end)
|
||||
map({ "n", "i" }, "<A-z>", function() ui.nav_file(8) end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue