mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2026-02-03 22:26:24 -05:00
update: harpoon configs
This commit is contained in:
parent
564d165a8a
commit
10191f7fbe
1 changed files with 54 additions and 34 deletions
|
|
@ -225,16 +225,6 @@
|
||||||
indent-blankline.enable = true;
|
indent-blankline.enable = true;
|
||||||
harpoon = {
|
harpoon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# keymaps = {
|
|
||||||
# addFile = "<leader>ha";
|
|
||||||
# toggleQuickMenu = "<C-e>";
|
|
||||||
# navFile = {
|
|
||||||
# "1" = "<leader>h;";
|
|
||||||
# "2" = "<leader>h,";
|
|
||||||
# "3" = "<leader>h.";
|
|
||||||
# "4" = "<leader>hp";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
yazi.enable = true;
|
yazi.enable = true;
|
||||||
gitsigns = {
|
gitsigns = {
|
||||||
|
|
@ -504,40 +494,70 @@
|
||||||
keymaps = [
|
keymaps = [
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>ha";
|
key = "<M-m>";
|
||||||
action.__raw = "function() require'harpoon':list():add() end";
|
action.__raw = "function() require'harpoon':list():add() end";
|
||||||
options.desc = "Harpoon add file";
|
options.desc = "Harpoon add file";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<C-e>";
|
key = "<M-i>";
|
||||||
action.__raw = "function() require'harpoon'.ui:toggle_quick_menu(require'harpoon':list()) end";
|
action.__raw = "function() require'harpoon'.ui:toggle_quick_menu(require'harpoon':list()) end";
|
||||||
options.desc = "Harpoon quick menu";
|
options.desc = "Harpoon quick menu";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>h;";
|
key = "<M-1>";
|
||||||
action.__raw = "function() require'harpoon':list():select(1) end";
|
action.__raw = "function() require'harpoon':list():select(1) end";
|
||||||
options.desc = "Harpoon file 1";
|
options.desc = "Harpoon file 1";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>h,";
|
key = "<M-2>";
|
||||||
action.__raw = "function() require'harpoon':list():select(2) end";
|
action.__raw = "function() require'harpoon':list():select(2) end";
|
||||||
options.desc = "Harpoon file 2";
|
options.desc = "Harpoon file 2";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>h.";
|
key = "<M-3>";
|
||||||
action.__raw = "function() require'harpoon':list():select(3) end";
|
action.__raw = "function() require'harpoon':list():select(3) end";
|
||||||
options.desc = "Harpoon file 3";
|
options.desc = "Harpoon file 3";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>hp";
|
key = "<M-4>";
|
||||||
action.__raw = "function() require'harpoon':list():select(4) end";
|
action.__raw = "function() require'harpoon':list():select(4) end";
|
||||||
options.desc = "Harpoon file 4";
|
options.desc = "Harpoon file 4";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<M-5>";
|
||||||
|
action.__raw = "function() require'harpoon':list():select(5) end";
|
||||||
|
options.desc = "Harpoon file 5";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<M-6>";
|
||||||
|
action.__raw = "function() require'harpoon':list():select(6) end";
|
||||||
|
options.desc = "Harpoon file 6";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<M-7>";
|
||||||
|
action.__raw = "function() require'harpoon':list():select(7) end";
|
||||||
|
options.desc = "Harpoon file 7";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<M-8>";
|
||||||
|
action.__raw = "function() require'harpoon':list():select(8) end";
|
||||||
|
options.desc = "Harpoon file 8";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<M-9>";
|
||||||
|
action.__raw = "function() require'harpoon':list():select(9) end";
|
||||||
|
options.desc = "Harpoon file 9";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<C-h>";
|
key = "<C-h>";
|
||||||
|
|
@ -547,24 +567,24 @@
|
||||||
remap = true;
|
remap = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
# {
|
||||||
mode = "n";
|
# mode = "n";
|
||||||
key = "<C-j>";
|
# key = "<C-j>";
|
||||||
action = "<C-w>j";
|
# action = "<C-w>j";
|
||||||
options = {
|
# options = {
|
||||||
desc = "Go to Lower Window";
|
# desc = "Go to Lower Window";
|
||||||
remap = true;
|
# remap = true;
|
||||||
};
|
# };
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
mode = "n";
|
# mode = "n";
|
||||||
key = "<C-k>";
|
# key = "<C-k>";
|
||||||
action = "<C-w>k";
|
# action = "<C-w>k";
|
||||||
options = {
|
# options = {
|
||||||
desc = "Go to Upper Window";
|
# desc = "Go to Upper Window";
|
||||||
remap = true;
|
# remap = true;
|
||||||
};
|
# };
|
||||||
}
|
# }
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<C-l>";
|
key = "<C-l>";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue