New option: g:startify_mapping_nowait
This option forces the use of <nowait> mappings. This might be useful if you have global mappings that start with the same characters as indexes from Startify. References #180 Closes #186.
This commit is contained in:
parent
046c62115f
commit
5b43cef057
2 changed files with 21 additions and 4 deletions
|
@ -98,6 +98,7 @@ default values.
|
|||
|g:startify_enable_unsafe|
|
||||
|g:startify_files_number|
|
||||
|g:startify_list_order|
|
||||
|g:startify_mapping_nowait|
|
||||
|g:startify_relative_path|
|
||||
|g:startify_session_autoload|
|
||||
|g:startify_session_delete_buffers|
|
||||
|
@ -464,6 +465,20 @@ Show filenames relative to the current working directory instead of as
|
|||
absolute paths. This only applies to the "files" list, since the "dir" list is
|
||||
relative by nature.
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
*g:startify_mapping_nowait*
|
||||
>
|
||||
let g:startify_mapping_nowait = 0
|
||||
<
|
||||
Force the usage of |<nowait>| in all mappings.
|
||||
|
||||
This helps guarding against global mappings that start with the same
|
||||
characters as a Startify index, but might break local mappings, e.g. when you
|
||||
have indexes "1" and "11", the "11" won't be accessable anymore, since "1"
|
||||
will be opened right way.
|
||||
|
||||
Only use this when you know what you're doing.
|
||||
|
||||
==============================================================================
|
||||
AUTOCMD *startify-autocmd*
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue