Frank Fischer <[email protected]> writes: Ahhh, yes, the capital S does it. I've got to get a better handle on these text objects, but I imagine it has something to do with s capturing more than S does?
In any case, thank you. I'm exploring vim through evil-mode and I've liked the experience so far (though not enough to enable me to take my school notes and whatnot in evil as I do in emacs), so I hope to learn lots more of these little tricks! Thank you, Dacoda Strack > It does work for me (although I have to use ysSfprint [note the capital > S], for some reason). So, please provide a complete example to reproduce > the problem, including your Emacs, Evil and evil-surround version and a > test file (otherwise it's hard to reproduce the problem). > > Frank > > Am 05.04.2015 um 19:45 schrieb Dacoda Strack: >> I've just started exploring evil-mode and was wondering about the >> behaviour of the evil-surround package when it comes to surrounding lines >> with functions. For example, if I have some string that I've written >> >> "Hello world!" >> >> and I want to surround it with a "print" function, I thought I'd be able >> to do =yssfprint<RET>=, but I wind up getting the following: >> >> print( >> "Hello world!") >> >> I'm not sure if it's because =yss= selects the linebreak before the >> quotation mark or quite what's going on. >> >> Would someone be so kind as to elucidate the situation for a real >> vim/evil-mode newbie? >> _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
