From 0fcd53f289e00d6480492a44fc63c9dfe1903fd4 Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 30 Nov 2011 00:30:41 -0800 Subject: [PATCH] Made yw behave like yaw, and changed EasyMotion to use only lower case keys to reduce dependence on shift --- vimrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/vimrc b/vimrc index b5ef6598..b3c50569 100644 --- a/vimrc +++ b/vimrc @@ -378,3 +378,19 @@ nnoremap dg :diffget " alias W to write the file instead of :w nnoremap W :w + +" alias yw to yank the entire word even if the +" cursor is inside the word +nnoremap yw yaw + + + call EasyMotion#InitOptions({ + \ 'leader_key' : '' + \ , 'keys' : 'abcdefghijklmnopqrstuvwxyz' + \ , 'do_shade' : 1 + \ , 'do_mapping' : 1 + \ , 'grouping' : 1 + \ + \ , 'hl_group_target' : 'EasyMotionTarget' + \ , 'hl_group_shade' : 'EasyMotionShade' + \ })