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

94 Commits

Author SHA1 Message Date
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
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
Ferran Basora
76b187581e New bindings for tmux 2.3 2017-04-23 19:04:55 +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
0d69d6412f improving health cheack and adding at least gawk 4 2017-04-23 19:04:55 +02:00
Jorge Morante
b61ea77cd2 add version to help screen 2017-04-23 19:04:55 +02:00
Jorge Morante
e8e302cf91 better formatting in health check 2017-04-23 19:04:55 +02:00
Jorge Morante
2a7387ee69 add docs and docs link 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
b072d91958 initial health check implementation 2017-04-23 19:04:55 +02:00
Jorge Morante
8ce451da4e adding color configuration env variables 2017-04-23 19:04:47 +02:00
Jorge Morante
ff2e8cc891 fixed support for fish ><((o> 2017-02-14 08:29:42 +01: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
Jorge Morante
8c7933cbb1 properly fix bash_history bug, locking window name 2016-12-09 17:07:54 +01:00
Jorge Morante
b3653a0071 Revert "don't pollute .bash_history"
This reverts commit f9e59c1ce1.
2016-12-03 19:18:15 +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
f9e59c1ce1 don't pollute .bash_history 2016-12-03 17:28:04 +01:00
Suraj N. Kurapati
b10ea7791c hinter: use same hint for all occurrences of match
This patch changes the hinter to use the same hint for all occurrences
of a match, thereby reducing the need to use multi-character hints and
also eliminating redundant hints to simplify the user's hint decision.
2016-10-22 12:51:42 -07:00
Suraj N. Kurapati
ca1db9af26 indentation: fix awful mixture of tabs and spaces 2016-10-22 10:28:40 -07: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
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
7faf361f68 performance boost by spawning bash withouth rc/profile 2016-10-17 23:15:06 +02:00
Jorge Morante
c5353288f1 updating README.md 2016-10-17 23:15:06 +02:00
Jorge Morante
d257428cea space a bit uncollapsed hints 2016-10-17 23:15:06 +02:00