Skip to content

Commit

Permalink
Revert "Easymotion new features (#1967)"
Browse files Browse the repository at this point in the history
This reverts commit 1de51bb.
  • Loading branch information
Chillee committed Aug 27, 2017
1 parent 1de51bb commit 4a2fa6f
Show file tree
Hide file tree
Showing 11 changed files with 448 additions and 856 deletions.
26 changes: 9 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,23 +390,15 @@ Once easymotion is active, you can initiate motions using the following commands

Motion Command | Description
---|--------
`<leader><leader> s <char>`|Search character
`<leader><leader> f <char>`|Find character forwards
`<leader><leader> F <char>`|Find character backwards
`<leader><leader> t <char>`|Til character forwards
`<leader><leader> T <char>`|Til character backwards
`<leader><leader> w`|Start of word forwards
`<leader><leader> b`|Start of word backwards
`<leader><leader> e`|End of word forwards
`<leader><leader> ge`|End of word backwards
`<leader><leader> j`|Start of line forwards
`<leader><leader> k`|Start of line backwards
`<leader><leader> / <char>... <CR>`|Search n-character

`<leader><leader> (2s|2f|2F|2t|2T) <char><char>` are also available.
The difference is character count required for search.
For example, `<leader><leader> 2s <char><char>` requires two characters, and search by two characters.
This mapping is not a standard mapping, so it is recommended to use your custom mapping.
`<leader> <leader> s <char>`|Search character
`<leader> <leader> f <char>`|Find character forwards
`<leader> <leader> F <char>`|Find character backwards
`<leader> <leader> t <char>`|Til character forwards
`<leader> <leader> T <char>`|Til character backwards
`<leader> <leader> w`|Start of word forwards
`<leader> <leader> b`|Start of word backwards
`<leader> <leader> e`|End of word forwards
`<leader> <leader> g e`|End of word backwards

You can customize the appearance of your easymotion markers (the boxes with letters) using the following settings:

Expand Down
1 change: 0 additions & 1 deletion src/actions/commands/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ class CommandEsc extends BaseCommand {
ModeName.SearchInProgressMode,
ModeName.SurroundInputMode,
ModeName.EasyMotionMode,
ModeName.EasyMotionInputMode,
];
keys = [['<Esc>'], ['<C-c>'], ['<C-[>']];

Expand Down
Loading

0 comments on commit 4a2fa6f

Please sign in to comment.