Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Vi mode in Psh

by targetsmart (Curate)
on Feb 01, 2009 at 13:47 UTC ( [id://740532]=perlquestion: print w/replies, xml ) Need Help??

targetsmart has asked for the wisdom of the Perl Monks concerning the following question:

I was very curious to use this psh(perl shell), I was using bash and I love bash, but because of my recent addiction to perl, I wanted to make one of the perl shells as my default shell, I choose this psh, but I became handicapped because i tried the option 'set -o vi', which enables the vi mode in command line in bash.(I really love vim because it was my default editor for years), Does psh have this feature?, if so please point me out, otherwise tell me that other ways of mimicking vi mode in psh, because I really wanted to use one of the perl shells.

Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Replies are listed 'Best First'.
Re: Vi mode in Psh
by Anonymous Monk on Feb 01, 2009 at 17:30 UTC
      Thanks, it worked, by setting this 'fc -e vi' it just gives the vi editor support in a separate vim window, it is also nice, but one more doubt, is it possible to get that vi feature on the command line itself(bash actually have this feature). (I believe that I am not expecting too much of this perl shell, but just curious to know whether it is possible, because it will definitely increase my speed in working with command line editing interface).

      Vivek
      -- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.
        The most expected 'vi' mode in my case; along with the power of perl comes with the 'zoidberg' perl shell. it can be found here http://search.cpan.org/~pardus/Zoidberg-0.96/man1/zoid.pod

        Vivek
        -- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://740532]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found