Commit Graph
67 Commits
Author SHA1 Message Date
Simon ZengandGitHub 59ef37ded4 Add telescopes provider (#168)
Amendment: replace the old `builtin`
2020-10-24 23:00:22 -04:00
TJ DeVries f95fe484f7 feat: Add ability to configure default sorters 2020-10-19 22:46:36 -04:00
Malcolm RamsayandGitHub 4cfab37541 Ensure git_files uses the git root directory as cwd (#180)
* fix: Ensure git_files uses the git root directory as cwd

This sets the cwd option of the git_files builtin to use the root of the
git directory when the cwd option doesn't already exist. When git lists
files, it is relative to the root of the git directory, rather than the
current working directory. This caused problems when using git_files in
a subdirectory of the git root (see #174).

This commit fixes the issue by always setting the cwd as the root of the
git directory.

* ref: Use neovim's system caller for command

This removes the need for an additional lua function to extract the shell
response, making use of inbuilt vim functionality.
2020-10-19 14:06:51 -04:00
Alvaro MuñozandGitHub d493a76058 refactor: prompt->prompt_title (#169)
* refactor: prompt->prompt_title ; prompt_prefix->prompt_text

* undo prompt_prefix rename

* undo prompt_prefix rename
2020-10-17 17:26:14 -04:00
TJ DeVries 5a7a3147a4 fix: Use entry maker for marks 2020-10-15 22:30:08 -04:00
RaphaelandGitHub 18a91f2714 Add Colorscheme and Marks Support and Telescope Commands (#167)
* Add Telescope Commands

* Add Colorscheme support

* Add Command for coloscehme

* add marks support

* rename commad
2020-10-12 09:38:34 -04:00
TJ DeVries 376959e7df fix: #125 2020-10-08 22:56:51 -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
NorlockandGitHub 919b8f2a9d fix: Changed git command to show all files inside project (#129) 2020-10-07 17:03:30 -04:00
a7957b2bdc feat: Manpages finder (output of apropos) (#134)
First edition. Sometimes weird things can happen with the previewer, but I think I got it 99% working.

* feat: Manpages finder (output of apropos)

* fixup: Add previewer and fix comments

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-07 16:01:47 -04:00
Nolan ProchnauandGitHub caf370cc37 feat: Add find command support (#145) 2020-10-05 21:57:48 -04:00
Senghan BrightandGitHub 054bd34498 feat: builtin - lua package reloader (#132) 2020-10-04 09:08:05 -04:00
TJ DeVriesandGitHub 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 c58779144f fix: #105
Warn users if they have `report` set to a bad value

In the future, we could try and change it and put it back, but that
feels a bit bad. If anyone can tell me WHY you would want this, then we
can do it.
2020-09-25 10:29:17 -04:00
c3f9b25606 feature: Vim help-tags picker (#117)
* feature: Vim help-tags picker

* fix: filtered results were wrong because of missing `entry.value`

* fix: filtered (Vim only help) items are listed in results as empty
entries.

* fix: avoid search history pollution by replacing / in cmd returned by taglist() with search()

* fix: improve search() formatting

* fix: escape tilde in search() command

* fix: improve help-preview

* fix: improve search()

* fix: search() string fixes.

* fix: use no magic to do magic

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-09-25 00:16: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 025485fa1f wip: Add ability to search for word match w/ rg 2020-09-22 09:58:08 -04:00
TJ DeVries 9f863d40bd fix: Add timeout param to all buf_requests and move to 10 seconds 2020-09-18 10:02:15 -04:00
TJ DeVries 492b4f1e95 fix: add timeout param 2020-09-18 09:59:46 -04:00
TJ DeVries d891ba4f2e feat: add some tests and improve perf 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 DeVriesandGitHub 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 ClasonandGitHub 1ef43e001b Add sorter to live_grep (#61) 2020-09-16 18:10:20 -04:00
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
TimUntersbergerandGitHub 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
TimUntersbergerandGitHub 0a734ae49d feat: add find_command option for find_files (#73) 2020-09-13 18:13:46 -04:00
Corentin BrunelandGitHub 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
Simon HauserandGitHub 4852d027d0 feat: Adds shorten_path, show_all_buffers opts and fixes alignment (buffers builtin) (#32) 2020-09-12 17:07:37 -04:00
TimUntersbergerandGitHub 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
TJ DeVries 58ab225dca fix: Pass cwd down correctly for find files 2020-09-12 13:47:15 -04:00
Dave LageandGitHub 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
Christian ClasonandGitHub 8d8368a641 Restrict find_files to files 2020-09-11 14:57:13 +02:00
TJ DeVries 769f5934f0 feat: add current file fuzzy finder 2020-09-11 00:14:40 -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
TJ DeVries b0faec6dd9 temp: limit requests for live grep 2020-09-08 23:29:29 -04:00
TJ DeVries 11a3c70609 Begin work on larger global config, to tailor defaults 2020-09-07 00:20:08 -04:00
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
Brian RyallandGitHub 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
TJ DeVries 639497ae6d feat: version check 2020-09-05 15:15:15 -04:00
TJ DeVriesandGitHub 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
TJ DeVries a6c883ce36 breaking: change attach_mappings to take bufnr as first argument 2020-09-04 11:01:10 -04:00
TJ DeVries 14310ee6b1 fix: Don't push past midnight. You'll make clason's stuff break :/ 2020-09-04 09:49:10 -04:00
TJ DeVries 996f69465e feat: vertical layouts. see 'layout_strategy' 2020-09-04 00:36:28 -04:00
TJ DeVries 839f57efb3 feat: Major improvements in API. Particularly relating to entries. 2020-09-03 23:56:49 -04:00
TJ DeVries d48a2933d5 fix: clear last line 2020-09-02 19:11:38 -04:00
TJ DeVries 061307233c feat: add some new items and make mappings easier 2020-09-02 00:06:07 -04:00
HimanshuandGitHub 9f906f0392 Added functionality to view and navigate loclist (#17) 2020-09-01 22:34:21 -04:00