GitXplorerGitXplorer
A

vim-surround

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
ce407608cd21f5cfddfda3d537e5bdb75b269636

Put cursor back after deleting surrounding lines in Visual mode

AAce-Who committed 8 years ago
Unverified
ce852d93e26c8975aa9acf6dac8c55ad76759f6c

Use a new method to test if the cursor is at the end of line.

AAce-Who committed 8 years ago
Unverified
17e36a9110a7e04ef38e941f879ba7452d5f35d6

Make '<leader>d[]' work in Visual mode linewise.

AAce-Who committed 8 years ago
Unverified
1c45b861441f430dfda0f7b1ac5e5f216445f3a3

Merge the two similar 'doit' closure functions defined in the 'add' and

AAce-Who committed 8 years ago
Unverified
fee46cefae6489239de368c4f7c1a2b409218fe3

Remove unnecessary code.

AAce-Who committed 8 years ago
Unverified
2b64b47ed508a69bd4c641ffa6b6517cf8a4fe5e

Get the length in bytes of the last line of the last seleted Visual area

AAce-Who committed 8 years ago

README

The README file for this repository.

vim-surround

Usage

  • <leader>[] : Requests 2 characters to be added as surrounding pair, which defaults to (). [count] pairs are nestedly added. When the second character is omitted, it is set to the first one. Works in Normal mode and all Visual modes. In Visual mode linewise, the surroundings are added with newlines.

  • <leader>d[] : In Normal mode or Visual mode characterwise, deletes [count] surrounding characters on each side. If less than [count] characters are present on left or right hand side, deletes them anyway. In Visual mode linewise, deletes [count] lines above and below the selected area.

In Normal mode, the surrounded object is the word under the cursor.