svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
693 stars 21 forks source link

map M to move to end line does not work #65

Closed lookforit closed 8 years ago

lookforit commented 8 years ago

Hi, I use the latest version ,and set

nmap M <Plug>MoveMotionEndOfLinePlug

When I pressed M(uppercase),nothing happens,why? If I run :map,I can get the following about M:

s  M           * <C-O>"_cM
n  M             <Plug>MoveMotionEndOfinePlug

Any help?

svermeulen commented 8 years ago

I tried your mapping in a clean install of vim + easy clip and it seems to work as expected to me. It cuts text from the cursor to the end of the current line. Do you still get it with a stripped down vimrc?

sassanh commented 8 years ago

@lookforit if you have copied above lines from vim, you have a tipo in your map, it should be MoveMotionEndOfLinePlug not MoveMotionEndOfinePlug (notice the missing L in the beginning of Line)

svermeulen commented 8 years ago

Oh yeah good catch, that was likely the problem here.