Skip to content

Commit

Permalink
Add vim-surround
Browse files Browse the repository at this point in the history
We'll install vim-surround to make Vim understand "surroundings", like
quotes, tags and brackets.

    git submodule add git@github.com:tpope/vim-surround.git pack/plugins/start/vim-surround

Using surround-vim, we replace single quotes with double quotes by
pressing `cs'"` inside a single-quoted string to have them replaced
([amongst other things](https://github.com/tpope/vim-surround#readme)).
  • Loading branch information
jeffkreeftmeijer committed Dec 30, 2020
1 parent 84547de commit 6e6acdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "pack/plugins/start/vim-commentary"]
path = pack/plugins/start/vim-commentary
url = git@github.com:tpope/vim-commentary.git
[submodule "pack/plugins/start/vim-surround"]
path = pack/plugins/start/vim-surround
url = git@github.com:tpope/vim-surround.git
1 change: 1 addition & 0 deletions pack/plugins/start/vim-surround
Submodule vim-surround added at f51a26

0 comments on commit 6e6acdd

Please sign in to comment.