Is there a way to start vim in terminal mode?Neovim - Map selectively only on a terminal windowVim Session keeping terminal stateHow to capture errors from make in terminal windowHow could I create a terminal at the bottomChange the terminal emulater neovim usesExecute visual selection/current line in Vim terminal via keymapHow to go up to previous command when in terminal mode in Vim 8?Vim terminal: How to split below by default?Execute Vim command in terminal window and return to Terminal-Job mode
What does 素 mean in 素数?
How long should a hash be to be absolutely secure?
The Newest Cycle
Windows Defender reports Win64/Longage Trojan malware in Ubuntu 18.04.3 live server
是 does not connect two nouns in "有什么事是我该做的吗?"
What are the disadvantages for using short-field take-off technique?
How can I unscrew the faucet nuts in the tight space behind my sink basin?
What spells could cure a stroke?
Theoretically, what if I were to change some magic numbers in, say, AES?
Black screen for 1-2 seconds while alt-tabbing a fullscreen game or using a Windows key
Prime to Prime: Get all first 25 Prime Numbers using up to 4 Primes
Being heavily recruited at new company - should I tell them we're trying to get pregnant?
Roll for Initiative!
Can I be fired the same day that I hand in my notice?
Why can't I use zsh?
Is leave-one-out cross validation (LOOCV) known to systematically overestimate error?
Who's next to me in the queue?
Wiegand 26-Bit Calculator - Transforming a decimal number into an 26-Bit binary number
Why did George Lucas set Star Wars in the past instead of the future?
Am I obligated to pass on domain knowledge after being let go?
Why did they design new connectors for USB?
Concept Question for Secure Computation
What are the common footprint naming conventions
Rock, Paper, Scissors in C++
Is there a way to start vim in terminal mode?
Neovim - Map selectively only on a terminal windowVim Session keeping terminal stateHow to capture errors from make in terminal windowHow could I create a terminal at the bottomChange the terminal emulater neovim usesExecute visual selection/current line in Vim terminal via keymapHow to go up to previous command when in terminal mode in Vim 8?Vim terminal: How to split below by default?Execute Vim command in terminal window and return to Terminal-Job mode
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I often find myself
- Opening a terminal
- Running
vim - Starting a
:terminal
Is there a way to say vim --start-terminal and have Vim automatically run :terminal ++curwin as soon as it starts?
terminal-buffer
add a comment
|
I often find myself
- Opening a terminal
- Running
vim - Starting a
:terminal
Is there a way to say vim --start-terminal and have Vim automatically run :terminal ++curwin as soon as it starts?
terminal-buffer
1
Run a terminal emulator within vim? ISTM that vi is turning into emacs!
– RonJohn
Sep 29 at 10:49
add a comment
|
I often find myself
- Opening a terminal
- Running
vim - Starting a
:terminal
Is there a way to say vim --start-terminal and have Vim automatically run :terminal ++curwin as soon as it starts?
terminal-buffer
I often find myself
- Opening a terminal
- Running
vim - Starting a
:terminal
Is there a way to say vim --start-terminal and have Vim automatically run :terminal ++curwin as soon as it starts?
terminal-buffer
terminal-buffer
asked Sep 29 at 1:05
425nesp425nesp
2076 bronze badges
2076 bronze badges
1
Run a terminal emulator within vim? ISTM that vi is turning into emacs!
– RonJohn
Sep 29 at 10:49
add a comment
|
1
Run a terminal emulator within vim? ISTM that vi is turning into emacs!
– RonJohn
Sep 29 at 10:49
1
1
Run a terminal emulator within vim? ISTM that vi is turning into emacs!
– RonJohn
Sep 29 at 10:49
Run a terminal emulator within vim? ISTM that vi is turning into emacs!
– RonJohn
Sep 29 at 10:49
add a comment
|
1 Answer
1
active
oldest
votes
I assume you aren't literally asking for a --start-terminal flag :) ...but you can specify a command for Vim to run after it starts up using the -c flag.
So this should be as easy as
vim -c ':term ++curwin'
When I run it I am indeed in a terminal window on the shell command line and it's the only window open. Hopefully that covers what you're asking for.
Ha, no I'm not literally asking for--start-terminal. It was just to try to convey the idea. Thanks!
– 425nesp
Sep 29 at 1:26
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/4.0/"u003ecc by-sa 4.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%2f21351%2fis-there-a-way-to-start-vim-in-terminal-mode%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I assume you aren't literally asking for a --start-terminal flag :) ...but you can specify a command for Vim to run after it starts up using the -c flag.
So this should be as easy as
vim -c ':term ++curwin'
When I run it I am indeed in a terminal window on the shell command line and it's the only window open. Hopefully that covers what you're asking for.
Ha, no I'm not literally asking for--start-terminal. It was just to try to convey the idea. Thanks!
– 425nesp
Sep 29 at 1:26
add a comment
|
I assume you aren't literally asking for a --start-terminal flag :) ...but you can specify a command for Vim to run after it starts up using the -c flag.
So this should be as easy as
vim -c ':term ++curwin'
When I run it I am indeed in a terminal window on the shell command line and it's the only window open. Hopefully that covers what you're asking for.
Ha, no I'm not literally asking for--start-terminal. It was just to try to convey the idea. Thanks!
– 425nesp
Sep 29 at 1:26
add a comment
|
I assume you aren't literally asking for a --start-terminal flag :) ...but you can specify a command for Vim to run after it starts up using the -c flag.
So this should be as easy as
vim -c ':term ++curwin'
When I run it I am indeed in a terminal window on the shell command line and it's the only window open. Hopefully that covers what you're asking for.
I assume you aren't literally asking for a --start-terminal flag :) ...but you can specify a command for Vim to run after it starts up using the -c flag.
So this should be as easy as
vim -c ':term ++curwin'
When I run it I am indeed in a terminal window on the shell command line and it's the only window open. Hopefully that covers what you're asking for.
answered Sep 29 at 1:11
B LayerB Layer
7,6731 gold badge6 silver badges26 bronze badges
7,6731 gold badge6 silver badges26 bronze badges
Ha, no I'm not literally asking for--start-terminal. It was just to try to convey the idea. Thanks!
– 425nesp
Sep 29 at 1:26
add a comment
|
Ha, no I'm not literally asking for--start-terminal. It was just to try to convey the idea. Thanks!
– 425nesp
Sep 29 at 1:26
Ha, no I'm not literally asking for
--start-terminal. It was just to try to convey the idea. Thanks!– 425nesp
Sep 29 at 1:26
Ha, no I'm not literally asking for
--start-terminal. It was just to try to convey the idea. Thanks!– 425nesp
Sep 29 at 1:26
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%2f21351%2fis-there-a-way-to-start-vim-in-terminal-mode%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
1
Run a terminal emulator within vim? ISTM that vi is turning into emacs!
– RonJohn
Sep 29 at 10:49