The surround plugin, by Tim Pope, is easily one of the most useful plugins available. As the name suggests, it allows you to surround, update, and delete wrapping characters and tags with ease!
Hello, first I wanna say thanks for these great videos!
But I have a problem...When I type Hello World, then do a shift+v (or 'V') to select that line, and then press 's' I get this: surround.vim: Visual mode s has been removed in favor of S
How do I fix this? It works with 'S', but what if I don't want to indent? Funny stuff is ' ds" ' (if the word is surrounded with ") command works, but 'dst' doesn't.
if *x>3 { ---- 'ysW(' >>> if ( x>3 ) { from help file doesn't work also.
Also, is there some kind of video tutorial or other resource that would act as an introduction macvim? I understand the basics of html but using macvim is proving to be incredibly frustrating. I've been trying to follow your vtutorial on converting a psd to html but when you don't (justly) mention how you're selecting a line of text with the keyboard and navigating about the application etc you lose me.
My apologies, I'm new to macvim.... but I don't get it. If I press shift+V for capital V I'm just typing a capital V next to "Hello World". Is there something else I need to press in order to activate the surround.vim?
Who the hell didn't like this video?
haputanlas 1 month ago
@developej also, if I have say "World", command cs"! works, but then with !World! cs!" doesn't?
Also, I mentioned in previous comment that ds" (when word is surrounded with ") works, but if the word is surrounded with !, the ds! doesn't work...
developej 5 months ago
Hello, first I wanna say thanks for these great videos!
But I have a problem...When I type Hello World, then do a shift+v (or 'V') to select that line, and then press 's' I get this: surround.vim: Visual mode s has been removed in favor of S
How do I fix this? It works with 'S', but what if I don't want to indent? Funny stuff is ' ds" ' (if the word is surrounded with ") command works, but 'dst' doesn't.
if *x>3 { ---- 'ysW(' >>> if ( x>3 ) { from help file doesn't work also.
Help?
developej 5 months ago
very nice.
trailingdot 5 months ago
Also, is there some kind of video tutorial or other resource that would act as an introduction macvim? I understand the basics of html but using macvim is proving to be incredibly frustrating. I've been trying to follow your vtutorial on converting a psd to html but when you don't (justly) mention how you're selecting a line of text with the keyboard and navigating about the application etc you lose me.
PowdErrPowErr 10 months ago
My apologies, I'm new to macvim.... but I don't get it. If I press shift+V for capital V I'm just typing a capital V next to "Hello World". Is there something else I need to press in order to activate the surround.vim?
PowdErrPowErr 10 months ago