neovim/test/functional
Björn Linse bed9839f46 ex_getln: add secret charm
Opt in to this secret world using

    set wildchar=0
    " already the default, but remove if non-zero existing config:
    set wildcharm=0

now you can map 'wildmode' just like any mode:

    cnoremap <tab> <c-z>
    function! Spacey()
      return getcmdline()[-1:] == "/" ? "\<bs>" : ""
    endfunc
    cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/"

Possibly asked questions:

What about backwards compatibility?
====

Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working.

Doesn't `<c-z>` mean suspend?
====

Not in cmdline mode. If it would then the recommended wildcharm would not
have been `<c-z>` to start with.

My config relies on `:<c-z>` being a synonym to `:<nop>`!
====
just no.
2020-12-01 00:57:52 +01:00
..
api api: enable nvim_get_runtime_file to find subdirectories 2020-11-24 14:18:46 +01:00
autocmd Merge pull request #13205 from romgrk/add-bufmodified-autocmd 2020-11-09 12:23:14 +01:00
autoread removed retry 2020-07-03 00:55:14 +05:30
cmdline doc: fix typos 2019-11-27 22:47:25 -08:00
core startup: load files from &packpath . '/start/{pluginname}' 2020-11-19 14:31:07 +01:00
eval feat(lua): improve error message to make it actionable (#13276) 2020-11-13 19:50:03 +01:00
ex_cmds startup: handle autoload and lua packages during startup 2020-11-02 15:21:36 +01:00
fixtures startup: load files from &packpath . '/start/{pluginname}' 2020-11-19 14:31:07 +01:00
insert edit.c: Ensure undo sync when emulating <Esc>x #11706 2020-01-12 17:09:39 -08:00
legacy vim-patch:8.2.1925: list/dict test fails 2020-11-01 09:28:33 -05:00
lua fix(treesitter): allow ranges in set_included_ranges 2020-11-23 15:09:32 +01:00
normal Treat unmapped ALT/META as ESC+c in all modes 2020-10-05 15:27:04 -04:00
options win/env: fix stdpath()/XDG_* initialization, parsing #12829 2020-09-07 22:40:12 -07:00
plugin lsp: Expose all diagnostics (#13285) 2020-11-14 14:39:05 -05:00
provider vim-patch:8.1.1056: no eval function for Ruby 2020-10-21 10:20:21 -07:00
shada shada: fix failed assertion on exit (#12692) 2020-07-31 16:08:34 +02:00
terminal test: add functional test for segmented response from terminal 2020-11-20 09:26:17 -05:00
ui ex_getln: add secret charm 2020-12-01 00:57:52 +01:00
viml A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
visual Treat unmapped ALT/META as ESC+c in all modes 2020-10-05 15:27:04 -04:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua ex_getln: add secret charm 2020-12-01 00:57:52 +01:00
preload.lua test/functional/preload.lua: _set_fmode for Windows 2019-09-25 05:47:15 +02:00