Commit Graph

140 Commits

Author SHA1 Message Date
Jorge Morante 13d25cecb0 new input system to allow ctlr/alt/shift modifiers and custom kb layouts 2019-12-27 10:29:30 +01:00
Morantron 27a822c99a
Merge pull request #67 from IngoHeimbach/fix/window-renaming
Fix unintentional window renaming
2019-11-29 12:46:34 +01:00
Jorge Morante f444e320a5 adapt test suit to travies
* run tests in different tmux versions to benefit from travis matrix
  feature
* tmuxomatic version dependant fixes
* add retries
2019-11-29 11:52:15 +01:00
Jorge Morante 1b3871250e remove tmux-yank dependency and provide default copy/open command 2019-11-27 13:32:40 +01:00
Ingo Heimbach 4d302bb198 Fix unintentional window renaming
This commit fixes #65.
2019-04-03 15:17:33 +02:00
Jorge Morante bf24ffc2af Merge branch 'feature/improving-hinter' into develop 2019-01-17 17:12:53 +01:00
Jorge Morante f1071294c7 print raw strings in hinter ( avoids interpreting %s within matches ) 2019-01-15 08:29:55 +01:00
Jorge Morante a4e62e5648 adding @fingers-keyboard-layout option 2019-01-14 08:41:21 +01:00
Jorge Morante c9e9b8d941 don't eat part of output 2019-01-14 08:35:14 +01:00
Jorge Morante 85f620b952 Merge branch 'fix/wsl' into develop 2019-01-13 14:51:45 +01:00
Jorge Morante 79c0398908 WIP 2019-01-13 14:45:19 +01:00
Jorge Morante 84c9805eb8 token based hinter, reading hints from alphabet file 2019-01-13 14:39:51 +01:00
Jorge Morante 529dfce0c2 Merge branch 'feature/benchmarks' into develop 2019-01-11 08:30:08 +01:00
Jorge Morante bdb71ecc46 fix tmux-yank integration in windows
tmux-yank command wasn't working properly on windows because clip.exe
  binding is listed without quotes

  Windows:

    bind-key -T copy-mode-vi y                 send-keys -X copy-pipe-and-cancel clip.exe

  Linux:

    bind-key -T copy-mode-vi y                 send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"
2019-01-07 14:23:25 +01:00
Jorge Morante 43779729c4 fix dangling pane when canceling 2019-01-02 10:36:55 +01:00
Jorge Morante 71507f53e8 adding basic benchmarking stuff 2019-01-02 10:33:32 +01:00
Jorge Morante 3a12a8d42a tweaks to fingers-copy-command
* Exports variables so they can be referenced in tmux.conf
  * Run fingers-copy-command after swapping pane so they are run in
    current pane context.
  * Fixes heredoc string bug ( fixes #63 )
2018-12-29 20:46:39 +01:00
Morantron af0ffbb055
Merge pull request #61 from kidd/pass-current_pane_id-as-copy-parameter
Pass current_pane_id as a parameter to copy command
2018-12-02 20:54:56 +01:00
Raimon Grau 881768201f Add uuid to the default patterns list 2018-12-02 16:24:30 +00:00
Raimon Grau a11afa8756 Pass current_pane_id as a parameter to copy command
Passing this variable allows the copy command to interact with the
current pane (tmux send-keys, for example).
2018-12-02 14:27:44 +00:00
Morantron 43a09978c4
Merge pull request #58 from metakirby5/master
Remove redirection to /dev/null, fixing OSX open.
2018-11-08 09:52:52 +01:00
Jorge Morante 1acf8bc005 remove health-check from startup 2018-11-08 09:27:53 +01:00
Jorge Morante 8fb8abea7a Merge branch 'master' into develop 2018-11-08 09:18:36 +01:00
Youssef 34440c52b3
Update config.sh
fixes hexadecimal regex for output with uppercase hex notation
2018-11-05 02:29:58 +01:00
Ethan Chan b4a7e111b8
Remove redirection to /dev/null, fixing OSX open. 2018-11-04 16:32:47 -08:00
Gio d'Amelio 7cb0383829 Really fix the tmux version parse for real this time 2018-10-17 00:55:20 -07:00
Gio d'Amelio 64030026fb
Update health check tmux version parse regex
This updates the grep regex that parses the tmux version to allow for release candidate versions e.g. `tmux 2.7-rc`.
2018-10-17 00:12:45 -07:00
Jorge Morante 0a0808671d don't break zoom state 2018-08-28 11:36:52 +02:00
Jorge Morante 993cc3dce3 don't break tmux last-pane ( fixes #48 ) 2018-08-28 11:11:31 +02: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 c12380682c use printf instead of echo to address portability issues ( fixes #47 ) 2018-03-30 16:02:41 +02:00
Jorge Morante 80d4cab555 fix match lookup for POSIX sed 2018-03-11 00:22:42 +01:00
Jorge Morante c4a8c4eb03 add fingers-copy-command-uppercase option 2018-02-14 22:54:02 +01:00
Jorge Morante e216bbc000 fixup! pass env vars to fingers-copy-command ( IS_UPPERCASE and HINT ) 2018-02-14 22:52:45 +01:00
Jorge Morante 988f777faf remove redundant FINGERS_COPY_COMMAND variable ( already available in env ) 2018-02-14 22:36:11 +01:00
Jorge Morante 1a8591fcc4 pass env vars to fingers-copy-command ( IS_UPPERCASE and HINT ) 2018-02-14 22:36:11 +01:00
Jorge Morante 3fd3ea4d1f use tmux run-shell instead of eval so xdg-open works 2018-02-14 21:25:09 +01:00
Jorge Morante a3ea072959 rebuild pane width/height using splits to prevent word wrapping glitch
Fixes #44.

The initial idea was to use window force-width/height option to use
current pane size when initilizing fingers pane, but for reasons unknown
it does not work.

No idea why it works with splits, but it doesn't with force-width/height
options. Welcome to tmux-fingers.
2018-02-03 20:52:19 +01:00
Jorge Morante d764f25379 minor formatting changes in health-check 2017-10-08 18:51:06 +02:00
Jorge Morante 609f046112 add TODO to force_dim_support, not sure this is working 2017-10-08 18:50:55 +02:00
Jorge Morante 34da26ae41 fix $TERM check 2017-10-08 18:22:13 +02:00
Jorge Morante db66f62432 output health-check in a pager, rather than in copy-mode shell output 2017-10-08 18:22:12 +02:00
Jorge Morante 932b15dda9 fix program_exists ( LOL ) 2017-10-08 18:21:50 +02:00
Jorge Morante 70f914ecba recommend reattach-to-user-namespace for OSX in health-check 2017-10-08 18:21:50 +02:00
Jorge Morante b4f58df938 "fixing" copy paste in both linux and OSX? 2017-10-08 18:21:50 +02:00
Jorge Morante 612c2252a4 prevent jumpy re-renders on user input 2017-10-08 18:21:50 +02:00
Jorge Morante 0de3d1e814 add sleep to health-check so it shows up on startup, plus random text changes 2017-10-08 18:21:50 +02:00
Jorge Morante 7735ef927b add submodules initialization to health-check 2017-10-08 18:21:49 +02:00
Jorge Morante 7221bf8bea force dim support in some terminals ( iTerm I'm looking at you ) 2017-10-06 18:49:34 +02:00