mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Small cleanups
This commit is contained in:
@@ -6,6 +6,10 @@ return {
|
||||
keys = {
|
||||
{ "<leader>f", "<cmd>Telescope find_files<cr>", desc = "Find Files" },
|
||||
{ "<leader>F", "<cmd>Telescope ripgrep theme=ivy<cr>", desc = "Grep" },
|
||||
-- { "<leader>gl", "<cmd>Telescope git_commits<cr>", desc = "Git log" },
|
||||
-- { "<leader>gh", "<cmd>Telescope git_bcommits<cr>", desc = "Git history" },
|
||||
-- { "<leader>gB", "<cmd>Telescope git_branches<cr>", desc = "Git branches" },
|
||||
-- { "<leader>gs", "<cmd>Telescope git_status<cr>", desc = "Git status" },
|
||||
{
|
||||
"<leader>gl",
|
||||
function()
|
||||
@@ -79,6 +83,7 @@ return {
|
||||
find_command = { "fd", "--type", "f", "--strip-cwd-prefix", "-E", ".git" },
|
||||
},
|
||||
git_commits = {
|
||||
-- use_file_path = true,
|
||||
mappings = {
|
||||
i = {
|
||||
["<CR>"] = git_show,
|
||||
@@ -87,6 +92,7 @@ return {
|
||||
},
|
||||
},
|
||||
git_bcommits = {
|
||||
-- use_file_path = true,
|
||||
mappings = {
|
||||
i = {
|
||||
["<CR>"] = git_show,
|
||||
@@ -94,6 +100,18 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
git_branches = {
|
||||
-- use_file_path = true,
|
||||
show_remote_tracking_branches = false,
|
||||
mappings = {
|
||||
mappings = {
|
||||
i = { ["<cr>"] = actions.git_switch_branch },
|
||||
},
|
||||
}
|
||||
},
|
||||
git_status = {
|
||||
-- use_file_path = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user