refactor mneumonics
This commit is contained in:
parent
76b5f16399
commit
0c866cfd92
6 changed files with 71 additions and 83 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,25 +13,7 @@
|
|||
desc = "+search";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>h";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+hunks";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>t";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+toggle";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>b";
|
||||
|
@ -61,11 +43,20 @@
|
|||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>l";
|
||||
key = "<leader>gl";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+list";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gt";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+toggle";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue