Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Is Vim still worth learning?. Parent comment
cs"': change surrounding quotes, e.g. "foo" -> 'foo'
cs([: change surrounding brackets, e.g. (foo) -> [ foo ]
( cs]) would omit the spaces)
ci": change in quotes, e.g. "foo" -> "" (in insert mode between the quotes)
ca": change around quotes, e.g. x"foo"y -> xy (in insert mode between x and y
viWS<tag>: add tag around current word using visual mode, e.g. foo -> <tag>foo</tag>
dst: delete surrounding tag, e.g. <tag>foo</tag> -> foo
It's really good. I'm not familiar with argument.
There are no comments on this comment yet.
cs"': change surrounding quotes, e.g. "foo" -> 'foo'
cs([: change surrounding brackets, e.g. (foo) -> [ foo ]
( cs]) would omit the spaces)
ci": change in quotes, e.g. "foo" -> "" (in insert mode between the quotes)
ca": change around quotes, e.g. x"foo"y -> xy (in insert mode between x and y
viWS<tag>: add tag around current word using visual mode, e.g. foo -> <tag>foo</tag>
dst: delete surrounding tag, e.g. <tag>foo</tag> -> foo
It's really good. I'm not familiar with argument.