Find the answer to your Linux question:
Results 1 to 5 of 5
hi, is there a way to switch quickly between vim and the command line, so if im reading, playing with the command line and taking notes in vim i can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2012
    Posts
    56

    Talking switching quickly between vim and command line


    hi,

    is there a way to switch quickly between vim and the command line, so if im reading, playing with the command line and taking notes in vim i can quickly switch without having to exit, restart vim etc...

    thanks

  2. #2
    Linux Newbie
    Join Date
    Jan 2013
    Location
    Argentina
    Posts
    122
    Hello j0n1n. You could open two tabs in Terminal and switch using Control + Page Up or Control + Page Down, if that's what you meant.

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,885
    In vim, do CTRL-Z to suspend the program. That'll drop you to the command prompt where you can do what you have to do, then use the 'fg' command to bring the suspended program to the foreground.
    Linux user #126863 - see http://linuxcounter.net/

  4. #4
    Linux Newbie
    Join Date
    Jan 2013
    Location
    Argentina
    Posts
    122
    Roxoff, I've just tried your suggestion and is pretty cool. Thanks for sharing it, I find it really useful even though I'm not the thread creator.

  5. #5
    Just Joined!
    Join Date
    Dec 2012
    Posts
    56
    yes ivotkl Roxoffs suggestion is exactly what im looking for ...thanks guys!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •