How to put a new line character in an abbreviation?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I tried the following commands:
:abb sm Summary:n
:abb sm Summary:\n
but it didn't work, nothing escaped, I ended up with the long form instead of a break.
Is there a way to do that from ex
mode? Is it something with one of those ^M characters? I can't remember how to do that.
abbreviations
add a comment |Â
up vote
3
down vote
favorite
I tried the following commands:
:abb sm Summary:n
:abb sm Summary:\n
but it didn't work, nothing escaped, I ended up with the long form instead of a break.
Is there a way to do that from ex
mode? Is it something with one of those ^M characters? I can't remember how to do that.
abbreviations
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I tried the following commands:
:abb sm Summary:n
:abb sm Summary:\n
but it didn't work, nothing escaped, I ended up with the long form instead of a break.
Is there a way to do that from ex
mode? Is it something with one of those ^M characters? I can't remember how to do that.
abbreviations
I tried the following commands:
:abb sm Summary:n
:abb sm Summary:\n
but it didn't work, nothing escaped, I ended up with the long form instead of a break.
Is there a way to do that from ex
mode? Is it something with one of those ^M characters? I can't remember how to do that.
abbreviations
abbreviations
edited 22 hours ago
paxdiablo
1,8821822
1,8821822
asked 2 days ago
leeand00
1,116821
1,116821
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
Use <cr>
instead of n
:
iabbrev sm Summary<cr>
You use generally use key notation in these cases, something you can find out more about by entering :h key-notation
.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Use <cr>
instead of n
:
iabbrev sm Summary<cr>
You use generally use key notation in these cases, something you can find out more about by entering :h key-notation
.
add a comment |Â
up vote
5
down vote
accepted
Use <cr>
instead of n
:
iabbrev sm Summary<cr>
You use generally use key notation in these cases, something you can find out more about by entering :h key-notation
.
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Use <cr>
instead of n
:
iabbrev sm Summary<cr>
You use generally use key notation in these cases, something you can find out more about by entering :h key-notation
.
Use <cr>
instead of n
:
iabbrev sm Summary<cr>
You use generally use key notation in these cases, something you can find out more about by entering :h key-notation
.
edited 22 hours ago
paxdiablo
1,8821822
1,8821822
answered 2 days ago
Peter Rincker
9,79611527
9,79611527
add a comment |Â
add a comment |Â
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%2fvi.stackexchange.com%2fquestions%2f17339%2fhow-to-put-a-new-line-character-in-an-abbreviation%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