atom-vim-mode-plus-ex-mode icon indicating copy to clipboard operation
atom-vim-mode-plus-ex-mode copied to clipboard

[FR] please add support of replace

Open ZuBB opened this issue 8 years ago • 6 comments

Hi there!

A big thanks from vimmer for a atom-vim-mode_plus!!

I have tried to do a replace (%s/1/2/) and got no changes. however https://atom.io/packages/ex-mode supports it. could you please add/port it?

thanks

ZuBB avatar Sep 06 '16 10:09 ZuBB

I won't. Sorry. My stance is

  • use Atom's native find-and-replace feature(cmd-f, ctrl-cmd-f) to replace complex pattern.
  • or ctrl-cmd-g or cmd-d to selectively/interactively edit simple word.
  • and more I'm working on new feature/concept to quicker change of some text on vim-mode-plus

So last one(vim-mode-plus's new feature) and Atom's native feature can cover most scenario.

Did you really try to use Atom's native feature?

t9md avatar Sep 06 '16 13:09 t9md

ok, i got your point. native replace panel takes too much space. so..

anyway thanks for reply

ZuBB avatar Sep 06 '16 13:09 ZuBB

occurrence-operator-modifier

Here I'm actively working on to introduce new way of change multiple occurrence of word very quickly. Not only for change, any operator can apply in same concept. Not yet released though.

t9md avatar Sep 06 '16 13:09 t9md

Does anyone know if it's possible to somehow emulate :%s/foo/bar even if atom-vim-mode-plus-ex-mode doesn't directly support it, perhaps through a custom keymap? This is the one thing keeping me from migrating from vim-mode & ex-mode.

I don't solely use Atom: I also use Jetbrains products and standalone vim, depending on what I'm working on. Ideally I'd like a consistent experience between editors, even if Atom or atom-vim-mode-plus-ex-mode has objectively superior find and replace functionality that's different to standard vim.

mbylstra avatar Jan 21 '17 05:01 mbylstra

Supporting this feature is NOT difficult, but I won't . Sorry this is not the answer you asking. Pls ignore and wait other people's comment in that case.

I recommend you to use ctrl-cmd-g in normal-mode then c then type new keyword.

t9md avatar Jan 21 '17 08:01 t9md

Maybe you can try ex-mode, not vim-mode-plus-ex-mode

youngsailor avatar Jan 14 '19 02:01 youngsailor