Browse Source

fix: harpoon keybinds

master
Tovi Jaeschke-Rogers 7 months ago
parent
commit
ffc5ebcc58
2 changed files with 15 additions and 52 deletions
  1. +0
    -37
      .config/nvim/lua/tovi/plugins/dashboard.lua
  2. +15
    -15
      .config/nvim/lua/tovi/plugins/harpoon.lua

+ 0
- 37
.config/nvim/lua/tovi/plugins/dashboard.lua View File

@ -1,37 +0,0 @@
return {
'nvimdev/dashboard-nvim',
event = 'VimEnter',
config = function()
require('dashboard').setup({
theme = 'hyper',
config = {
week_header = {
enable = true,
},
shortcut = {
{
desc = '󰊳 Update',
group = '@property',
action = 'Lazy update',
key = 'u'
},
{
icon = '',
icon_hl = '@variable',
desc = 'Files',
group = 'Label',
action = 'Telescope find_files',
key = 'f',
},
{
desc = ' dotfiles',
group = 'Number',
action = 'TelescopeDotfiles',
key = 'd',
},
},
},
})
end,
dependencies = { {'nvim-tree/nvim-web-devicons'}}
}

+ 15
- 15
.config/nvim/lua/tovi/plugins/harpoon.lua View File

@ -21,20 +21,20 @@ return {
harpoon.ui:toggle_quick_menu(harpoon:list()) harpoon.ui:toggle_quick_menu(harpoon:list())
end, { desc = "Toggle quick menu for harpoon" }) end, { desc = "Toggle quick menu for harpoon" })
-- keymap.set("n", "<C-x>", function()
-- harpoon:list():select(1)
-- end, { desc = "Go to first harpoon file" })
--
-- keymap.set("n", "<C-c>", function()
-- harpoon:list():select(2)
-- end, { desc = "Go to second harpoon file" })
--
-- keymap.set("n", "<C-v>", function()
-- harpoon:list():select(3)
-- end, { desc = "Go to third harpoon file" })
--
-- keymap.set("n", "<C-b>", function()
-- harpoon:list():select(4)
-- end, { desc = "Go to fourth harpoon file" })
keymap.set("n", "<C-S-h>", function()
harpoon:list():select(1)
end, { desc = "Go to first harpoon file" })
keymap.set("n", "<C-S-j>", function()
harpoon:list():select(2)
end, { desc = "Go to second harpoon file" })
keymap.set("n", "<C-S-k>", function()
harpoon:list():select(3)
end, { desc = "Go to third harpoon file" })
keymap.set("n", "<C-S-l>", function()
harpoon:list():select(4)
end, { desc = "Go to fourth harpoon file" })
end, end,
} }

Loading…
Cancel
Save