From 4a15543ae7d2b64a674b115642a4d91b722486d2 Mon Sep 17 00:00:00 2001 From: Bogdan Buduroiu Date: Fri, 2 May 2025 10:28:14 +0800 Subject: [PATCH] housekeeping: fugitive & telescope mappings --- .gitignore | 1 + nvim/lua/mappings.lua | 3 ++- nvim/lua/plugins/init.lua | 9 +-------- 3 files changed, 4 insertions(+), 9 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0ac3ed --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.aider* diff --git a/nvim/lua/mappings.lua b/nvim/lua/mappings.lua index 2b9b99c..4a05c31 100644 --- a/nvim/lua/mappings.lua +++ b/nvim/lua/mappings.lua @@ -1,4 +1,4 @@ -require "nvchad.mappings" +require("nvchad.mappings") -- add yours here @@ -14,3 +14,4 @@ map("n", "", " Telescope live_grep") map("n", "fs", " Telescope grep_string") map("n", "fb", " Telescope buffers") map("n", "fh", " Telescope help_tags") +map("n", "co", " Telescope git_branches") diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index fba0517..dc6f26b 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -34,6 +34,7 @@ return { cmd = { "Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse" }, keys = { { "gs", "vertical Git" }, + { "gb", "Git blame" }, desc = "Open Fugitive", }, opts = { @@ -167,14 +168,6 @@ return { }, }, }, - { - "knubie/vim-kitty-navigator", - enabled = true, - lazy = false, - build = { - "cp ./*.py ~/.config/kitty/", - }, - }, { "gfontenot/vim-xcode", enabled = true,