* Add built-in to search keymaps
* Re-factor maps for cleaner codes
Rather than use function to return a results table for various key maps.
Assign results the key maps table itself. This makes for cleaner code.
* Keymaps: escape termcodes using built-in util
* Rename builtin.maps to builtin.keymaps
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>
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>
* 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>
* 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.