Update doc: command line for find motion
This commit is contained in:
parent
d3ee7bb8d9
commit
69f2be39f2
@ -1,4 +1,4 @@
|
|||||||
*easymotion.txt* Version 2.0 Last change:02 Feb 2014.
|
*easymotion.txt* Version 2.0 Last change:05 Feb 2014.
|
||||||
|
|
||||||
|
|
||||||
______ __ ___ __ _
|
______ __ ___ __ _
|
||||||
@ -498,6 +498,8 @@ Find Motion Command Line~
|
|||||||
|
|
||||||
https://github.com/osyo-manga/vim-over
|
https://github.com/osyo-manga/vim-over
|
||||||
|
|
||||||
|
Library: https://github.com/osyo-manga/vital-over
|
||||||
|
|
||||||
Note: These settings are experimental. They could be changed in the near
|
Note: These settings are experimental. They could be changed in the near
|
||||||
future.
|
future.
|
||||||
|
|
||||||
@ -509,19 +511,21 @@ Find Motion Command Line~
|
|||||||
----------------------- |----------------------------------------------
|
----------------------- |----------------------------------------------
|
||||||
<CR> | Execute EasyMotion.
|
<CR> | Execute EasyMotion.
|
||||||
<ESC> or <C-c> | Cancel
|
<ESC> or <C-c> | Cancel
|
||||||
<Right> | Cursor right
|
<Right> or <C-f> | Cursor right
|
||||||
<Left> | Cursor left
|
<Left> or <C-b> | Cursor left
|
||||||
<Home> or <C-b> | cursor to beginning of command-line
|
<Home> or <C-a> | cursor to beginning of command-line
|
||||||
<End> or <C-e> | cursor to end of command-line
|
<End> or <C-e> | cursor to end of command-line
|
||||||
<BS> or <C-h> | Delete one character
|
<BS> or <C-h> | Delete one character
|
||||||
|
<C-d> | Delete one character at the cursor pos
|
||||||
<C-w> | Delete the word before the cursor
|
<C-w> | Delete the word before the cursor
|
||||||
<C-u> | Delete all entered characters before the cursor
|
<C-u> | Delete all entered characters before the cursor
|
||||||
<Up> | Recall older (previous) search from history
|
<Up> or <C-p> | Recall older (previous) search from history
|
||||||
<Down> | Recall more recent (next) search from history
|
<Down> or <C-n> | Recall more recent (next) search from history
|
||||||
|
<C-r> {0-9a-z"%#:-=.} | Insert Register. See |c_Ctrl-R|
|
||||||
------------------------|---------------------------------------
|
------------------------|---------------------------------------
|
||||||
<Over>(paste) | Paste yanked text to the command line
|
<Over>(paste) | Paste yanked text to the command line
|
||||||
| Default: <C-v>
|
| Default: <C-v>
|
||||||
<Over>(buffer-complete) | Completion of buffer text Default: <C-d>
|
<Over>(buffer-complete) | Completion of buffer text Default: <C-l>
|
||||||
*<Over>(em-scroll-f)* | Scroll window forward & jump to the next match
|
*<Over>(em-scroll-f)* | Scroll window forward & jump to the next match
|
||||||
| Default: <Tab>
|
| Default: <Tab>
|
||||||
*<Over>(em-scroll-b)* | Scroll window backward & jump to previous match
|
*<Over>(em-scroll-b)* | Scroll window backward & jump to previous match
|
||||||
@ -532,21 +536,30 @@ Find Motion Command Line~
|
|||||||
| Default: <C-z>
|
| Default: <C-z>
|
||||||
|
|
||||||
Customize Command Line Mappings~
|
Customize Command Line Mappings~
|
||||||
*EMCommandLineNoremap*
|
*EMCommandLineNoreMap*
|
||||||
|
|
||||||
You can use |EMCommandLineNoremap| to customize find motion command line
|
You can use |EMCommandLineNoreMap| to customize find motion command line
|
||||||
key mappings by vimrc. This mapping is always no recursive mapping, so
|
key mappings by vimrc. This mapping is always no recursive mapping, so
|
||||||
you should map to not <Tab> but <Over>(em-scroll-f).
|
you should map to not <Tab> but |<Over>(em-scroll-f)|.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
>
|
>
|
||||||
" EM is short for EasyMotion
|
" == EM is short for EasyMotion
|
||||||
EMCommandLineNoremap <C-;> <CR>
|
" Enter by <Space> to excute faster & easily
|
||||||
EMCommandLineNoremap <C-f> <Right>
|
EMCommandLineNoreMap <Space> <CR>
|
||||||
EMCommandLineNoremap <C-b> <Left>
|
EMCommandLineNoreMap <C-j> <Space>
|
||||||
EMCommandLineNoremap <C-a> <Home>
|
" Enter by `;` to excute faster & easily
|
||||||
EMCommandLineNoremap <C-l> <Over>(buffer-complete)
|
EMCommandLineNoreMap ; <CR>
|
||||||
|
EMCommandLineNoreMap <C-j> ;
|
||||||
|
" Buffer Completion with Ctrl-D
|
||||||
|
EMCommandLineNoreMap <C-d> <Over>(buffer-complete)
|
||||||
<
|
<
|
||||||
|
*EMCommandLineMap*
|
||||||
|
*EMCommandLineUnMap*
|
||||||
|
EasyMotion also provide |EMCommandLineMap| (like |cmap|) and
|
||||||
|
|EMCommandLineUnMap| (like |cunmap|) command, but probably you don't need
|
||||||
|
these command because there is no case it require recursive mappings.
|
||||||
|
|
||||||
Note(again): These settings, especially about keymappings are
|
Note(again): These settings, especially about keymappings are
|
||||||
__EXPERIMENTAL__. They could be changed in the near future. However, it
|
__EXPERIMENTAL__. They could be changed in the near future. However, it
|
||||||
works well and so useful, so I release it.
|
works well and so useful, so I release it.
|
||||||
|
Loading…
Reference in New Issue
Block a user