t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

search and replace #900

Closed ghost closed 6 years ago

ghost commented 6 years ago

hi, I am using this package since a couple of days so I don't even know if I need to open an issue for this, but I googled and couldn't find a solution.

I am trying to search and replace some strings in a range of lines with the following command:

:13,38s/h_.* = \(.*\)/Helper.bookHistogram   \1/

but when I hit enter nothing happens. When I open my piece of code with vim on the terminal, this of course behaves as expected.

Is there anything I should enable in the settings (I took a look, but didn't find anything trivially solving it)?

Check list

t9md commented 6 years ago

If you use ex-mode, open issue on that repo, I'm not maintainer.

If you use vim-mode-plus-ex-mode, I'm maintainer, it doesn't support s/old/new/ replace.

If you want immediate solution, learn atom's find-and-replace( cmd-f, cmd-shift-f ) via Atom's flight-manual.