Quantcast
Channel: how to run a shell command in the same shell process that vim was started - Vi and Vim Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Ali for how to run a shell command in the same shell process that...

I guess I reached to what I needed but the answer to this questionAs @BLayer explained in comments, It can't be done uninternally.you'd have to set up some form of interprocess communication (e.g....

View Article



Answer by Matt for how to run a shell command in the same shell process that...

If you run under *nix (including MSYS2/Cygwin) then you can suspend Vim process with Ctrl-Z (see :h suspend). This will bring you back to the Vim's parent process (i.e. parent shell). Use fg to get...

View Article

how to run a shell command in the same shell process that vim was started

I want to source a file in the same shell process vim was started, from within vim as an ex command. As far as I know, vim creates a new subshell and run commands. In addition to that, If I source a...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>