Julian Prein 733481900f vim:keys: Fix commit reference when at EOL
Fix the commit reference mapping `<leader>grc` in the case that nothing
follows the commit hash on the line. In that case the join would add a
trailing space.

`gJ` is not suitable as that would break in the other case that text
follows. When splitting the line behind the commit hash, the space in
front of whatever follows is deleted. Thus when joining everything
together at the end, there would be no space between the closing
parentheses and the rest.

Using the `system()` was the only solution I found to insert the subject
directly behind the hash without destroying the formatting and the text
behind it.

For this to work the trailing newline had to be cut off of git's output.
2022-07-12 20:59:58 +02:00
2022-03-31 03:20:59 +02:00
2022-06-23 23:58:54 +02:00
2022-06-23 23:58:51 +02:00
2021-04-12 21:01:31 +02:00
2020-11-03 00:46:38 +01:00

My dotfiles

Installation

$ ./meta/install
Description
No description provided
Readme MIT 3 MiB
Languages
Shell 79.7%
Vim Script 18.7%
JavaScript 0.6%
CSS 0.6%
Python 0.3%