Commit Graph

188 Commits

Author SHA1 Message Date
TJ DeVries
1222cc5b42 nit: Log when we fail with a busted bufnr 2020-10-08 22:35:17 -04:00
TJ DeVries
59497d6640 feat: Do a bit better sorting for command history
To be honest, I'm not 100% sure this is fantastic, but it's definitely a
step in the right direction for command history.

Closes: #150
2020-10-08 22:31:44 -04:00
TJ DeVries
c2c4626c3d feat: Add more easily customizable mappings.
Closes: #131
2020-10-08 21:39:43 -04:00
TJ DeVries
c0f99aa09d temp: Removing redraw for now to see if it feels slower or faster for people 2020-10-08 14:22:10 -04:00
Alvaro Muñoz
6af6b4e5fd feat: prompt_prefix option (#154)
* enable prompt_prefix option

* add hl and default value

* default hl and prefix

* fixup: move the redraw til after prompt create

* fixup: nits

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-08 13:34:59 -04:00
TJ DeVries
9d894f8229 fix: Respect cmdheight and laststatus 2020-10-08 12:53:42 -04:00
TJ DeVries
8736ea5f6a feat: ALPHA Add layout_defaults and layout_config options 2020-10-08 12:15:29 -04:00
TJ DeVries
2f03dbf265 fix: Remove useless prompt_title 2020-10-08 10:40:22 -04:00
TJ DeVries
50afbb706d fix: Scrolls past bottom line 2020-10-08 10:32:25 -04:00
TJ DeVries
d32d4a6e0f fix: Reduce memory leaks (#148)
It is not 100% clear that we've gotten ALL the memory leaks, but it
seems much much much better and doesn't look like it's going to die
immediately or as often anymore :)
2020-10-06 21:57:49 -04:00
rockerBOO
1821eb11f1 fix: Results height configurable. Properly collapse on border = false 2020-10-04 16:19:56 -04:00
Alvaro Muñoz
c414e5f869 feat: Add highlight for selection caret (#135)
* Add highlight for selection caret

* add default hl

* remove highlight overlap
2020-10-02 11:26:11 -04:00
Alvaro Muñoz
efffe0b533 fix: set winhl as soon as possible to avoid color glitches (#136) 2020-10-01 21:01:23 -04:00
TJ DeVries
3d0a485727 hotfix: Should stop referencing nil values
Don't know why we were getting there, but maybe this will fix the
problem?
2020-09-30 09:43:11 -04:00
TJ DeVries
ae7fd0d27a feat: Add status, better debug, and some associated refactors
* [WIP]: Mon 28 Sep 2020 01:08:24 PM EDT

* add much much better tracking. so much less hax

* status updates, oneshot job updates, etc.

* remove temp function

* add status function

* asdfasdfasdf
2020-09-29 22:52:38 -04:00
TJ DeVries
3592b1f8b0 fix: 126 2020-09-28 17:03:59 -04:00
TJ DeVries
079773ebee fix: No longer lose highlights when moving through results 2020-09-26 12:36:58 -04:00
TJ DeVries
33b6db19ab fix: Fixed some off by one errors for ascending strategy 2020-09-26 12:21:10 -04:00
TJ DeVries
64207a21c2 feat: Add TelescopeMatching a new highlight for matches from sorters 2020-09-26 12:05:32 -04:00
TJ DeVries
a38bb06e7d wip: Add some stuff for nvim_file 2020-09-24 23:23:03 -04:00
TJ DeVries
46f1b47c0b fix: more silenter 2020-09-24 21:04:21 -04:00
Dave Lage
b31bc361d5 fix: Use specific highlight types (#112) 2020-09-22 23:37:38 -04:00
rockerBOO
d68108e098 fix: Use specific highlight types 2020-09-22 23:36:40 -04:00
Dave Lage
84cfdd1bd8 feat: Add TelescopeBorder Highlight (#111) 2020-09-22 23:31:40 -04:00
rockerBOO
e4a5bd5824 feat: Add TelescopeBorder Highlight 2020-09-22 23:29:48 -04:00
TJ DeVries
e43efc389e fix: Don't pass anything if word match is empty 2020-09-22 12:50:03 -04:00
TJ DeVries
941fb160c5 fix: Don't log so much for users. Fix #91 2020-09-22 10:04:02 -04:00
TJ DeVries
be9a0e5236 fix: Close existing pickers when starting new one. Fix #102 2020-09-22 09:59:06 -04:00
TJ DeVries
25b7895097 feat: Disable job recording from plenary.
This should reduce memory usage at least for large jobs. We won't save
all the results into the job. I _think_ this will be half memory usage
for many situations.
2020-09-21 15:41:38 -04:00
TJ DeVries
d891ba4f2e feat: add some tests and improve perf 2020-09-18 00:11:22 -04:00
TJ DeVries
f3fc1ca8c1 fix: Make tests pass again 2020-09-18 00:11:22 -04:00
TJ DeVries
a9d9b3d8bf feat: Improved previewers and cleanup 2020-09-17 12:34:42 -04:00
TJ DeVries
7bdb39b138 fix: Don't fail if we can't save undo info 2020-09-17 08:28:50 -04:00
TJ DeVries
d170d60116 fix: Don't assume newlines are the reason the set broke 2020-09-17 08:23:19 -04:00
TJ DeVries
1dc29ed14b fix: Don't write to invalid buffers 2020-09-17 08:20:39 -04:00
haorenW1025
7d1a8292b6 feat: add scrolling in preview window (#47)
* feat: add scrolling in preview window

refactor into two layers

* remove redundant code

* add error message for scroll_fn and send_input

* consider count for preview scrolling
2020-09-16 12:20:45 -04:00
TJ DeVries
9bdf5b3d4a fix: Attempt more window closing updates 2020-09-16 12:19:30 -04:00
Dave Lage
15d3cac7b1 feat: Themes (#79)
Big shoutout to @rockerBOO  for the idea and basically all the impl!

* feat: Add dropdown layout strategy

* Adding more docs. Working better with options

* Refactor borders

* Fix for spaces

* Add preview to layout. Add Themes.

* feat: themes

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-09-15 14:54:29 -04:00
TJ DeVries
ebd090c0fe wip: some more musings on resolving height and width 2020-09-12 23:15:10 -04:00
rockerBOO
5ef7578764 fix: Error properly when using invalid layout strategy 2020-09-12 16:47:44 -04:00
TJ DeVries
f449c0499c feat: Better border configuration.
Started adding `resolve` which will allow you to do some really nice
stuff easily with options to get the window options from a variety of
inputs.

You can see how we do it in pickers.lua for borders & borderchars
currently.
2020-09-12 14:56:58 -04:00
TJ DeVries
f2d757bad3 feat: make prime happy part 1 2020-09-12 09:18:28 -04:00
TJ DeVries
402d8f1b6a fix: make begin proff 2020-09-11 11:21:09 -04:00
TJ DeVries
382c491380 feat: Add some more layout options 2020-09-11 00:14:40 -04:00
TJ DeVries
fe387d10db feat: add top down prompt position 2020-09-11 00:14:40 -04:00
TJ DeVries
a9ffc18830 feat: add border and borderchars 2020-09-10 12:00:29 -04:00
TJ DeVries
fe7a7b4657 Don't let begin error when he makes bad stuff 2020-09-10 11:29:55 -04:00
TJ DeVries
d42b057f64 feat: add filetype 2020-09-10 11:23:04 -04:00
Christian Clason
5a3b76b9ed rounded corners (#48) 2020-09-10 10:27:56 -04:00
TJ DeVries
c98c4917be feat: no longer need to set minheight in window_options 2020-09-07 10:54:36 -04:00