Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Environments extended with embeded Perl: are they for real?

by stefp (Vicar)
on Mar 24, 2003 at 02:53 UTC ( #245372=note: print w/ replies, xml ) Need Help??


in reply to Re: Environments extended with embeded Perl: are they for real?
in thread Environments extended with embeded Perl: are they for real?

Do you mean by this that you think vim lacks the ability to run a shell? My vim lets me do this! Just prefix the command with :!.

That's not what I meant. Please, excuse my vagueness and let me reformulate.

My grief against vim is that one can't run a process (like a shell) and interact with it within a vim buffer so that you can (for example) record the session. Such feature is available with emacs. See its shell-mode for example.

Simply starting a shell from vim has the additional inconvenience that you can easily stack a vim on top a shell on top a vim... I know that some shells have environment variables like SHLVL that you can manage to display as part of the prompt so that you can see when you stack stuff like that. But that is not addressing the real problem: the shell session should be available as a vim buffer.

-- stefp


Comment on Re: Re: Environments extended with embeded Perl: are they for real?
Re^3: Environments extended with embeded Perl: are they for real? (screen)
by Aristotle (Chancellor) on Mar 24, 2003 at 15:20 UTC

    vim is an editor ;), not a terminal emulator. You can use screen(1) to log interactive (and non.) sessions to a file, scroll the buffer, copypaste on the screen within the session and so on.

    This is generally where vim's mindset differs from emacs' - it doesn't try to do everything under the sun (and on the Sun) on its own, but usually easily integrates with something that does what you want.

    screen understands the vi movement keys in scroll mode, so one can get used to it quite quickly if one knows vim well.

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://245372]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-07-11 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (219 votes), past polls