vim-easymotion icon indicating copy to clipboard operation
vim-easymotion copied to clipboard

easymotion can only paste the first character of the clipboard

Open jacky1193610322 opened this issue 8 years ago • 8 comments

in my vimrc

map / <Plug>(easymotion-sn)\v\c

but when I want to search something, I copy it with y command or command + c, then I want to paste it, but only paste the first character

jacky1193610322 avatar Sep 14 '17 12:09 jacky1193610322

I have the same issue. My environment: macOS High Sierra iTerm2 version: 3.1.3.beta.1 vim version: 8.0.1175

jkeylu avatar Oct 06 '17 08:10 jkeylu

Same issue here. My environment:

  • macOS High Sierra
  • iTerm2 3.1.4.beta.1
  • Vim 8.0.1200
  • Easymotion 342549e

aseure avatar Oct 20 '17 14:10 aseure

now I use following method instead autocmd VimEnter * :EMCommandLineNoreMap <C-v> <C-r>+

jacky1193610322 avatar Oct 31 '17 02:10 jacky1193610322

hi,@jacky1193610322 you mean add autocmd VimEnter * :EMCommandLineNoreMap <C-v> <C-r>+ in vim config?

RandomCivil avatar Dec 20 '18 03:12 RandomCivil

yes, image

jacky1193610322 avatar Dec 22 '18 14:12 jacky1193610322

Same here

OS: macOS Catalina 10.15.4 Terminal : iTerm2 3.3.9 and default terminal Vim: 8.1 Easymotion: v3.0.1

After pressing "/", Command+V (macOS default pasting) only paste the first character instead of the whole string.

Partial vimrc:


nmap s <Plug>(easymotion-s2)
nmap t <Plug>(easymotion-t2)
map  / <Plug>(easymotion-sn)
omap / <Plug>(easymotion-tn)

map <Leader>l <Plug>(easymotion-lineforward)
map <Leader>j <Plug>(easymotion-j)
map <Leader>k <Plug>(easymotion-k)
map <Leader>h <Plug>(easymotion-linebackward)

map  n <Plug>(easymotion-next)
map  N <Plug>(easymotion-prev)
autocmd VimEnter * :EMCommandLineNoreMap <C-v> <Over>(paste)
let g:EasyMotion_smartcase = 1

I am now using Control + v instead of Command + v for pasting from the clipboard as a workaround...

goatwu1993 avatar May 15 '20 05:05 goatwu1993

I'm used to copying a word, pressing "/" to enter search mode, right-click to paste the word in the bottom line, and searching in vim. But on ubuntu 22.04 I found that it would only match the first character when searching. For example, I copied "hello", but the search only highlighted the first character "h". I have never encountered this problem in ubuntu 14.04/16.04/18.04/20.04.

https://github.com/easymotion/vim-easymotion/issues/478

zxremail avatar Jun 11 '22 06:06 zxremail

Seems to be a similar problem to the link below. https://github.com/easymotion/vim-easymotion/issues/478

But I paste words by right-clicking the mouse.

zxremail avatar Jun 11 '22 06:06 zxremail