diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2022-02-05 19:34:49 +0100 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2022-03-06 09:49:55 +0100 |
| commit | 49de2b91c4693a8c9673749c9ad08e6dd3051b73 (patch) | |
| tree | 6dab7d45c6279efa1a5857d7435e54d3d0e3f283 /src/input_handler.cc | |
| parent | 1c2e1e10904f83f98b49bed04a945ffd82a35312 (diff) | |
rc diff: bind diff-jump in all filetype=diff buffers, not just *.diff or *.patch files
Mapping in the filetype hook matches others like grep.kak and man.kak.
Since we map in buffer scope, git diff buffers will override diff-jump
with git-diff-goto-source.
This means that the diff-jump binding applies here:
diff -u "$1" "$2" | kak -e 'set buffer filetype diff'
Reported in: https://github.com/mawww/kakoune/issues/153#issuecomment-1030643854
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
