1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-07-01 08:10:57 +02:00
Commit Graph

126 Commits

Author SHA1 Message Date
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
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
Jorge Morante
7c3a224a3c add $TERM value to health-check 2017-10-06 18:49:03 +02:00
Jorge Morante
9bf99f265d Merge remote-tracking branch 'john-kurkowski/fix-bsd-sed' 2017-05-24 22:25:40 +02:00
John Kurkowski
0f2be7c986 Fix silent yank error on macOS
My `$tmux_yank_copy_command` is `reattach-to-user-namespace pbcopy`.
Running it myself in `nohup` is fine. However, tmux-fingers running it
with `nohup` produces a silent error: `nohup: can't detach from console:
Inappropriate ioctl for device`. Removing `nohup` restores my yank
ability.
2017-05-21 17:33:44 -07:00
John Kurkowski
350a3bafa8 Extend regular expressions to appease BSD sed
BSD sed with only basic regular expressions did not like the `\?`. Use
extended regular expressions and simplify the regex escaping. Works with
both BSD & GNU sed.
2017-05-21 17:10:54 -07:00
Jorge Morante
6693660afa fix tmux-yank integration with tmux 2.4 2017-05-17 17:30:44 +02:00
Jorge Morante
a86154104a remove log 2017-05-02 17:50:21 +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
c34bc91ba8 swap panes after showing hints ( fixes #26 ) 2017-05-01 10:16:52 +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