Skip to main content
3 events
when toggle format what by license comment
Oct 2, 2017 at 18:33 comment added Haegin I think some of the bindings @jmc described in his earlier comment are from the surround.vim plugin by Tim Pope. It's a great plugin that I'd recommend installing, but it does mean these bindings aren't part of the default vim installation.
Feb 19, 2015 at 8:12 comment added jmc Alternatively, you can use dap to delete a paragraph, da(, da{, da[, to delete blocks delimeted by parentheses, braces, or square brackets. For html there is dat, which deletes a tag, and da' and da" delete strings. There is also the dip, di(, etc variants, that will delete everything inside the delimiters, but leave the delimiters intact. Alternatively, you can use vap (resp vip) to select all (resp inner) paragraph. (And so there is va( and vi(.) Further there is cap and cip (or ca( and ci() to delete and go to insert mode (i.e., "change"). And yap to yank
Feb 19, 2015 at 7:06 history answered Bhargav CC BY-SA 3.0