Commit Graph
3 Commits
Author SHA1 Message Date
Tomáš Janoušek 1f7bfa4007 [[B]Commits] Use --color=always with delta as well (#1362)
With some delta configurations (e.g. color-only = true, diff-highlight =
true), delta doesn't add its own coloring and keeps that from git diff,
and thus we need to turn that on.

Additionally, delta doesn't do its own detection of moved lines and
relies on git diff's colorMoved, which also needs enabling of colors.
2022-02-01 15:34:48 +09:00
Tomáš Janoušek 70541d2ee0 [Commands] Fix hit-enter/more-prompt with terminal buffer fzf (#1363)
Since https://github.com/junegunn/fzf//commit/85ae7459103c3aeef39383d8c8a4fbbdb9fb5f64,
fzf opens in a terminal buffer (in my setup) and that breaks commands
that end up showing the hit-enter or more prompt, such as :scriptnames
or :ALEInfo. No idea why those commands break (I tried to diagnose this
but gave up unfortunately), but executing them using feedkeys fixes
this.
2022-01-30 13:28:24 +09:00
Tomáš Janoušek 5c87ab86c0 [Tags] Workaround for last-position-jump (#810)
If there's an autocmd for BufReadPost that jumps to the last position,
searching for the tag location sometimes results in vim printing the
wrapscan warning and then requires hit-enter. Execute the search
silently to suppress the warning (errors are still visible!).
2019-05-14 18:46:01 +09:00