How to put the cursor at start of file when committing Git changes?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
git commit
and similar open Vim with the cursor at the start of the line I was last editing in a commit message, even though that was a different commit. What would be the best way to set it up to always put the cursor at the start of the file? (Or alternatively the end of the first line, since that's useful when using a commit title template.) Ideally this should be a Vim configuration, because I rely on $VISUAL
rather than configuring editors for everything separately.
vim configuration git
add a comment |Â
up vote
0
down vote
favorite
git commit
and similar open Vim with the cursor at the start of the line I was last editing in a commit message, even though that was a different commit. What would be the best way to set it up to always put the cursor at the start of the file? (Or alternatively the end of the first line, since that's useful when using a commit title template.) Ideally this should be a Vim configuration, because I rely on $VISUAL
rather than configuring editors for everything separately.
vim configuration git
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
git commit
and similar open Vim with the cursor at the start of the line I was last editing in a commit message, even though that was a different commit. What would be the best way to set it up to always put the cursor at the start of the file? (Or alternatively the end of the first line, since that's useful when using a commit title template.) Ideally this should be a Vim configuration, because I rely on $VISUAL
rather than configuring editors for everything separately.
vim configuration git
git commit
and similar open Vim with the cursor at the start of the line I was last editing in a commit message, even though that was a different commit. What would be the best way to set it up to always put the cursor at the start of the file? (Or alternatively the end of the first line, since that's useful when using a commit title template.) Ideally this should be a Vim configuration, because I rely on $VISUAL
rather than configuring editors for everything separately.
vim configuration git
vim configuration git
asked 4 mins ago
l0b0
26.7k17107234
26.7k17107234
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475187%2fhow-to-put-the-cursor-at-start-of-file-when-committing-git-changes%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password