I have documents that are full of double-quoted sentences. And using editors, It seems likely comfortable when 'erase strings surrounded by double(or single) quotes and go insert-mode' function embedded. Is there any way to do it using with vim?
Asked
Active
Viewed 90 times
1
-
1Change inside quotes, `ci"` (or `ci'` for single-quoted strings) – Amadan Feb 07 '18 at 01:31
-
oh, thanks, It's easier than I thought! thanks – JongHyeon Yeo Feb 07 '18 at 01:33
-
`:help c`, `:help text-objects`, `:help i"` – Amadan Feb 07 '18 at 01:34
-
1The same question has previously been answered here: https://stackoverflow.com/questions/11630440/how-to-replace-text-between-quotes-in-vi – builder-7000 Feb 07 '18 at 02:44
1 Answers
5
Change inside quotes, ci" (or ci' for single-quoted strings)

Kanyon
- 463
- 3
- 14
-
1thanks for the answer! And I find this way can be extended on using with >, ). – JongHyeon Yeo Feb 07 '18 at 01:36