summaryrefslogtreecommitdiff
path: root/test/normal/insert-replace/cmd
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-02-03 00:26:57 +0100
committerMaxime Coste <mawww@kakoune.org>2024-02-05 21:42:02 +1100
commit24bf123503c06c44e73892aaf1ae550ae11af66e (patch)
tree446f7cf384ec54b6c6d2347483a55093a32291dd /test/normal/insert-replace/cmd
parent86d940c225d4d1e316efebf6d915feaa1aa49f63 (diff)
rc tools git: while blame annotations are shown, map <ret> to "git blame-jump"
Running git blame signals intent to view the blamed commit. Let's make `<ret>` to go to that commit+line as long as blame info is shown. In diff buffers we already use `<ret>` for "diff-jump". Like blame annotations, the blame-jump mapping lives in window scope. This means it will not collide with "diff-jump" which is mapped in buffer scope. Add the mapping synchronously (unlike the rest of the git-blame code) to perhaps allow the user to override the mapping: git blame; map window normal <ret> ...
Diffstat (limited to 'test/normal/insert-replace/cmd')
0 files changed, 0 insertions, 0 deletions