update jj config to also have 'p' as a shortcut, and jj diff

This commit is contained in:
Barak Michener 2025-10-29 11:46:00 -07:00
parent 46ac775d64
commit 16fddec80c
3 changed files with 16 additions and 7 deletions

View file

@ -40,7 +40,7 @@ size = 19.0
{{ else if eq .chezmoi.hostname "rosencrantz" -}}
size = 15.0
{{ else if eq .chezmoi.hostname "altair" -}}
size = 20.5
size = 22
{{ else -}}
size = 19.0
{{ end }}
@ -82,9 +82,13 @@ key = "U"
mods = "Control|Shift"
[[hints.enabled]]
command = "xdg-open"
post_processing = true
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+"
{{if eq .chezmoi.os "darwin" -}}
command = "open"
{{ else -}}
command = "xdg-open"
{{ end }}
[hints.enabled.binding]
key = "L"