-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from mcgilly17/main
Feat: move general mappings to which-key v3
- Loading branch information
Showing
6 changed files
with
159 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,117 @@ | ||
{ | ||
# TODO: Implement general mappings | ||
plugins.which-key = { | ||
enable = true; | ||
ignoreMissing = false; | ||
icons = { | ||
breadcrumb = "»"; | ||
group = "+"; | ||
separator = ""; # ➜ | ||
}; | ||
# registrations = { | ||
# "<leader>t" = " Terminal"; | ||
# }; | ||
window = { | ||
border = "none"; | ||
winblend = 0; | ||
settings = { | ||
icons = { | ||
breadcrumb = "»"; | ||
group = "+"; | ||
separator = ""; # ➜ | ||
}; | ||
spec = [ | ||
# Harpoon Configs | ||
{ | ||
__unkeyed-1 = "<leader>h"; | ||
mode = "n"; | ||
group = "+harpoon"; | ||
icon = ""; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>ha"; | ||
mode = "n"; | ||
group = "Add file to Harpoon"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>hj"; | ||
mode = "n"; | ||
group = "Harpoon File 1"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>hk"; | ||
mode = "n"; | ||
group = "Harpoon File 2"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>hl"; | ||
mode = "n"; | ||
group = "Harpoon File 3"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>hm"; | ||
mode = "n"; | ||
group = "Harpoon File 4"; | ||
} | ||
|
||
# General Mappings | ||
{ | ||
__unkeyed-1 = "<leader>c"; | ||
mode = [ | ||
"n" | ||
"v" | ||
]; | ||
group = "+code"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>d"; | ||
mode = [ | ||
"n" | ||
"v" | ||
]; | ||
group = "+debug"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader>f"; | ||
mode = "n"; | ||
group = "+find/file"; | ||
} | ||
|
||
{ | ||
__unkeyed-1 = "<leader>g"; | ||
mode = [ | ||
"n" | ||
"v" | ||
]; | ||
group = "+git"; | ||
} | ||
|
||
{ | ||
__unkeyed-1 = "<leader>q"; | ||
mode = "n"; | ||
group = "+quit/session"; | ||
} | ||
|
||
{ | ||
__unkeyed-1 = "<leader>s"; | ||
mode = "n"; | ||
group = "+search"; | ||
} | ||
{ | ||
__unkeyed-1 = "<leader><Tab>"; | ||
mode = "n"; | ||
group = "+tab"; | ||
} | ||
|
||
{ | ||
__unkeyed-1 = "<leader>t"; | ||
mode = "n"; | ||
group = "+test"; | ||
} | ||
|
||
{ | ||
__unkeyed-1 = "<leader>u"; | ||
mode = "n"; | ||
group = "+ui"; | ||
} | ||
|
||
{ | ||
__unkeyed-1 = "<leader>w"; | ||
mode = "n"; | ||
group = "+windows"; | ||
} | ||
]; | ||
win = { | ||
border = "none"; | ||
wo.winblend = 0; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.