How can I focus on one vimsplit fullscreen?How can I move windows from a vertical split to a horizontal split?Reopen splits after closing them with <C-w>oHow to auto save file when moving between split?How to remove lines matching pattern in all files changed in one editing session?How can I make Neovim return to the tab that was active before running `:Git diff`?completely disable vertical splitsHow to split the page adding a page from buffer (combining :sp/vs with :b)How can I open a split at whose height is a percentage of the main window?From one split, how can I get the filename of the file in another split?Nvim can not detect focus change inside tmux sessions
How can I support myself financially as a 17 year old with a loan?
How long would it take for people to notice a mass disappearance?
String won't reverse using reverse_copy
A mathematically illogical argument in the derivation of Hamilton's equation in Goldstein
What was the design of the Macintosh II's MMU replacement?
What does a spell range of "25 ft. + 5 ft./2 levels" mean?
How important is people skills in academic career and applications?
Would glacier 'trees' be plausible?
Answer "Justification for travel support" in conference registration form
On which topic did Indiana Jones write his doctoral thesis?
Can you complete the sequence?
Upside-Down Pyramid Addition...REVERSED!
Why was the battle set up *outside* Winterfell?
Understanding trademark infringements in a world where many dictionary words are trademarks?
Missing Piece of Pie - Can you find it?
Randomness of Python's random
Multi-channel audio upsampling interpolation
Using field size much larger than necessary
Can my company stop me from working overtime?
Double or Take game
How might a mountain bowl form?
Using a microphone from the 1930s
Hyperlink on red background
What is the name of this hexagon/pentagon polyhedron?
How can I focus on one vimsplit fullscreen?
How can I move windows from a vertical split to a horizontal split?Reopen splits after closing them with <C-w>oHow to auto save file when moving between split?How to remove lines matching pattern in all files changed in one editing session?How can I make Neovim return to the tab that was active before running `:Git diff`?completely disable vertical splitsHow to split the page adding a page from buffer (combining :sp/vs with :b)How can I open a split at whose height is a percentage of the main window?From one split, how can I get the filename of the file in another split?Nvim can not detect focus change inside tmux sessions
Say I've got three splits open with code in, and I suddenly want to make the one I'm in fullscreen, temporarily. How can I do that?
neovim split
add a comment |
Say I've got three splits open with code in, and I suddenly want to make the one I'm in fullscreen, temporarily. How can I do that?
neovim split
add a comment |
Say I've got three splits open with code in, and I suddenly want to make the one I'm in fullscreen, temporarily. How can I do that?
neovim split
Say I've got three splits open with code in, and I suddenly want to make the one I'm in fullscreen, temporarily. How can I do that?
neovim split
neovim split
asked 7 hours ago
cjm2671cjm2671
1134
1134
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
When focused on it, run:
:tabe %
To open a new tab with the same file. You can navigate tabs with gT and gt among other, if you want to go back to your split.
Once you are done with it, on the "fullscreen" one, run:
:q
to close the tab (technically closes the focused window, which is the only one of the tab, and closing the last window of the tab closes the tab).
add a comment |
If your splits are verticle you can press Ctrl-w| to maximize the focused window.
If splits are horizontal then press Ctrl-w_. To resize the splits press Ctrl-w=
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 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
);
);
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%2f19810%2fhow-can-i-focus-on-one-vimsplit-fullscreen%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
When focused on it, run:
:tabe %
To open a new tab with the same file. You can navigate tabs with gT and gt among other, if you want to go back to your split.
Once you are done with it, on the "fullscreen" one, run:
:q
to close the tab (technically closes the focused window, which is the only one of the tab, and closing the last window of the tab closes the tab).
add a comment |
When focused on it, run:
:tabe %
To open a new tab with the same file. You can navigate tabs with gT and gt among other, if you want to go back to your split.
Once you are done with it, on the "fullscreen" one, run:
:q
to close the tab (technically closes the focused window, which is the only one of the tab, and closing the last window of the tab closes the tab).
add a comment |
When focused on it, run:
:tabe %
To open a new tab with the same file. You can navigate tabs with gT and gt among other, if you want to go back to your split.
Once you are done with it, on the "fullscreen" one, run:
:q
to close the tab (technically closes the focused window, which is the only one of the tab, and closing the last window of the tab closes the tab).
When focused on it, run:
:tabe %
To open a new tab with the same file. You can navigate tabs with gT and gt among other, if you want to go back to your split.
Once you are done with it, on the "fullscreen" one, run:
:q
to close the tab (technically closes the focused window, which is the only one of the tab, and closing the last window of the tab closes the tab).
answered 7 hours ago
padawinpadawin
5165
5165
add a comment |
add a comment |
If your splits are verticle you can press Ctrl-w| to maximize the focused window.
If splits are horizontal then press Ctrl-w_. To resize the splits press Ctrl-w=
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 hours ago
add a comment |
If your splits are verticle you can press Ctrl-w| to maximize the focused window.
If splits are horizontal then press Ctrl-w_. To resize the splits press Ctrl-w=
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 hours ago
add a comment |
If your splits are verticle you can press Ctrl-w| to maximize the focused window.
If splits are horizontal then press Ctrl-w_. To resize the splits press Ctrl-w=
If your splits are verticle you can press Ctrl-w| to maximize the focused window.
If splits are horizontal then press Ctrl-w_. To resize the splits press Ctrl-w=
answered 6 hours ago
GalileanGalilean
1237
1237
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 hours ago
add a comment |
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 hours ago
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 hours ago
This is good, but unfortunately doesn’t preserve exactly the original layout
– D. Ben Knoble
4 hours ago
add a comment |
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%2f19810%2fhow-can-i-focus-on-one-vimsplit-fullscreen%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