Giter VIP home page Giter VIP logo

Comments (4)

bruno- avatar bruno- commented on July 17, 2024

Well.. it's kinda possible.
Take a look at the source here. You can see it maps keys to somewhat complicated regexes.

Now just combine defining stored searches with those regexes and there you have it.

Was that what you were looking for?
Btw. which mappings bother you? I always thought these defaults make sense.

from tmux-copycat.

halbtuerke avatar halbtuerke commented on July 17, 2024

Was that what you were looking for?

This should work.

Btw. which mappings bother you? I always thought these defaults make sense.

I use C-f as my prefix, so to send C-f into the terminal I have to press it twice but unfortunately that invokes tmux-copycat with the file-search. That effectively disables this shortcut for me, which e.g. gets used in Vim to page down.

It seems the best way for me is to unbind the default key-binding and define my own stored search for exactly this use case.

Thanks

from tmux-copycat.

bruno- avatar bruno- commented on July 17, 2024

Hi, I realized it makes sense to have options for the default key bindings.
It should be a lot easier than messing with complex regexes in tmux.conf.
Here are the docs how to remap keys. Let me know if you need more help with this.

Btw. I think this issue is now handled, so I'm going to close it.

I use C-f as my prefix

That is an interesting choice for the prefix. Out of the curiosity, why C-f and why not just C-a?

from tmux-copycat.

halbtuerke avatar halbtuerke commented on July 17, 2024

Here are the docs how to remap keys. Let me know if you need more help with this.

Thank you very much. This works great.

That is an interesting choice for the prefix. Out of the curiosity, why C-f and why not just C-a?

I have remapped my Capslock key to Ctrl and find it more comforable to just bring my left pinky over while still hovering over the "f" with my index finger.

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.