Update telescope

This commit is contained in:
♥ Minnie ♥ 2024-08-07 14:27:36 +08:00
parent fdf8d742ce
commit 2b537f6c0d
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -19,40 +19,77 @@
# Configure our telescope keymaps. # Configure our telescope keymaps.
keymaps = { keymaps = {
# File Pickers
"<leader>ff" = { "<leader>ff" = {
action = "find_files"; action = "find_files";
options = { options = {
desc = "Find project files"; desc = "Find project files";
}; };
}; };
"<leader>fb" = {
action = "buffers";
options = {
desc = "Find open buffers";
};
};
"<leader>/" = { "<leader>/" = {
action = "live_grep"; action = "live_grep";
options = { options = {
desc = "Grep (root dir)"; desc = "Grep (root dir)";
}; };
}; };
# Vim Pickers
"<leader>fb" = {
action = "buffers";
options = {
desc = "Find open buffers";
};
};
"<leader>:" = { "<leader>:" = {
action = "command_history"; action = "command_history";
options = { options = {
desc = "Command History"; desc = "Command History";
}; };
}; };
"<leader>p" = {
action = "neoclip";
options.desc = "Persistent Clipboard";
};
"<leader>sc" = { "<leader>sc" = {
action = "commands"; action = "commands";
options = { options = {
desc = "Search Commands"; desc = "Search Commands";
}; };
}; };
# Git Pickers
"<leader>lc" = {
action = "git_bcommits";
options = {
desc = "List buffers commits";
};
};
"<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>p" = {
action = "neoclip";
options.desc = "Persistent Clipboard";
};
"<leader>sl" = { "<leader>sl" = {
action = "software-licenses find"; action = "software-licenses find";
options = { options = {