Skip to content

Commit

Permalink
Switch to @skwp fork of EasyMotion for vimperator style two character…
Browse files Browse the repository at this point in the history
… targets
  • Loading branch information
skwp committed May 15, 2012
1 parent 5d7cf73 commit f9db81c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
path = vim/bundle/scrooloose-syntastic
url = https://github.com/scrooloose/syntastic.git
ignore = dirty
[submodule "vim/bundle/Lokaltog-vim-easymotion"]
path = vim/bundle/Lokaltog-vim-easymotion
url = https://github.com/Lokaltog/vim-easymotion
ignore = dirty
[submodule "vim/bundle/sjbach-lusty"]
path = vim/bundle/sjbach-lusty
url = https://github.com/sjbach/lusty.git
Expand Down Expand Up @@ -314,3 +310,6 @@
[submodule "vim/bundle/tpope-vim-rake"]
path = vim/bundle/tpope-vim-rake
url = https://github.com/tpope/vim-rake.git
[submodule "vim/bundle/skwp-vim-easymotion"]
path = vim/bundle/skwp-vim-easymotion
url = https://github.com/skwp/vim-easymotion
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,qg/` - quickfix GitGrep last search
* `,T` - Tag list (list of methods in a class)
* `Ctrl-s` - Open related spec in a split. Similar to :A and :AV from rails.vim but is also aware of the fast_spec dir and faster to type
* `,,w` (alias `,<esc>`) or `,,b` (alias `,<shift-esc>`) - EasyMotion, a vimperator style tool that highlights jump-points on the screen and lets you type to get there.

#### File Navigation

Expand Down Expand Up @@ -396,7 +397,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* NERDTree - everyone's favorite tree browser
* NERDTree-tabs - makes NERDTree play nice with MacVim tabs so that it's on every tab
* ShowMarks - creates a visual gutter to the left of the number column showing you your marks
* EasyMotion - hit ,,w (forward) or ,,b (back) and watch the magic happen. just type the letters and jump directly to your target - in the provided vimrc the keys are optimized for home and upper row, no pinkies
* EasyMotion - hit ,<esc> (forward) or ,<Shift-Esc> (back) and watch the magic happen. Just type the letters and jump directly to your target - in the provided vimrc the keys are optimized for home row mostly. Using @skwp modified EasyMotion which uses vimperator-style two character targets.
* LustyJuggler/Explorer - hit B, type buf name to match a buffer, or type S and use the home row keys to select a buffer
* TagBar - hit ,T to see a list of methods in a class (uses ctags)
* CtrlP - Ctrl-p or ,t to find a file
Expand Down
1 change: 0 additions & 1 deletion vim/bundle/Lokaltog-vim-easymotion
Submodule Lokaltog-vim-easymotion deleted from 667a66
1 change: 1 addition & 0 deletions vim/bundle/skwp-vim-easymotion
Submodule skwp-vim-easymotion added at 2524ec
5 changes: 4 additions & 1 deletion vim/plugin/settings/easymotion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
" but it'll all be isolated to one area of the keyboard
call EasyMotion#InitOptions({
\ 'leader_key' : '<Leader><Leader>'
\ , 'keys' : 'fjdkslewio'
\ , 'keys' : 'fjdksewoavn'
\ , 'do_shade' : 1
\ , 'do_mapping' : 1
\ , 'grouping' : 1
Expand All @@ -16,3 +16,6 @@ call EasyMotion#InitOptions({
" Make EasyMotion more yellow, less red
hi clear EasyMotionTarget
hi! EasyMotionTarget guifg=yellow

nmap ,<ESC> ,,w
nmap ,<S-ESC> ,,b

0 comments on commit f9db81c

Please sign in to comment.