vim-custom-surround : Define your own surround patterns
script karma |
Rating 44/14,
Downloaded by 1399 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Augusto Dantas |
|
script type |
utility |
|
description |
It's a simple plugin that lets you surround the word under cursor or the current selection with custom strings.
To use it, just call one of the mode-specific commands:
:SurroundWord <text before> <text after>
:SurroundSelection <text before> <text after>
Or, even better, define a normal and visual mapping for the specified surround strings using the function customsurround#map. For example, to map a LaTeX inline math function just do:
call customsurround#map('<Leader>m', '\(', '\)')
See the doc for more detailed explanations:
:h vim-custom-surround |
|
install details |
Use your prefered plugin manager. For Vundle, add
Plugin 'augustold/vim-custom-surround'
to your .vimrc. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.222.84.251
|