summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-04-16 20:56:26 +0200
committerAlan Pearce2024-04-16 20:56:26 +0200
commitb0f71978e87f6193897dfe74498cc78b635fcce3 (patch)
tree3a10c05dd33488e085497340356116cc4f1a33ca /user
parent448551198694e42ef4dab99a8fb2d41edd04b571 (diff)
downloadnixfiles-b0f71978e87f6193897dfe74498cc78b635fcce3.tar.lz
nixfiles-b0f71978e87f6193897dfe74498cc78b635fcce3.tar.zst
nixfiles-b0f71978e87f6193897dfe74498cc78b635fcce3.zip
emacs: tweak smerge-resolve hydra
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 8dd7831c..1722d392 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -288,15 +288,15 @@ With two prefix arguments, write out the day and month name."
     (:color pink :hint nil :post (smerge-auto-leave))
     "
 ^Move^       ^Keep^               ^Diff^                 ^Other^
-^^-----------^^-------------------^^---------------------^^-------
-_n_ext       _b_ase               _<_: upper/base        _C_ombine
-_p_rev       _u_pper              _=_: upper/lower       _r_esolve
+^^-----------^^-------------------^^---------------------^^-------------
+_C-j_: next  _b_ase               _<_: upper/base        _C_ombine
+_C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 ^^           _l_ower              _>_: base/lower        _k_ill current
-^^           _a_ll                _R_efine
+^^           _a_ll                _R_efine (words)
 ^^           _RET_: current       _E_diff
 "
-    ("n" smerge-next)
-    ("p" smerge-prev)
+    ("C-j" smerge-next)
+    ("C-k" smerge-prev)
     ("b" smerge-keep-base)
     ("u" smerge-keep-upper)
     ("l" smerge-keep-lower)
@@ -309,7 +309,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
     ("R" smerge-refine)
     ("E" smerge-ediff)
     ("C" smerge-combine-with-next)
-    ("r" smerge-resolve)
+    ("s" smerge-resolve)
     ("k" smerge-kill-current)
     ("w" (lambda ()
            (interactive)