Giter VIP home page Giter VIP logo

Comments (5)

baest avatar baest commented on July 17, 2024 1

Hi Bruno

Thank you! The problem was caused by me unmapping Space from vi-copy and using v instead. I not sure why trying tmux with an empty config didn't work, but perhaps it didn't fully reload after all...

Sorry for the false bug report.

from tmux-copycat.

bruno- avatar bruno- commented on July 17, 2024

Hi, thanks for taking the time to report the issue.
We've had similar bugs before, example in #40.

Unfortunately, this kind of an issue is very hard to troubleshoot. It required a pair programming session with the other person and access to his machine.
So I'm not sure if this will be fixed soon..

from tmux-copycat.

baest avatar baest commented on July 17, 2024

Hi, thank you for the quick reply!

Ok, that is not great news. I you have any pointers I would try to troubleshoot it myself. Do you have any idea where the problem is created and can you tell me where the selection happens in the first place? I won't promise anything, but maybe I'll be able to submit a patch.

from tmux-copycat.

bruno- avatar bruno- commented on July 17, 2024

Hi I recommend you to start investigating from this function.
That function - and the functions it calls do all the work related to cursor match positioning and match highlighting.

You said you have an issue where the match highlighting doesn't work. Match higlighting is done in this function.
I'm guessing you're using vi copy mode so you can focus just on these 4 lines:

# 'space' starts visual selection in copy mode. Can you verify this works for you when you do it manually? If not, this would explain why highlighting does not work for you.
tmux send-keys Space
tmux send-keys "$length" 
tmux send-keys l
tmux send-keys h   # selection correction for 1 char

from tmux-copycat.

bruno- avatar bruno- commented on July 17, 2024

Awesome - I'm glad to hear it works for you now!

from tmux-copycat.

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.