Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 241395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:44:59+00:00 2026-05-11T20:44:59+00:00

By making use of the remote feature in vim, is it possible to reuse

  • 0

By making use of the remote feature in vim, is it possible to reuse an instance of vim to load up multiple files as needed.

It will be nice to have that facility from within the same terminal instance.

I am more keen to have a tab based interface, which available in vim 7+
The scenario should be

  1. Open terminal
  2. vim file1.cpp
  3. Edit – Save – Ctrl+Z to get to prompt
  4. open another file
    • vim file2.cpp
  5. Now we have file1.cpp and file2.cpp open in the same editor

Is that possible?!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:44:59+00:00Added an answer on May 11, 2026 at 8:44 pm

    I have a couple suggestions for you, though neither is exactly what you’re talking about. The first is NERD Tree, which gives you a nice tree-based file browser for opening other files. Very handy. I also set up a hot key (ctrl+o) to open NERD Tree for me. I keep an alias of whatever project I’m on in ~/curr/trunk, so this always works for me:

    map <C-O> :NERDTreeToggle ~/curr/trunk/<CR>
    

    The other thing that I would suggest is to do away with ctrl+z. It’s somewhat clunky, and everyone I know who uses that method tends to get lost and end up with 3 or 4 vim’s running in the background. Take a look at how to open a shell for yourself. I use a map for ;s to execute a shell script:

    map ;s :!~/.vim/shell.sh<CR>
    

    Which executes:

    #!/bin/sh
    /usr/local/bin/bash -l;
    

    I also have a bit of magic in my .profile for making it obvious I’m in VIM:

    if [ "$VIMRUNTIME" != "" ] ; then
        export PS1="\u@\h \W \t$ vim> "
    fi
    

    </2 cents>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have see some apps making use of the extra space you find when
I have an AS3 project making use of compile time constants. This has worked
I have an application that is making use of the PhoneGap (version 1.4.1). It
I have some problems with making my web-app adapted for remote user browseres language
I'm making use of the jQuery Tabs plugin along with the History plugin, to
We recently started making use of the new Google Expansion APK mechanism. Overall it
I'm making use of an API on the internet that is marshalling objects to
I am making use of a custom cursor on itemRenderers in a List component.
I am making use of django-registration and django-profile to handle registration and profiles. I
I'm making use of the extjs class objects through Ext.define (... and Ext.create (...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.