vim-easymotion
vim-easymotion copied to clipboard
easymotion can only paste the first character of the clipboard
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
I have the same issue. My environment: macOS High Sierra iTerm2 version: 3.1.3.beta.1 vim version: 8.0.1175
Same issue here. My environment:
- macOS High Sierra
- iTerm2 3.1.4.beta.1
- Vim 8.0.1200
- Easymotion 342549e
now I use following method instead
autocmd VimEnter * :EMCommandLineNoreMap <C-v> <C-r>+
hi,@jacky1193610322
you mean add autocmd VimEnter * :EMCommandLineNoreMap <C-v> <C-r>+ in vim config?
yes,

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...
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
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.