1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-06-26 07:29:11 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
Jorge Morante
1a5dc4fc10 drafting multi mode 2020-01-03 18:55:30 +01:00
Jorge Morante
13d25cecb0 new input system to allow ctlr/alt/shift modifiers and custom kb layouts 2019-12-27 10:29:30 +01:00
Jorge Morante
1b3871250e remove tmux-yank dependency and provide default copy/open command 2019-11-27 13:32:40 +01:00
Jorge Morante
a4e62e5648 adding @fingers-keyboard-layout option 2019-01-14 08:41:21 +01:00
Raimon Grau
881768201f Add uuid to the default patterns list 2018-12-02 16:24:30 +00:00
Youssef
34440c52b3
Update config.sh
fixes hexadecimal regex for output with uppercase hex notation
2018-11-05 02:29:58 +01:00
Youssef
db6a8c2cc5 catch hexadecimal addresses (useful for radare2/gdb) 2018-08-28 10:08:52 +02:00
Ryan Kemper
89baccf950 Match regexes for kubernetes api resources
* Grabbed a list of resources with the cmd:
    kubectl api-resources -o name | xargs '-I{}' -n 1 echo -n '{}|'

  * Removed plural endings for resources
    (this matches the format of the clusters I interact with)

Note: I would like to add an optional "match an optional s" to handle
cases where the resources are pluralized, although I *think*
the way kubernetes names resources, they don't appear as plural
when doing `kubectl get all` which is what the hinting is designed
for. But I'm not super experienced with awk so I haven't figured
that one out yet.
2018-08-28 10:04:18 +02:00
Jorge Morante
c4a8c4eb03 add fingers-copy-command-uppercase option 2018-02-14 22:54:02 +01:00
Jorge Morante
612c2252a4 prevent jumpy re-renders on user input 2017-10-08 18:21:50 +02:00
Jorge Morante
dbfe66fd43 actually, rename conf theme envvars to @fingers-whatever-nocompact 2017-05-02 15:46:28 +02:00
Jorge Morante
02b77b40b4 tweak default styles 2017-05-02 15:36:23 +02:00
Jorge Morante
58266b5ff8 rename conf theme envvars to @fingers-whatever-compact 2017-05-02 15:34:08 +02:00
Jorge Morante
975247c0eb add @fingers-hint-position option 2017-05-02 15:22:07 +02:00
Jorge Morante
acf4fd23ff handle variable length hint format in compact mode 2017-05-02 13:08:15 +02:00
Jorge Morante
2b6fe91064 switch to tmux-printer gawk implementation 2017-05-01 10:03:59 +02:00
Jorge Morante
0a9e0135f1 use global tmux env 2017-05-01 09:06:06 +02:00
Jorge Morante
ec2d573757 add tmux-printer as submodule 2017-04-23 19:04:55 +02:00
Jorge Morante
42b4943eca fix compact hints 2017-04-23 19:04:55 +02:00
Jorge Morante
759fc183c7 load configuration with tmux setenv 2017-04-23 19:04:55 +02:00
Jorge Morante
844d6b8315 use tmux status bar format 2017-04-23 19:04:55 +02:00
Jorge Morante
b582a44955 gawk all the things 2017-04-23 19:04:55 +02:00
Jorge Morante
8ce451da4e adding color configuration env variables 2017-04-23 19:04:47 +02:00
Jacob Keller
fe35e519ea support variable length sha1 commit ids
The sha1 commit ids displayed by git may range in size and are not strictly 7 digits or 40 digits. In practice, the old default was something like 7, and that was enough to uniquely distinguish the commit. However, some repositories (Upstream Linux kernel) now use 12 as the default.

When we support intervals, use them to specify the full range to make the hint grab all available characters.
2017-02-06 11:22:22 -08:00
Suraj N. Kurapati
208b63acc7 fingers-pattern-N settings with N > 9 were ignored
This patch fixes the regular expression that parses `fingers-pattern-N`
settings, allowing the `N` number to contain either one or more digits.

Before this patch:

    $ (echo '@fingers-pattern-0 "git rebase --(abort|continue)"'; echo '@fingers-pattern-1 "yolo"'; echo '@fingers-pattern-50 "whatever"') | grep '^@fingers-pattern' | sed 's/^@fingers-pattern-[0-9] "\(.*\)"$/(\1)/'
    (git rebase --(abort|continue))
    (yolo)
    @fingers-pattern-50 "whatever"

After this patch:

    $ (echo '@fingers-pattern-0 "git rebase --(abort|continue)"'; echo '@fingers-pattern-1 "yolo"'; echo '@fingers-pattern-50 "whatever"') | sed -n 's/^@fingers-pattern-[0-9]\{1,\} "\(.*\)"$/(\1)/p'
    (git rebase --(abort|continue))
    (yolo)
    (whatever)
2016-10-21 13:28:24 -07:00
Jorge Morante
3abca2a0ff read default compact state from configuration 2016-10-17 23:15:06 +02:00
Jorge Morante
2c4140e47a fix filepath regexp for OSX, and interval support check 2016-08-23 08:44:30 +02:00
Jorge Morante
e8c1e59e29 Improve performance with single-pass awk implementation 2016-08-21 17:57:09 +02:00
Jorge Morante
754a8ec7da OSX compatibility and fixes 2016-05-02 21:15:29 +02:00
Jorge Morante
d5ab288312 fix predefined searches 2016-05-01 22:01:31 +02:00
Jorge Morante
5210e64836 adding more predefined patterns 2016-05-01 19:54:20 +02:00
Jorge Morante
8fb03380d5 mini cleanup 2016-05-01 19:01:28 +02:00
Jorge Morante
f3d392f63d user configurable patterns 2016-04-30 00:58:58 +02:00