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
TJ DeVries
7d3e93e7b4
fix: Don't pass nil to scoring func
2020-09-17 08:18:28 -04:00
Corentin Brunel
17ee4a96ff
fix: Add nil checks for state when preview hasn't been initialized yet ( #92 )
2020-09-17 08:15:48 -04:00
TJ DeVries
1865815687
feat: Easy Termopen for Previewer ( #88 )
...
First pass, but seems to work. Fixed a few other related items, so pushing it to master now.
* [WIP]: Wed 16 Sep 2020 05:17:10 PM EDT
* [WIP]: Wed 16 Sep 2020 06:10:33 PM EDT
* [WIP]: Wed 16 Sep 2020 06:19:43 PM EDT
2020-09-16 18:20:14 -04:00
Christian Clason
1ef43e001b
Add sorter to live_grep ( #61 )
2020-09-16 18:10:20 -04:00
Oleg Matrokhin
9766a5bec8
fix: use double dash to fix special filenames ( #87 )
...
Co-authored-by: Oleg Matrokhin <o.matrohin@softpro.com >
2020-09-16 17:09:12 -04:00
TimUntersberger
93e683f0e7
feat: add builtin.lsp_code_actions ( #77 )
...
* fix: use correct path separator on windows
* fix: add utils.get_separator
* asdf
* feat: add builtin.commands
* change commands sorter
* change sorter
* change sorter
* feat: make it possible to specify the find_command for find_files
* temp
* feat: add find_command option for find_files
* wip
* fix: execute code action
2020-09-16 12:31:16 -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
TJ DeVries
54f768fd7f
fix: At least close pum when open and closing
2020-09-16 10:53:53 -04:00
TJ DeVries
b8f17075d4
fix: always have a dictionary for opts
2020-09-15 15:30:01 -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
6ffa3c24b3
feat: improve (?) performance of default sorter
2020-09-15 14:15:55 -04:00
TJ DeVries
0ab858d9fe
feat: (wip) current_buffer strategy
2020-09-15 13:10:34 -04:00
TimUntersberger
0a734ae49d
feat: add find_command option for find_files ( #73 )
2020-09-13 18:13:46 -04:00
Corentin Brunel
3d423a3b59
feat: Add support for ripgrep in "find_files" builtin ( #70 )
...
* feat: Add support for ripgrep in "find_files" builtin
* docs: Add mention about "ripgrep" for find_files builtin
2020-09-12 23:52:24 -04:00
TJ DeVries
ebd090c0fe
wip: some more musings on resolving height and width
2020-09-12 23:15:10 -04:00
Simon Hauser
4852d027d0
feat: Adds shorten_path, show_all_buffers opts and fixes alignment (buffers builtin) ( #32 )
2020-09-12 17:07:37 -04:00
TimUntersberger
3a9b25e6bf
feat: builtin.commands ( #54 )
...
* fix: use correct path separator on windows
* fix: add utils.get_separator
* asdf
* feat: add builtin.commands
* change commands sorter
* change sorter
* change sorter
2020-09-12 17:02: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
58ab225dca
fix: Pass cwd down correctly for find files
2020-09-12 13:47:15 -04:00
TJ DeVries
f2d757bad3
feat: make prime happy part 1
2020-09-12 09:18:28 -04:00
TJ DeVries
c73eb1c0d8
nit: Always set a state
2020-09-11 23:57:55 -04:00
Dave Lage
8beb8c876b
Merge pull request #59 from clason/patch-1
...
Restrict builtin find_files to files
2020-09-11 18:13:41 -04:00
TJ DeVries
f47f1dc037
feat: make buffer work much better
2020-09-11 15:28:32 -04:00
TJ DeVries
a9404201a9
scratch: add thoughts
2020-09-11 14:39:56 -04:00
TJ DeVries
d96d89711c
feat: add a bit better writer support
2020-09-11 14:36:57 -04:00
Christian Clason
cc635a161e
Add smart case to vimgrep arguments ( #60 )
2020-09-11 11:29:17 -04:00
TJ DeVries
402d8f1b6a
fix: make begin proff
2020-09-11 11:21:09 -04:00
Christian Clason
8d8368a641
Restrict find_files to files
2020-09-11 14:57:13 +02: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
769f5934f0
feat: add current file fuzzy finder
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
TJ DeVries
969e49c577
builtin.fd -> builtin.find_files
2020-09-10 11:16:10 -04:00
TJ DeVries
e1ded1a01d
Allow easily changing grep arguments
2020-09-10 11:11:17 -04:00
Christian Clason
5a3b76b9ed
rounded corners ( #48 )
2020-09-10 10:27:56 -04:00
TJ DeVries
f50e504ae4
fix: Close should put you back in original window id
2020-09-10 10:25:32 -04:00
TJ DeVries
a6e8b63709
feat: add flex
2020-09-09 00:18:54 -04:00
TJ DeVries
fe7dec6339
fix: don't accidentally mess with state
2020-09-09 00:18:43 -04:00
TJ DeVries
b0faec6dd9
temp: limit requests for live grep
2020-09-08 23:29:29 -04:00
TJ DeVries
c70bbf804c
fix: set some opts for bat
2020-09-07 11:11:00 -04:00
TJ DeVries
c98c4917be
feat: no longer need to set minheight in window_options
2020-09-07 10:54:36 -04:00
TJ DeVries
dffcef9470
fix: Close termopen jobs when done
...
TODO: Still need to fix the rest of em. And I see lots of repeated
code... we will need to fix that.
Also adjusted some bat options.
2020-09-07 10:47:11 -04:00