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 8292807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:36:15+00:00 2026-06-08T13:36:15+00:00

Using the vim-latexsuite for Gvim, I am editing a fairly large document. It consists

  • 0

Using the vim-latexsuite for Gvim, I am editing a fairly large document.
It consists of a main document that contains \begin{document}, \end{document} etc.
In between there are a lot of sections that are written in another documents and imported with \input{blahblah}.

The problem is that when I compile using \ll there is an error in one of the imported documents. This document is opened in the current tab along with the errorlog, etc. This is of course done so that I can correct the error easily.

…but after correcting the error, I am now positioned in another document in the tab that was previously my main document. This document does not have the preamble and therefore I have to reopen the main document in order to recompile to see if my correction works.

It seems to me that i should be easy to recompile on the spot after I have corrected the error. How can I do that?

  • 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-06-08T13:36:16+00:00Added an answer on June 8, 2026 at 1:36 pm

    Off the cuff it seems like Ctrl-O could be of use as long as the main document is still open as a buffer. See :help CTRL-o for more information on how this works. You can check this with :ls and see if the buffer shows up.

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

Sidebar

Related Questions

I'm using latexsuite with vim and I am currently editing files that have the
Am using vim and have a large text file that contains some html thrown
I'm using vim to edit files that use a programming language where the end
When I am editing source files using Vim and other editors, sometimes I get
I am using vim editor. I learned that shift (and pressing) ~ converts upper
Using Vim 6.0. Say I'm editing this file: sdfsdg dfgdfg 34 12 2 4
I'm using Vim to write text that isn't code, just free form writing. To
When I'm using Vim 7.3 to edit a large PHP file (2000 lines), if
I am using VIM in Windows. The problem is that I want to use
I'm using Vim for editing source code, but I would also like to have

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.