refactor mneumonics

This commit is contained in:
♥ Minnie ♥ 2025-04-17 20:49:04 +08:00
parent 76b5f16399
commit 0c866cfd92
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
6 changed files with 71 additions and 83 deletions

View file

@ -16,31 +16,24 @@
# Configure our telescope keymaps.
keymaps = {
# File Pickers
"<leader>sf" = {
action = "find_files";
options = {
desc = "Search project files";
};
};
"<leader>/" = {
action = "live_grep";
options = {
desc = "Grep (root dir)";
};
};
# Vim Pickers
"<leader>sb" = {
action = "buffers";
options = {
desc = "Search open buffers";
desc = "live_grep";
};
};
"<leader>:" = {
action = "command_history";
options = {
desc = "Command History";
desc = "command_history";
};
};
# Search
"<leader>sb" = {
action = "buffers";
options = {
desc = "Search open buffers";
};
};
"<leader>sc" = {
@ -49,46 +42,50 @@
desc = "Search Commands";
};
};
# Git Pickers
"<leader>lc" = {
action = "git_bcommits";
"<leader>sf" = {
action = "find_files";
options = {
desc = "List buffers commits";
desc = "Search project files";
};
};
"<leader>lC" = {
action = "git_commits";
options = {
desc = "List git commits";
};
};
"<leader>lb" = {
action = "git_branches";
options = {
desc = "List git branches";
};
};
"<leader>ld" = {
action = "git_status";
options = {
desc = "List git diff";
};
};
"<leader>ls" = {
action = "git_stash";
options = {
desc = "List git stash";
};
};
# Extensions
"<leader>sl" = {
action = "software-licenses find";
options = {
desc = "Search Software Licenses";
};
};
# List
"<leader>glc" = {
action = "git_bcommits";
options = {
desc = "List git commits";
};
};
"<leader>glC" = {
action = "git_commits";
options = {
desc = "List git commits";
};
};
"<leader>glb" = {
action = "git_branches";
options = {
desc = "List git branches";
};
};
"<leader>gld" = {
action = "git_status";
options = {
desc = "List git diff";
};
};
"<leader>gls" = {
action = "git_stash";
options = {
desc = "List git stash";
};
};
};
};
}