evil-mode: python surround string with function
Frank Fischer
frank-fischer at shadow-soft.de
Tue Apr 7 11:07:56 CEST 2015
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?
>
More information about the implementations-list
mailing list