housekeeping: fugitive & telescope mappings
This commit is contained in:
parent
8c26eb3c54
commit
4a15543ae7
3 changed files with 4 additions and 9 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.aider*
|
|
@ -1,4 +1,4 @@
|
||||||
require "nvchad.mappings"
|
require("nvchad.mappings")
|
||||||
|
|
||||||
-- add yours here
|
-- add yours here
|
||||||
|
|
||||||
|
@ -14,3 +14,4 @@ map("n", "<C-f>", "<cmd> Telescope live_grep<cr>")
|
||||||
map("n", "<leader>fs", "<cmd> Telescope grep_string<cr>")
|
map("n", "<leader>fs", "<cmd> Telescope grep_string<cr>")
|
||||||
map("n", "<leader>fb", "<cmd> Telescope buffers<cr>")
|
map("n", "<leader>fb", "<cmd> Telescope buffers<cr>")
|
||||||
map("n", "<leader>fh", "<cmd> Telescope help_tags<cr>")
|
map("n", "<leader>fh", "<cmd> Telescope help_tags<cr>")
|
||||||
|
map("n", "<leader>co", "<cmd> Telescope git_branches<cr>")
|
||||||
|
|
|
@ -34,6 +34,7 @@ return {
|
||||||
cmd = { "Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse" },
|
cmd = { "Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse" },
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>gs", "<cmd>vertical Git<cr>" },
|
{ "<leader>gs", "<cmd>vertical Git<cr>" },
|
||||||
|
{ "<leader>gb", "<cmd>Git blame<cr>" },
|
||||||
desc = "Open Fugitive",
|
desc = "Open Fugitive",
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
|
@ -167,14 +168,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"knubie/vim-kitty-navigator",
|
|
||||||
enabled = true,
|
|
||||||
lazy = false,
|
|
||||||
build = {
|
|
||||||
"cp ./*.py ~/.config/kitty/",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"gfontenot/vim-xcode",
|
"gfontenot/vim-xcode",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue