Skip to content

Instantly share code, notes, and snippets.

@choplin
Created July 18, 2011 18:20
Show Gist options
  • Save choplin/1090222 to your computer and use it in GitHub Desktop.
Save choplin/1090222 to your computer and use it in GitHub Desktop.
using surround.vim custom mapping (surrounding with fold marker)
let g:surround_custom_mapping.vim= {
\'z': "\"{{{ \r \"}}}"
\ }
@choplin
Copy link
Author

choplin commented Oct 27, 2011

hi

this is an example of "vim-surround_custom_mapping" plugin, which enables you to write filytype based key mapping of surround.vim more shortly and descriptively.

https://github.com/t9md/vim-surround_custom_mapping

it's cool plugin. try it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment