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

  • Home
  • SEARCH
  • 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 8834205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:57:40+00:00 2026-06-14T08:57:40+00:00

I use two monitors in my development workflow, one is a fullscreen vim session

  • 0

I use two monitors in my development workflow, one is a fullscreen vim session for editing and the other is a fullscreen terminal where I run make && ./test to show results. Fairly often I find myself opening a bunch of other windows in the background (browers, more shells etc). I don’t like this for a few reasons:

  • I don’t like having to remember how many times I have to hit tab before I get my make window.
  • There’s no strong visual feedback in Ubuntu for which window is currently in focus. I could probably do something about that but that’s a separate problem.
  • To be honest I’m lazy, and :w alt-tab up-arrow enter alt-tab is far too many keystrokes.

I think a good solution might be to have a vim command that runs make && ./test in the other window, but I can’t think of how to do this. I could write a server/client script that waits from some notification from vim then runs the command but it really seems like there should be a simpler solution. Any thoughts?

  • 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-14T08:57:41+00:00Added an answer on June 14, 2026 at 8:57 am

    Thanks to Jim’s comment for getting me started. This is what I’m doing now:

    On the first monitor: tmux new-session -s dev (creates a new tmux session named dev)

    On the second monitor: tmux new -t dev (connects to that new session)

    On the second monitor: Ctrl-b + c (creates a new window)

    I forked vimux and wrote functions to send commands to another window. So now in vim I can use :call VimuxRunCommandWin("make && ./test").

    And I think that’s probably enough procrastination for one day…

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

Sidebar

Related Questions

I use two Spinner in my App. One of them is initially disabled because
i use two blocks to draw some buttons on my subview dynamically. One calculates
I am trying to use two sounds when I button is pushed: one sound
I use Visual Studio 2008 primarily for web development, and there's one annoying behaviour
Say if I have two different types of sensors: one monitors analog voltage (such
I have a program that creates pipes between two processes. One process constantly monitors
I use two different events for the callback to respond when the IndexedDB transaction
I'd like to use two arrays to change characters in a string. The first
I would like to use two models: User: - firstname : stringField - lastname
I'm wanting to use two Objective-C libraries in a MonoTouch app: the Facebook library

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.