I past text with p, then immediately press CTRL-P. It goes back one entry in the buffer. I paste, the entry that was before the first one is pasted. So far, so good.
But then it gets sad:
Pressing CTRL-P multiple times after a paste only toggles the yankring revolution once! At the second CTRL-P, I get the status: "last action was not paste, swap ignored".
But I want to access the yank 2 times before my last!
What am I doing wrong? Or is it even a bug...
In the README it was described as
[...] What this means for example is that you can toggle a given paste back using <CTRL-P> 10 times, [...]
So, I assumed, repeated CTRL-P was the way to go.
Clarification: I am new to vim. I have though tried out the "original"YankRing now, and it is clear to me what to expect. In short, your CTRL-P and CTRL-N keybindings do not work at all. They do not change the text that has been previously pasted. Pretty frustrating :(
Because: I really like how you redirected everything in the black hole and made a dedicated "move" command. Exactly what I want!
So - I will go with the original YankRing for now but would be glad to assist in debugging this issue!
I am on Vim 8.0.1669.
This is my vimrc
" vim plugin manager autoloads
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" how to conditionalize so it doesnt delete when disabled
" , Cond(has('nvim'))
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-repeat'
Plug 'svermeulen/vim-easyclip'
Plug 'moll/vim-bbye'
Plug 'vim-scripts/ZoomWin'
Plug 'zirrostig/vim-schlepp'
call plug#end()
" bbye
:nnoremap <Leader>q :Bdelete<CR>
" easyclip occupies 'm' now. gm is now set mark
nnoremap gm m
nmap M <Plug>MoveMotionEndOfLinePlug
"move lines alt-shift jk
set smartindent
" Schlepp
vmap <S-k> <Plug>SchleppDupUp
vmap <S-j> <Plug>SchleppDupDown
vmap <S-h> <Plug>SchleppDupLeft
vmap <S-l> <Plug>SchleppDupRight
vmap <C-i> <Plug>SchleppToggleReindent
vmap <C-k> <Plug>SchleppUp
vmap <C-j> <Plug>SchleppDown
vmap <C-h> <Plug>SchleppLeft
vmap <C-l> <Plug>SchleppRight
set showcmd
set ic
set clipboard=unnamedplus
set backspace=2 " make backspace work like most other programs
imap <S-Space> <Esc>
imap <C-L> <Esc>
set undofile
set wildmenu
set et
nnoremap <C-i> i_<Esc>r
set hlsearch
set incsearch
:nnoremap <silent><expr> <Leader>h (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n"
" ------------------------------------------------------------
I past text with
p, then immediately pressCTRL-P. It goes back one entry in the buffer. I paste, the entry that was before the first one is pasted. So far, so good.But then it gets sad:
Pressing
CTRL-Pmultiple times after a paste only toggles the yankring revolution once! At the secondCTRL-P, I get the status: "last action was not paste, swap ignored".But I want to access the yank 2 times before my last!
What am I doing wrong? Or is it even a bug...
In the README it was described as
So, I assumed, repeated CTRL-P was the way to go.
Clarification: I am new to vim. I have though tried out the "original"YankRing now, and it is clear to me what to expect. In short, your CTRL-P and CTRL-N keybindings do not work at all. They do not change the text that has been previously pasted. Pretty frustrating :(
Because: I really like how you redirected everything in the black hole and made a dedicated "move" command. Exactly what I want!
So - I will go with the original YankRing for now but would be glad to assist in debugging this issue!
I am on Vim 8.0.1669.
This is my vimrc