Comments (4)
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.
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.
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.
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)
- tmux-yank stops working after one yank when tmux-copycat is present. HOT 13
- [PROPOSAL] Migration to ripgrep HOT 3
- Git status - Long file names are not detected properly HOT 1
- search not working HOT 4
- Is it possible to highlight all matches HOT 2
- Git status file search does not work with multiple panes HOT 1
- tmux-copycat slow on my machine HOT 24
- n/N bindings on window 6, pane 1 HOT 1
- Ignore $PROMPT text in backward searches HOT 2
- how to search across multiple lines ?
- Add the possibility of jumping forward or backwards from matches using vim syntax
- Anyone made it work with byobu?
- Fails to run without `en_US@UTF-8` locale
- Prefix C-g doesn't match paths starting with ../ HOT 3
- Tmux-copycat stops working after tmux commit f8ad72b2eeafc1146c116f73194a3950aa0c2143
- File search doesnt find files HOT 2
- Use native regex searches in tmux 3.2 HOT 6
- Way to disable a predefined searches. HOT 3
- FR: tmux-copycat (C-a C-u) for url search is not consistent with tmux-urlview
- Git status - issues with fish as default shell while using Allacrity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-copycat.