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

348 Commits

Author SHA1 Message Date
Jorge Morante
68c5659415 updated CHANGELOG.md 2017-02-07 21:39:19 +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
d4f086de29 updated CHANGELOG.md 2016-12-09 17:08:12 +01:00
Jorge Morante
8c7933cbb1 properly fix bash_history bug, locking window name 2016-12-09 17:07:54 +01:00
Jorge Morante
42197d7d93 updated CHANGELOG.md 2016-12-03 19:19:26 +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
0ec23a189c updated CHANGELOG.md 2016-12-03 19:15:37 +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
42a56e7544 updated CHANGELOG.md 2016-12-03 18:06:17 +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
Jorge Morante
7c8356dc07 Merge branch 'morantron/unique-hints' 2016-10-25 08:07:47 +02:00
Jorge Morante
f48ed0a471 updated CHANGELOG.md 2016-10-25 08:05:49 +02:00
Jorge Morante
889f334b6e fix specs 2016-10-25 08:01:30 +02:00
Morantron
8e67f830a7 Merge pull request #14 from sunaku/indentation
indentation: fix awful mixture of tabs and spaces
2016-10-23 08:39:22 +02:00
Suraj N. Kurapati
87defe90ad update expected hint labels in tests accordingly 2016-10-22 13:04:14 -07: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
Jorge Morante
c47eb0cf4a updated CHANGELOG.md 2016-10-22 11:16:47 +02:00
Jorge Morante
14e067cb41 adding tests for custom-patterns 2016-10-22 11:15:17 +02: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
58dbd5ea18 fix dislexia 2016-10-17 23:51:50 +02:00
Jorge Morante
7fc1d923db update CHANGELOG.md 2016-10-17 23:49:59 +02:00
Jorge Morante
87254fd5c3 update README.md 2016-10-17 23:43:52 +02:00
Jorge Morante
3b3fcdf0b5 force terminal resolution when running tests 2016-10-17 23:42:39 +02:00
Jorge Morante
5aec2d98cf remove log traces 2016-10-17 23:16:10 +02:00
Jorge Morante
babd4095f7 fix tests the lazy way ™️ 2016-10-17 23:15:06 +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
Jorge Morante
dcf65b7b7e toggle collapsed hints by pressing <space> 2016-10-17 23:15:06 +02:00
Jorge Morante
b05b723165 properly yank shite 2016-10-17 23:15:06 +02:00
Jorge Morante
00a98e742f compact hints 2016-10-17 23:15:02 +02:00
Jorge Morante
2059e67fc6 updated CHANGELOG.md 2016-08-24 08:10:40 +02:00
Jorge Morante
4868598d78 fix specs for 80-col width 2016-08-24 08:08:18 +02:00
Jorge Morante
55469ed2d3 properly remove shite 2016-08-23 08:46:09 +02:00
Jorge Morante
1c85b1c802 cleaning 💩 up 2016-08-23 08:45:13 +02:00
Jorge Morante
2c4140e47a fix filepath regexp for OSX, and interval support check 2016-08-23 08:44:30 +02:00
Jorge Morante
84a6ce6abb accumulate hints and print lookup at the end of hinter 2016-08-22 22:36:13 +02:00
Jorge Morante
2e57e07e98 update README.md 2016-08-21 17:57:14 +02:00
Jorge Morante
e8c1e59e29 Improve performance with single-pass awk implementation 2016-08-21 17:57:09 +02:00
Jorge Morante
6c297dee65 updated CHANGELOG.md 2016-08-04 08:38:17 +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
f277fbc42c tmux-yank-integration spec 2016-07-15 08:32:11 +02:00
Jorge Morante
36c0d1f9d7 /usr/bin/env bash all the things 2016-07-15 08:31:45 +02:00
Jorge Morante
9e51484800 update CHANGELOG.md 2016-07-14 22:59:23 +02:00