dotfiles

dot files
git clone git://git.rr3.xyz/dotfiles | git clone gits://git.rr3.xyz/dotfiles
Log | Files | Refs | Submodules

commit df22bf519aafd80b752572183abb8a67380d1b5b
parent 18bae94dca9420f75361be8e80ce623b4f346d95
Author: Robert Russell <robert@rr3.xyz>
Date:   Tue, 22 Sep 2026 14:38:22 -0700

zed: add keybinds for Git commit editor

Diffstat:
Mzed/.config/zed/keymap.json | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/zed/.config/zed/keymap.json b/zed/.config/zed/keymap.json @@ -236,6 +236,16 @@ }, }, + // Git editor + { + "context": "GitCommit > Editor && mode == auto_height", + "bindings": { + "enter": "editor::Newline", + "ctrl-enter": "git::Commit", + "ctrl-shift-enter": "git::Amend", + }, + }, + { // Currently, "VimControl" is an alias for "vim_mode == normal || // vim_mode == visual || vim_mode == operator", but this could change.