Commit graph

61 commits

Author SHA1 Message Date
Daisuke Maki fc18c0d3de Methodically add function comments 2026-02-20 10:55:49 +09:00
Daisuke Maki aa8bec3184 Remove dead Use256Color config field
After the tcell migration, 256-color support is automatic via
terminfo detection. The field was stored but never read by any
rendering code.
2026-02-19 19:44:19 +09:00
Daisuke Maki 7e206f13a7 Merge master into feat-query-cursor-style 2026-02-19 09:55:31 +09:00
Daisuke Maki 95e13933c2 Do away with interface.go files 2026-02-18 21:12:19 +09:00
Daisuke Maki 46331edcfd Check for far wider range of things in lint 2026-02-18 07:49:40 +09:00
Daisuke Maki 8b87099a71 remove unused config entries 2026-02-17 11:25:22 +09:00
Daisuke Maki 91339e96f9 Do away with pkg/errors 2026-02-16 22:06:21 +09:00
Daisuke Maki d4ef70813f Implement zoom in/out 2026-02-16 19:49:49 +09:00
Daisuke Maki 56c81db24a gh-294 2026-02-15 15:35:21 +09:00
lestrrat f701816be7
Merge pull request #573 from mattn/fix-bug
Remove leading tab from doGoToPreviousSelection function name
2026-02-14 19:24:59 +09:00
Daisuke Maki ed9a2aa56c Add YAML support 2026-02-14 19:20:25 +09:00
Yasuhiro Matsumoto c1ffd8b128
go fmt ./... 2026-02-14 17:36:53 +09:00
Daisuke Maki db63d9f380 Add linting fixes 2026-02-14 07:48:23 +09:00
Daisuke Maki 7d42de7860 actual migration 2026-02-13 19:48:39 +09:00
Daisuke Maki e9c5582ba1 Initial pass 2026-02-13 12:35:06 +09:00
narugit a7cd43ff22 Apply 256color configuration 2020-06-06 21:38:11 +09:00
narugit a14f3abf35 Add configuration for 256color 2020-06-06 21:38:11 +09:00
Daisuke Maki 61b5d22fb8 Move stuff around for better code organization 2016-12-14 11:00:22 +09:00
Daisuke Maki 821af182ab reinstate single key jump
the caching was more agressive than before, and we forgot to
initialize the structure correctly

TODO: Write tests to catch this

fixes #331
2016-08-22 17:56:32 +09:00
Daisuke Maki e32b419df9 Fix styles 2016-06-23 02:50:08 -04:00
Daisuke Maki 6511b31674 Locate rcfile
fixes #306
2016-06-18 17:40:33 +09:00
Daisuke Maki 39eb717c6e Wrap errors 2016-06-18 17:40:33 +09:00
Daisuke Maki e3c36875fa eradicate fmt.Errorf 2016-06-18 17:40:33 +09:00
Daisuke Maki a8d042d93c highlighting is back 2016-06-18 17:39:02 +09:00
Daisuke Maki 5f38de0d5f Allow tweaking SingleKeyJump mode
- Setting SingleKeyJump.ShowPrefix to true will make the
  hint markers to be show ALWAYS
- Create a config struct for SingleKeyJump so we can
  extend it later
2015-09-29 13:27:02 +09:00
Daisuke Maki 62fa53e053 Implement hit-a-hint
- "@" toggles "SingleKeyJump" mode
- list of hot keys are displayed to the left
- selecting the key allows you to jump to the line, and
  peco exits by selecting that line
2015-09-29 12:02:39 +09:00
Daisuke Maki 586c36a0e7 Let us being the great refactor
* Move internal stuff to internal
* Properly use conditional compilation to detect Windows
* Move type declarations to one location (except for a few places still)
2015-09-28 21:39:43 +09:00
Daisuke Maki c37cee0a99 Add a QueryExecutionDelay config
This allows you to set an arbitrary delay between query execution.
For example, when you type fast, by default queries will be run
against every character being typed in. By setting this to a higher
number, peco will batch these up into one query execution instruction.

The unit of this parameter is milliseconds.

Personally, I like 500
2015-03-17 15:37:53 +09:00
Daisuke Maki 64fc4d12fd some linting 2015-03-17 15:37:53 +09:00
Daisuke Maki bcba884007 rename confusing variable 2015-03-17 15:37:52 +09:00
Daisuke Maki af4a4c8116 Remove more silly accessors 2015-03-17 15:37:52 +09:00
Daisuke Maki 08653e2afe Note and docs about BufferThreshold 2015-03-17 15:37:52 +09:00
Daisuke Maki b848c6c0a2 Implement sticky selection
By default this feature is disabled, keeping backward compatibiity.
This should fix #230
2015-03-17 15:37:51 +09:00
Daisuke Maki 851a3405ce Remove more references to matcher 2015-03-17 15:37:50 +09:00
Daisuke Maki f323966c77 Implement custom matcher using the new streaming filter 2015-03-17 15:37:49 +09:00
Daisuke Maki cd515a369f Start adding test for layout 2014-08-22 12:25:17 +09:00
Daisuke Maki f9ee817fd5 Allow setting layout from config file
...So you don't have to type it all the time!
2014-08-16 21:13:32 +09:00
Daisuke Maki 068c982864 Rip screen drawing out of View
View handles communication and control of elements in the Layout.
Layout does the actual drawing.
2014-08-16 07:33:31 +09:00
Daisuke Maki 5006a121ea Deprecate 'Matcher' in config file, use 'InitialMatcher'
This aligns the option name with the command line option name in the
peco binary.
2014-08-13 14:55:04 +09:00
Daisuke Maki 73473f0201 golint 2014-07-23 18:12:50 +09:00
Daisuke Maki 056e41ecf3 golint 2014-07-23 18:05:37 +09:00
uobikiemukot 13aefc81c7 support "on_bold" attribute (termbox bg: AttrBold) 2014-07-22 21:49:09 +09:00
Daisuke Maki 620e324c5e golint 2014-07-12 16:41:30 +09:00
Daisuke Maki 7d3310fce5 Create combined actions.
This change still doesn't work, as data modification happens at
different goroutines and some things just don't make sense then
2014-07-11 14:39:31 +09:00
Daisuke Maki 8d84660f67 Start moving away from the old way of using the Keymap object 2014-07-05 21:47:14 +09:00
Daisuke Maki 8c3e629dad Various
* Alt key mod now work again
* Use TrimSpace
* Remove some unused code (need to delete a LOT more)
2014-07-05 21:30:30 +09:00
Takashi Kokubun f4a0ae6852 Enable customizing query prompt 2014-07-05 11:04:12 +09:00
Takashi Kokubun 772d804c25 Introduce matched style 2014-07-04 01:33:45 +09:00
Daisuke Maki 46985ff2af Fix test 2014-06-26 12:22:59 +09:00
Daisuke Maki a0c6cc5b47 Try to workaround #102 2014-06-26 11:11:17 +09:00