Add buffer space on line wrapsFastest way to switch to a buffer in vim?Can the split separator in vim be less than a full column wide?Hide statusline when more than two windows open without suffering the extra hidden empty line artifact?How to jump back to the cursor position before I entered insert mode?Vim split overflow“scroll-smooth” remapping works only in second bufferHow to split the page adding a page from buffer (combining :sp/vs with :b)How to open a vertical split to the main view not just next to the current one in case of horizontal splitted viewport?Split same file into multiple windows “extending” each otherTrouble mapping <control-pipe> in new keybinds
How to draw a gif with expanding circles that reveal lines connecting a non-centered point to the expanding circle using Tikz
Adding a vertical line at the right end of the horizontal line in frac
Are there any double stars that I can actually see orbit each other?
How did John Lennon tune his guitar
Too many spies!
Confused about 誘われて (Sasowarete)
Why is "dark" an adverb in this sentence?
Is this a Lost Mine of Phandelver Plot Hole?
Extract an attribute value from XML
How can we better understand multiplicative inverse modulo something?
Could the crash sites of the Apollo 11 and 16 LMs be seen by the LRO?
3D-Plot with an inequality condition for parameter values
How would someone destroy a black hole that’s at the centre of a planet?
Project Euler, problem # 9, Pythagorean triplet
Will it hurt my career to work as a graphic designer in a startup for beauty and skin care?
Why do candidates not quit if they no longer have a realistic chance to win in the 2020 US presidents election
Why is dry soil hydrophobic? Bad gardener paradox
Cubic programming and beyond?
HackerRank: Electronics Shop
How to determine port and starboard on a rotating wheel space station?
Absconding a company after 1st day of joining
Did the Shuttle's rudder or elevons operate when flown on its carrier 747?
Was adding milk to tea started to reduce employee tea break time?
How to use "regular expression" to separate specific strings in Oracle
Add buffer space on line wraps
Fastest way to switch to a buffer in vim?Can the split separator in vim be less than a full column wide?Hide statusline when more than two windows open without suffering the extra hidden empty line artifact?How to jump back to the cursor position before I entered insert mode?Vim split overflow“scroll-smooth” remapping works only in second bufferHow to split the page adding a page from buffer (combining :sp/vs with :b)How to open a vertical split to the main view not just next to the current one in case of horizontal splitted viewport?Split same file into multiple windows “extending” each otherTrouble mapping <control-pipe> in new keybinds
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Is there a way to add some buffer space between the vertical separator and the content of a file in vertical split mode?
Another way to say this:
How do I force vim to not let a line touch a vertical separator. Yes, line wrapping is on. I do not want the line to touch the vertical separator, nor the edge of the screen if it is on the right split.
vimrc split
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Is there a way to add some buffer space between the vertical separator and the content of a file in vertical split mode?
Another way to say this:
How do I force vim to not let a line touch a vertical separator. Yes, line wrapping is on. I do not want the line to touch the vertical separator, nor the edge of the screen if it is on the right split.
vimrc split
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Is there a way to add some buffer space between the vertical separator and the content of a file in vertical split mode?
Another way to say this:
How do I force vim to not let a line touch a vertical separator. Yes, line wrapping is on. I do not want the line to touch the vertical separator, nor the edge of the screen if it is on the right split.
vimrc split
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is there a way to add some buffer space between the vertical separator and the content of a file in vertical split mode?
Another way to say this:
How do I force vim to not let a line touch a vertical separator. Yes, line wrapping is on. I do not want the line to touch the vertical separator, nor the edge of the screen if it is on the right split.
vimrc split
vimrc split
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 10 hours ago
K. Shores
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 10 hours ago
K. ShoresK. Shores
1135 bronze badges
1135 bronze badges
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
K. Shores is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
This is perhaps not exactly what you're looking for, but setting the 'linebreak' option adds enough whitespace to the right margin to create enough of a visual buffer, when 'wrap' is enabled.
Typically, it will insert at least one space before the end of a wrapped line. If a word would end exactly at the margin, adding a space will move it to the next line. One of the few exceptions where a word can touch the right margin is if it's the last word in a line (so no wrapping occurs there.)
Hopefully this will be close enough to what you're looking for.
1
Good enough for me. Thanks
– K. Shores
5 hours ago
add a comment |
Quick thoughts:
- If the lines are too long, try
set wrap - You could also resize the window with the resizing commands (e.g.
<C-w>>)
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "599"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
K. Shores is a new contributor. Be nice, and check out our Code of Conduct.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fvi.stackexchange.com%2fquestions%2f20610%2fadd-buffer-space-on-line-wraps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is perhaps not exactly what you're looking for, but setting the 'linebreak' option adds enough whitespace to the right margin to create enough of a visual buffer, when 'wrap' is enabled.
Typically, it will insert at least one space before the end of a wrapped line. If a word would end exactly at the margin, adding a space will move it to the next line. One of the few exceptions where a word can touch the right margin is if it's the last word in a line (so no wrapping occurs there.)
Hopefully this will be close enough to what you're looking for.
1
Good enough for me. Thanks
– K. Shores
5 hours ago
add a comment |
This is perhaps not exactly what you're looking for, but setting the 'linebreak' option adds enough whitespace to the right margin to create enough of a visual buffer, when 'wrap' is enabled.
Typically, it will insert at least one space before the end of a wrapped line. If a word would end exactly at the margin, adding a space will move it to the next line. One of the few exceptions where a word can touch the right margin is if it's the last word in a line (so no wrapping occurs there.)
Hopefully this will be close enough to what you're looking for.
1
Good enough for me. Thanks
– K. Shores
5 hours ago
add a comment |
This is perhaps not exactly what you're looking for, but setting the 'linebreak' option adds enough whitespace to the right margin to create enough of a visual buffer, when 'wrap' is enabled.
Typically, it will insert at least one space before the end of a wrapped line. If a word would end exactly at the margin, adding a space will move it to the next line. One of the few exceptions where a word can touch the right margin is if it's the last word in a line (so no wrapping occurs there.)
Hopefully this will be close enough to what you're looking for.
This is perhaps not exactly what you're looking for, but setting the 'linebreak' option adds enough whitespace to the right margin to create enough of a visual buffer, when 'wrap' is enabled.
Typically, it will insert at least one space before the end of a wrapped line. If a word would end exactly at the margin, adding a space will move it to the next line. One of the few exceptions where a word can touch the right margin is if it's the last word in a line (so no wrapping occurs there.)
Hopefully this will be close enough to what you're looking for.
answered 6 hours ago
filbrandenfilbranden
9172 silver badges12 bronze badges
9172 silver badges12 bronze badges
1
Good enough for me. Thanks
– K. Shores
5 hours ago
add a comment |
1
Good enough for me. Thanks
– K. Shores
5 hours ago
1
1
Good enough for me. Thanks
– K. Shores
5 hours ago
Good enough for me. Thanks
– K. Shores
5 hours ago
add a comment |
Quick thoughts:
- If the lines are too long, try
set wrap - You could also resize the window with the resizing commands (e.g.
<C-w>>)
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
add a comment |
Quick thoughts:
- If the lines are too long, try
set wrap - You could also resize the window with the resizing commands (e.g.
<C-w>>)
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
add a comment |
Quick thoughts:
- If the lines are too long, try
set wrap - You could also resize the window with the resizing commands (e.g.
<C-w>>)
Quick thoughts:
- If the lines are too long, try
set wrap - You could also resize the window with the resizing commands (e.g.
<C-w>>)
answered 10 hours ago
D. Ben KnobleD. Ben Knoble
3,8111 gold badge5 silver badges23 bronze badges
3,8111 gold badge5 silver badges23 bronze badges
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
add a comment |
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
I already have line wrapping on. That would be why I am asking how to add a buffer space so that it is easier to differentiate the text where they meet.
– K. Shores
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
@K.Shores sorry i missed that in the title. AFAIK the answer is no, that is not possible. But feel free to edit your question to clarify exactly what you have and what you want.
– D. Ben Knoble
10 hours ago
add a comment |
K. Shores is a new contributor. Be nice, and check out our Code of Conduct.
K. Shores is a new contributor. Be nice, and check out our Code of Conduct.
K. Shores is a new contributor. Be nice, and check out our Code of Conduct.
K. Shores is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Vi and Vim Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fvi.stackexchange.com%2fquestions%2f20610%2fadd-buffer-space-on-line-wraps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown