Skip to content

Commit c0d8f9c

Browse files
committed
git
1 parent 53b3035 commit c0d8f9c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

home/.config/wezterm/wezterm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ config.keys = {
2929
{ key = 'C', mods = 'SUPER', action = act.CopyTo 'Clipboard' },
3030
{ key = 'V', mods = 'SUPER', action = act.PasteFrom 'Clipboard' },
3131
{ key = 'F', mods = 'SHIFT|CTRL', action = act.Search 'CurrentSelectionOrEmptyString' },
32-
{ key = ' ', mods = 'SHIFT|CTRL', action = act.ActivateCopyMode },
32+
-- { key = ' ', mods = 'SHIFT|CTRL', action = act.ActivateCopyMode },
3333

3434
{
3535
key = 'p',

home/.gitconfig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,15 @@
2828
# diff
2929
d = diff
3030
dc = diff --cached
31-
wd = diff --word-diff=plain
3231
last = diff HEAD^
32+
# `git log` with patches shown with difftastic.
33+
dl = -c diff.external=difft log -p --ext-diff
34+
35+
# Show the most recent commit with difftastic.
36+
ds = -c diff.external=difft show --ext-diff
37+
38+
# `git diff` with difftastic.
39+
dft = -c diff.external=difft diff
3340

3441
# grep
3542
gr = grep -Ii

0 commit comments

Comments
 (0)