Code Monkey home page Code Monkey logo

Comments (13)

tpope avatar tpope commented on May 31, 2024

I had issues with this early on but they went away when I switched from silent !osascript ... to call system('osascript ...')

What happens if you do the following?

:call system("osascript -e 'tell application \"iTerm\" to activate'")

from vim-dispatch.

jeyb avatar jeyb commented on May 31, 2024

No effect. But I'm curious why that would make a difference? It's not switching focus from iTerm.

Just to clarify, I have iTerm2, which has a tmux session. From within the tmux session I have vim running.

from vim-dispatch.

tpope avatar tpope commented on May 31, 2024

Oh, I guess I missed the word tmux in there. But I suppose iTerm could still be related. Are you using the tmux/iTerm integration perchance? I've never gotten it to work myself.

from vim-dispatch.

jeyb avatar jeyb commented on May 31, 2024

No I am not, I have tmux installed via brew. Not using the one that comes bundled with iTerm.

from vim-dispatch.

tpope avatar tpope commented on May 31, 2024

What tmux version?

On Tue, Apr 2, 2013 at 7:21 PM, Jey Balachandran
[email protected]:

No I am not, I have tmux installed via brew. Not using the one that comes
bundled with iTerm.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-15809025
.

from vim-dispatch.

jeyb avatar jeyb commented on May 31, 2024
tmux: stable 1.8, HEAD
http://tmux.sourceforge.net
Depends on: pkg-config, libevent
/usr/local/Cellar/tmux/1.7 (7 files, 600K)
/usr/local/Cellar/tmux/1.8 (7 files, 628K) *
Built from source
https://github.com/mxcl/homebrew/commits/master/Library/Formula/tmux.rb
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

from vim-dispatch.

jclem avatar jclem commented on May 31, 2024

I have the same issue in tmux 1.8, and also had it in tmux 1.7, both installed via Homebrew.

from vim-dispatch.

tpope avatar tpope commented on May 31, 2024

Try :call system("tmux new-window") and see if that produces the same symptom.

from vim-dispatch.

jclem avatar jclem commented on May 31, 2024

It does. Here's a video of it happening: http://cl.ly/3S1M2o3V3o1g/tmux.mov

from vim-dispatch.

tpope avatar tpope commented on May 31, 2024

I meant tmux new-window -d and see if it happens right then. You're not really demonstrating anything new by starting a second Vim.

from vim-dispatch.

jclem avatar jclem commented on May 31, 2024

The issue does isn't reproduced with :call system("tmux new-window -d").

from vim-dispatch.

tpope avatar tpope commented on May 31, 2024

Try the tmux-redraw branch.

from vim-dispatch.

jclem avatar jclem commented on May 31, 2024

Yup, this works great. Thanks!

from vim-dispatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.