From 256c37a946aeb00382c17778a917c7af2805d733 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 17 Aug 2024 15:15:30 +0200 Subject: [PATCH] update vim-fugitive mapping --- lua/config/fugitive.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/config/fugitive.lua b/lua/config/fugitive.lua index b92415a..306d71b 100644 --- a/lua/config/fugitive.lua +++ b/lua/config/fugitive.lua @@ -10,8 +10,8 @@ keymap.set("v", "gb", ":Git blame", { desc = "Git: blame selected li -- convert git to Git in command line mode vim.fn["utils#Cabbrev"]("git", "Git") -keymap.set("n", "gnb", function() - vim.ui.input({ prompt = "Enter the new branch nmae" }, function(user_input) +keymap.set("n", "gbn", function() + vim.ui.input({ prompt = "Enter a new branch name" }, function(user_input) if user_input == nil or user_input == "" then return end