Git Product home page Git Product logo

Comments (18)

christoomey avatar christoomey commented on August 20, 2024

I believe you are correct. You can check by running display-message -p "#{pane_current_command}" at the tmux command prompt <prefix>:. Assuming this is the case, I don't think there is anything I can do to work around it.

from pick.

ggilder avatar ggilder commented on August 20, 2024

Actually, looks like I was wrong — display-message -p "#{pane_current_command}" outputs vim when I have pick up.

from pick.

calleluks avatar calleluks commented on August 20, 2024

I think this is an effect of #4.

from pick.

calleluks avatar calleluks commented on August 20, 2024

@ggilder Could you test this and see if this issue persists after merging #26?

from pick.

keith avatar keith commented on August 20, 2024

It looks like this isn't a problem anymore but it would still be good if @ggilder could verify.

from pick.

ggilder avatar ggilder commented on August 20, 2024

Actually, I am still seeing the problem running 94180de...

from pick.

calleluks avatar calleluks commented on August 20, 2024

@ggilder are you running with the -X flag?

from pick.

calleluks avatar calleluks commented on August 20, 2024

Since merging #35 (just now) you should not have to pass the -X flag anymore.

from pick.

calleluks avatar calleluks commented on August 20, 2024

@ggilder Does this issue persist?

from pick.

ggilder avatar ggilder commented on August 20, 2024

Tested with 1.1.0, and unfortunately I still see the issue. I tried both with -X and without.

from pick.

calleluks avatar calleluks commented on August 20, 2024

@ggilder Interesting. What version of Mac OS are you running? I wonder what the difference between your system and @Keithbsmiley's is.

Am I understanding this correctly? This is not really an issue with vim-tmux-navigator (the Vim plugin) since Vim is no longer receiving input. Instead it is a problem with pick and tmux key bindings. When run from the shell in tmux pick does not affect tmux key bindings but when run from vim inside a shell in tmux, tmux key bindings do not work.

from pick.

ggilder avatar ggilder commented on August 20, 2024

@calleerlandsson I'm running 10.9.5; I wonder if it might work on 10.10. I don't have a 10.10 system handy to test on unfortunately.

But yes, I think the problem is as you describe: while pick is up in Vim, Vim does not receive input so vim-tmux-navigator hotkeys don't work.

from pick.

keith avatar keith commented on August 20, 2024

Ah yes I misunderstood what was happening. Pressing CTRL-J while pick is open definitely doesn't do what it should in tmux.

from pick.

calleluks avatar calleluks commented on August 20, 2024

Me and @teoljungberg tested and can confirm what I stated in my previous comment. I think the problem lies in how running pick from within Vim's system() changes how keys behave. selecta, another fuzzy search tool had the same problem when we tested it. Do you guys know a tool that does work?

from pick.

keith avatar keith commented on August 20, 2024

This does not work in selecta either.

from pick.

mptre avatar mptre commented on August 20, 2024

Digging through old issues, is this still an issue? /cc @keith @ggilder @calleerlandsson

from pick.

keith avatar keith commented on August 20, 2024

I think the snippet that is now in the README of that repo solves this problem https://github.com/christoomey/vim-tmux-navigator/#add-a-snippet

from pick.

mptre avatar mptre commented on August 20, 2024

Thanks @keith. I will go ahead and close this issue for now. Feel free
to re-open if any errors still is caused by pick.

from pick.

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.