817 Commits

Author SHA1 Message Date
Nolan Prochnau 48820cb1a0 Grab helptags from all paths defined in rtp 2020-11-09 22:05:02 -05:00
Simon Hauser d8befe2437 Cat will no longer display binary files (#224) 2020-11-05 19:53:57 -05:00
Senghan Bright 051aefdb8c feat: v1 options menu (#133)
Still has a bunch of improvements that can be done, but wanted to merge in some of the related changes.

* options parser

* wip: vimoptions finder

* feat: pre-populate ex-command line with `:set foo=`

* use options current value when populating command line

* fix: use result.raw_value to store original option value

* .

* options: Continue work on option finder

* [WIP]: Tue 27 Oct 2020 10:34:09 PM EDT

* [WIP]: Mon 02 Nov 2020 08:20:13 PM EST

* [WIP]: Mon 02 Nov 2020 09:04:23 PM EST

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-11-02 21:05:10 -05:00
TJ DeVries 855d818a5d fix: #211 2020-11-02 17:07:32 -05:00
Simon Hauser aba433c522 feat: Actions can now be summed up and center action (#204)
Closes: #182 

* Actions can now be summed up and center action

* fix: Make some complicated changes for metatable

* Update documentation

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-11-02 17:00:23 -05:00
TJ DeVries a37e4699c4 feat: Closes #205 2020-10-30 18:31:06 -04:00
TJ DeVries 656f316aee nit: this is a temporary change 2020-10-30 18:01:27 -04:00
Simon Hauser 78cf7ebd7f Fix find_command for find_files when using find executable (#199)
Closes: #193
2020-10-28 03:55:49 -04:00
Spencer Gilbert 87d99bd4d7 feat: Get BAT_THEME var from environment (#200)
Closes: #196
2020-10-28 03:53:08 -04:00
TJ DeVries a3afb35614 feat: Added some docs & validation 2020-10-27 23:33:49 -04:00
TJ DeVries b76babb225 fix: attempt to fix problem for tami, hopefully no more error 2020-10-27 22:35:55 -04:00
Jan Šipr 631167bc55 Fix error message (#198) 2020-10-27 11:52:23 -04:00
TJ DeVries 113a516c63 feat: Add ability to turn off devicon colors 2020-10-25 08:19:09 -04:00
TJ DeVries 477261e5c0 feat: Improve filtering ideas for sorters. 2020-10-25 08:09:07 -04:00
Simon Zeng 59ef37ded4 Add telescopes provider (#168)
Amendment: replace the old `builtin`
2020-10-24 23:00:22 -04:00
TJ DeVries a8e7807086 feat: Use colors from nvim-devicons 2020-10-24 22:55:45 -04:00
swarn 7eda4e80f9 feat: Add a sorter using the fzy algorithm (#184)
* Add a sorter using the fzy algorithm

* Reformat fzy.lua

Also, update author attribution.

* Remove constansts from fzy module

Replace a few of the useful ones with getter functions that make it
clear they're not modifiable.

* Change names of fzy constant getters

* fixup: some small nit picks

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-20 20:14:07 -04:00
TJ DeVries 14f834b754 fix: trim spaces from prompt string 2020-10-20 19:57:59 -04:00
Bastien Rivière b98509b4ad fix: use results_height and results_width from config (#171) 2020-10-19 22:54:35 -04:00
TJ DeVries f95fe484f7 feat: Add ability to configure default sorters 2020-10-19 22:46:36 -04:00
Malcolm Ramsay 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ñoz 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
Raphael 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
Christian Clason 1e02a0a9cd fix: Clason is a miracle worker (#172)
Adds the `-R` flag to `less` for the other code path as well, which is called for `grep` and `workspace_symbols`.
2020-10-10 14:37:20 -04:00
TJ DeVries 6267ead134 fix: Use R for less so it's not bad 2020-10-09 17:34:26 -04:00
TJ DeVries fe63e4f1de fix: Add 'use_less' config value 2020-10-09 00:00:57 -04:00
TJ DeVries ad12bf03d1 feat: Add a test file 2020-10-08 23:48:29 -04:00
TJ DeVries 376959e7df fix: #125 2020-10-08 22:56:51 -04:00
TJ DeVries 2ce3ad61aa fix: #140 2020-10-08 22:53:44 -04:00
TJ DeVries 3cf3acc4d5 feat: Add scroll_strategy = 'cycle' 2020-10-08 22:47:22 -04:00
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 282e328d46 fix: Allow people to still override ALL the mappings 2020-10-08 21:42:50 -04:00
TJ DeVries c2c4626c3d feat: Add more easily customizable mappings.
Closes: #131
2020-10-08 21:39:43 -04:00
TJ DeVries fa17b37dad fix: Do not wrap lines and allow scrolling in ranged options 2020-10-08 21:07:25 -04:00
TJ DeVries 0b35057a0c fix: Select only the desired value in resolvers 2020-10-08 20:40:28 -04:00
Dave Lage 27baff48d5 Revert "fix picking height as width (#157)" (#158)
This reverts commit c6716a5f6a.
2020-10-08 17:59:46 -04:00
Alvaro Muñoz c6716a5f6a fix picking height as width (#157) 2020-10-08 17:45:11 -04:00
Dave Lage 04fe97d40d fix: preview_cutoff to always show on dropdown theme (#156) 2020-10-08 14:24:39 -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
TJ DeVries 9e470537c8 fix: Remove space that I did not mean to add 2020-10-08 13:40:06 -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 25ed3de0ff fix: Shortcircuit on nil entries and do not allow string entries 2020-10-08 13:23:12 -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 01fa923f15 fix: Don't consider 1 as a percentage for resolve
Fixes: #155
2020-10-08 10:12:08 -04:00
Norlock 919b8f2a9d fix: Changed git command to show all files inside project (#129) 2020-10-07 17:03:30 -04:00