Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edi9999 opened this issue May 2, 2016 · 2 comments
Open

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

edi9999 opened this issue May 2, 2016 · 2 comments

Comments

@edi9999
Copy link

edi9999 commented May 2, 2016

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
Copy link
Owner

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
Copy link
Author

edi9999 commented Dec 19, 2016

Thanks for the response.

I am now using

set inccommand=nosplit

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants