From d00bf2cb2d5087164fa509a4f20a2be62a519044 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:18 +0100 Subject: refactor: restructure to chezmoi source state Rename home/ contents to chezmoi naming conventions: - dot_ prefix for dotfiles and dot-dirs - private_dot_ for .gnupg and .ssh directories - private_ for 0600 files (nym.pub) - executable_ for scripts in .local/bin and display-toggle.sh - symlink_ for mimeapps.list symlink --- dot_config/nvim/after/ftplugin/gitrebase.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dot_config/nvim/after/ftplugin/gitrebase.lua (limited to 'dot_config/nvim/after/ftplugin/gitrebase.lua') diff --git a/dot_config/nvim/after/ftplugin/gitrebase.lua b/dot_config/nvim/after/ftplugin/gitrebase.lua new file mode 100644 index 0000000..1bfcd69 --- /dev/null +++ b/dot_config/nvim/after/ftplugin/gitrebase.lua @@ -0,0 +1,16 @@ +local function nvmap(l, r, desc) + vim.keymap.set( + { "n", "v" }, + l, + ":" .. r .. "", + { buffer = 0, desc = "[G]it rebase " .. desc } + ) +end + +nvmap("gc", "Cycle", "[C]ycle") +nvmap("gp", "Pick", "[P]ick") +nvmap("ge", "Edit", "[E]dit") +nvmap("gf", "Fixup", "[F]ixup") +nvmap("gd", "Drop", "[D]rop") +nvmap("gs", "Squash", "[S]quash") +nvmap("gr", "Reword", "[R]eword") -- cgit v1.2.3-70-g09d2