Commit Graph

852 Commits

Author SHA1 Message Date
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
TJ DeVries
11a3c70609 Begin work on larger global config, to tailor defaults 2020-09-07 00:20:08 -04:00
smolck
2592586533 View the planets (#12)
* add planets viewer builtin

* Remove print statement

* Don't use fzf & echo

* Add all planets as files and refactor accordingly

* Remove planets.lua

* add the moon

* example ofe how to do this without ls everywhere

* fix rebase and update to new style

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-09-06 23:07:51 -04:00
runiq
675e240383 Normalize mappings (#28)
Modes now use lowercase keys, mappings use the internal representation
via `nvim_replace_termcodes()`.
2020-09-06 22:51:36 -04:00
Brian Ryall
b065423013 added treesitter builtin (#31)
* added treesitter builtim

* fixed treesitter pr comments

* fix the buffer previewer to keep lnum visable
2020-09-06 22:48:36 -04:00
TJ DeVries
0185d9b6b0 fix: err msg 2020-09-05 23:34:52 -04:00
Subeet Kumar Dutta
d3c9b65252 added preview for files which spaces in names. (#35)
TODO: Still need to do better escaping.
2020-09-05 15:49:01 -04:00
TJ DeVries
639497ae6d feat: version check 2020-09-05 15:15:15 -04:00
TJ DeVries
a0318bfc2a fix: respect path over filename 2020-09-05 07:36:06 -04:00
TJ DeVries
c70d6e58a0 feat: add buffer list (#30)
NOTE: Buffer entry sometimes uses unstyled window, and I can't figure out why.

* feat: add buffers

* fixup
2020-09-05 07:34:38 -04:00
Simon Hauser
4abb5f7867 Adds split and tabedit mappings. Adopted by fzf.vim (#29) 2020-09-04 15:48:00 -04:00
runiq
f5f1275411 Fix mapping prefix (#26)
`<cmd>` doesn't trigger `InsertLeave`.
2020-09-04 14:27:39 -04:00
TJ DeVries
a6c883ce36 breaking: change attach_mappings to take bufnr as first argument 2020-09-04 11:01:10 -04:00