vim-easymotion is now in the easymotion github org.
The previous location redirected to the new one, but
we might as well update the reference to the new location.
A simple change to support neovim. Fixes#774.
Move nvimrc file inside .nvim directory
Only install neovim support if neovim is being used
Use program_exists function instead of vimscript
Made a hasty mistake and added vimscript to a bash script :X
Neovim not existing no longer stops script
Also correct `endif` to `fi`.
Refactor program_exists naming
Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found.
Refactor program_exists and program_must_exist
`program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.
Preliminary support for neovim
A simple change to support neovim. Fixes#774.
Move nvimrc file inside .nvim directory
Refactor program_exists naming
Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found.
Refactor program_exists and program_must_exist
`program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.
Problem:
The "useful mappings" override existing, arguably *more* useful
mappings.
Analysis:
Revert the commit.
This commit reverts commit 96678bcd99.
Testing:
Used the old mappings successfully.
Documentation:
No change - the reverted commit did not add/modify docs.
A user can set the following variables in their .vimrc.before.local file
to customise the key mappings:
g:spf13_edit_config_mapping
g:spf13_apply_config_mapping
the defaults are <leader>ev and <leader>sv respectively
<leader>ev is mapped to a function that opens the following files in a new tab
.vimrc
.vimrc.before
.vimrc.bundles
.vimrc.local
.vimrc.before.local
.vimrc.bundles.local
.vimrc.fork
.vimrc.before.fork
.vimrc.bundles.fork
<leader>sv is mapped to a function that reloads the spf13 config