Add path shortcuts
This commit is contained in:
parent
aa22e410ec
commit
038a12fbef
|
@ -22,17 +22,37 @@ return {
|
||||||
map('n', '<leader>1', function()
|
map('n', '<leader>1', function()
|
||||||
harpoon:list():select(1)
|
harpoon:list():select(1)
|
||||||
end, { desc = '[Harpoon] Go to first buffer saved' })
|
end, { desc = '[Harpoon] Go to first buffer saved' })
|
||||||
|
|
||||||
map('n', '<leader>2', function()
|
map('n', '<leader>2', function()
|
||||||
harpoon:list():select(2)
|
harpoon:list():select(2)
|
||||||
end, { desc = '[Harpoon] Go to second buffer saved' })
|
end, { desc = '[Harpoon] Go to second buffer saved' })
|
||||||
|
|
||||||
map('n', '<leader>3', function()
|
map('n', '<leader>3', function()
|
||||||
harpoon:list():select(3)
|
harpoon:list():select(3)
|
||||||
end, { desc = '[Harpoon] Go to third buffer saved' })
|
end, { desc = '[Harpoon] Go to third buffer saved' })
|
||||||
|
|
||||||
map('n', '<leader>4', function()
|
map('n', '<leader>4', function()
|
||||||
harpoon:list():select(4)
|
harpoon:list():select(4)
|
||||||
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
||||||
|
|
||||||
map('n', '<leader>5', function()
|
map('n', '<leader>5', function()
|
||||||
harpoon:list():select(5)
|
harpoon:list():select(5)
|
||||||
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
||||||
|
|
||||||
|
map('n', '<leader>6', function()
|
||||||
|
harpoon:list():select(6)
|
||||||
|
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
||||||
|
|
||||||
|
map('n', '<leader>7', function()
|
||||||
|
harpoon:list():select(7)
|
||||||
|
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
||||||
|
|
||||||
|
map('n', '<leader>8', function()
|
||||||
|
harpoon:list():select(8)
|
||||||
|
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
||||||
|
|
||||||
|
map('n', '<leader>9', function()
|
||||||
|
harpoon:list():select(9)
|
||||||
|
end, { desc = '[Harpoon] Go to forth buffer saved' })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue