osyo-manga / vim-over

:substitute preview
576 stars 18 forks source link

Repeat command is bugged with cw (changeword) in command window #58

Open edi9999 opened 8 years ago

edi9999 commented 8 years ago

With the following vimrc:

set nocompatible              " be iMproved, required

if has('vim_starting')
  " Required:
  source ~/.vim/autoload/plug.vim
endif

call plug#begin()
Plug 'osyo-manga/vim-over'
call plug#end()

In an empty buffer, do :

:%s/foo/bar/g
q: 
yyp
ffcwbar<Esc>fb.

I then get in the command window:

%s/foo/bar/g
%s/barbarbar/g

but the expected result would be

%s/foo/bar/g
%s/bar/bar/g
osyo-manga commented 7 years ago

hi, Thank for issues. Sorry for the late reply. OK, I understood. But it's hard to fix it. You can use let g:over_enable_cmd_window = 0 and :OverCommandLine.

edi9999 commented 7 years ago

Thanks for the response.

I am now using

set inccommand=nosplit

instead (in neovim), I find it to be working well as a replacement.