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

60 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
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
Ethan Chan
b4a7e111b8
Remove redirection to /dev/null, fixing OSX open. 2018-11-04 16:32:47 -08: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
Jorge Morante
c12380682c use printf instead of echo to address portability issues ( fixes #47 ) 2018-03-30 16:02:41 +02: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
609f046112 add TODO to force_dim_support, not sure this is working 2017-10-08 18:50:55 +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
7221bf8bea force dim support in some terminals ( iTerm I'm looking at you ) 2017-10-06 18:49:34 +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
0a9e0135f1 use global tmux env 2017-05-01 09:06:06 +02:00
Jorge Morante
75a0ea9b54 make tmux-yank integration work with new set-buffer approach 2017-04-23 19:05:45 +02:00
Jorge Morante
57f0b731a6 small changes in tmux-next send-keys breaking change 2017-04-23 19:05:28 +02:00
Ferran Basora
0fd04a9647 Remove actions 2017-04-23 19:05:25 +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
8c7933cbb1 properly fix bash_history bug, locking window name 2016-12-09 17:07:54 +01:00
Jorge Morante
ba24c4566a Revert "Revert "properly delete all tmp files""
This reverts commit 2e58dfb404.
2016-12-03 19:17:58 +01:00
Jorge Morante
2e58dfb404 Revert "properly delete all tmp files"
This reverts commit 191bac7dff.
2016-12-03 19:14:25 +01:00
Jorge Morante
191bac7dff properly delete all tmp files 2016-12-03 18:02:16 +01:00
Jorge Morante
5aec2d98cf remove log traces 2016-10-17 23:16:10 +02:00
Jorge Morante
6b67ce92df add help screen and hack input a little bit 2016-10-17 23:15:06 +02:00
Jorge Morante
3abca2a0ff read default compact state from configuration 2016-10-17 23:15:06 +02:00
Jorge Morante
c5353288f1 updating README.md 2016-10-17 23:15:06 +02:00
Jorge Morante
dcf65b7b7e toggle collapsed hints by pressing <space> 2016-10-17 23:15:06 +02:00
Jorge Morante
1c85b1c802 cleaning 💩 up 2016-08-23 08:45:13 +02:00
Jorge Morante
e8c1e59e29 Improve performance with single-pass awk implementation 2016-08-21 17:57:09 +02:00
Jorge Morante
29d424996d Sanitize input, fixing weird output when holding arrow keys
More info in http://unix.stackexchange.com/questions/179191/bashscript-to-detect-right-arrow-key-being-pressed/179193
2016-08-04 08:31:51 +02:00
Jorge Morante
0c16b46f0f preserve pane zoom state 2016-07-16 10:40:49 +02:00
Jorge Morante
c267108eb1 evily fix xclip not working with @fingers-copy-command 2016-05-24 22:57:31 +02:00
Jorge Morante
739e34922d clear scrollback history only in fingers pane 2016-05-13 09:32:11 +02:00
Jorge Morante
9e04dc6e0a add @fingers-copy-command option 2016-05-12 09:11:58 +02:00
Jorge Morante
9f5e8af84f better rendering 2016-05-12 08:46:57 +02:00
Jorge Morante
2ceea91504 remove unused exec code 2016-05-05 23:33:07 +02:00
Jorge Morante
754a8ec7da OSX compatibility and fixes 2016-05-02 21:15:29 +02:00
Jorge Morante
fb07f89064 disable exec mode for the moment 2016-05-01 19:50:57 +02:00
Jorge Morante
8fb03380d5 mini cleanup 2016-05-01 19:01:28 +02:00