# packages

pkgId: 41e23fa5e5286dba84e0a108c9bc119a2c4581845436dfd820abfd51217ff61d
name: vim-surround
arch: noarch
version: 2.1
epoch: 0
release: 1.fc36
summary: Delete/change/add parentheses/quotes/XML-tags/much more with ease
url: http://www.vim.org/scripts/script.php?script_id=1697
rpm_license: Vim
rpm_vendor: Fedora Copr - user jaffachief
rpm_group: Unspecified
rpm_buildhost: fedora
rpm_sourcerpm: vim-surround-2.1-1.fc36.src.rpm
location_href: 02839748-vim-surround/vim-surround-2.1-1.fc36.noarch.rpm
checksum_type: sha256
description:
  Surround.vim is all about "surroundings": parentheses, brackets, quotes, XML tags, and more.  The plugin provides mappings to easily delete, change and add such surroundings in pairs.  While it works under Vim 6, much of the functionality requires Vim 7.

  Examples follow.  It is difficult to provide good examples in the variable width font of this site; check the documentation for more.

  Press cs"' (that's c, s, double quote, single quote) inside

  "Hello world!"

  to change it to

  'Hello world!'

  Now press cs'<q> to change it to

  <q>Hello world!</q>

  To go full circle, press cst" to get

  "Hello world!"

  To remove the delimiters entirely, press ds" .

  Hello world!

  Now with the cursor on "Hello", press ysiw] (iw is a text object).

  [Hello] world!

  Let's make that braces and add some space (use "}" instead of "{" for no space): cs]{

  { Hello } world!

  Now wrap the entire line in parentheses with yssb or yss) .

  ({ Hello } world!)

  Revert to the original text: ds{ds)

  Hello world!

  Emphasize hello: ysiw<em>

  <em>Hello</em> world!

  Finally, let's try out visual mode. Press a capital V (for linewise visual mode)
  followed by S<p>.

  <p>
    Hello world!
  </p>

  This plugin is very powerful for HTML and XML editing, a niche which currently seems underfilled in Vim land.  (As opposed to HTML/XML *inserting*, for which many plugins are available).  Adding, changing, and removing pairs of tags simultaneously is a breeze.

  The "." command will work with ds, cs, and yss if you install repeat.vim, vimscript #2136.


pkgId: a444a131242743271063454d2062af474cffc4f46bc95feb87b98ca194dd75dc
name: vim-surround
arch: noarch
version: 2.1
epoch: 0
release: 1.fc36
summary: Delete/change/add parentheses/quotes/XML-tags/much more with ease
url: http://www.vim.org/scripts/script.php?script_id=1697
rpm_license: Vim
rpm_vendor: Fedora Copr - user jaffachief
rpm_group: Unspecified
rpm_buildhost: fedora
rpm_sourcerpm: vim-surround-2.1-1.fc36.src.rpm
location_href: 02870500-vim-surround/vim-surround-2.1-1.fc36.noarch.rpm
checksum_type: sha256
description:
  Surround.vim is all about "surroundings": parentheses, brackets, quotes, XML
  tags, and more.  The plugin provides mappings to easily delete, change and add
  such surroundings in pairs.

  This plugin is very powerful for HTML and XML editing, a niche which currently
  seems underfilled in Vim land.  (As opposed to HTML/XML *inserting*, for which
  many plugins are available).  Adding, changing, and removing pairs of tags
  simultaneously is a breeze.


