Git Product home page Git Product logo

Comments (8)

timcharper avatar timcharper commented on August 17, 2024

Use a macro

Sent from my iPhone

On Nov 22, 2014, at 03:14, Enrico Pirani [email protected] wrote:

I want to change this block of text

http://www.plosone.org/article/feed/search?unformattedQu
http://www.plosone.org/article/feed/search?unformattedQuery=subject%
http://www.plosone.org/article/feed/search?unformattedQuery=subject%3A%2
into this

"http://www.plosone.org/article/feed/search?unformattedQu"
"http://www.plosone.org/article/feed/search?unformattedQuery=subject%"
"http://www.plosone.org/article/feed/search?unformattedQuery=subject%3A%2"
According to the instruction you can surround in visual-state with s . But what you get is :

"http://www.plosone.org/article/feed/search?unformattedQu
http://www.plosone.org/article/feed/search?unformattedQuery=subject%
http://www.plosone.org/article/feed/search?unformattedQuery=subject%3A%2"
β€”
Reply to this email directly or view it on GitHub.

from evil-surround.

Enrico68 avatar Enrico68 commented on August 17, 2024

It is not supposed to use a macro if emulates surround.vim by Tim Pope...

Tim Harper [email protected] writes:

Use a macro

Sent from my iPhone

On Nov 22, 2014, at 03:14, Enrico Pirani [email protected] wrote:

I want to change this block of text

http://www.plosone.org/article/feed/search?unformattedQu
http://www.plosone.org/article/feed/search?unformattedQuery=subject%
http://www.plosone.org/article/feed/search?unformattedQuery=subject%3A%2
into this

"http://www.plosone.org/article/feed/search?unformattedQu"
"http://www.plosone.org/article/feed/search?unformattedQuery=subject%"
"http://www.plosone.org/article/feed/search?unformattedQuery=subject%3A%2"
According to the instruction you can surround in visual-state with s . But what you
get is :

"http://www.plosone.org/article/feed/search?unformattedQu
http://www.plosone.org/article/feed/search?unformattedQuery=subject%
http://www.plosone.org/article/feed/search?unformattedQuery=subject%3A%2"
β€”
Reply to this email directly or view it on GitHub.

β€”
Reply to this email directly or view it on GitHub.*

Sent with my mu4e

from evil-surround.

HalimNaim avatar HalimNaim commented on August 17, 2024

surround.vim has the same behavior. It surround the entire block, not each line. AFAIK

from evil-surround.

Enrico68 avatar Enrico68 commented on August 17, 2024

http://i.imgur.com/HWB5ZFj.gif

from evil-surround.

HalimNaim avatar HalimNaim commented on August 17, 2024

I'm Sorry, didn't know you were talking about a visual block. C-v.

from evil-surround.

HalimNaim avatar HalimNaim commented on August 17, 2024

@Enrico68 I have a first draft at implementing that functionality. After a first late night test, seems to work. Give it a go if you like. test

P.S: The code is really ugly.

from evil-surround.

Enrico68 avatar Enrico68 commented on August 17, 2024

@Ramapitecus I tried but it looks as before or at least this was what I have done C-v-j-j-$-S-"
screen.

from evil-surround.

HalimNaim avatar HalimNaim commented on August 17, 2024

That's strange. It works here. Maybe you are using an older version of evil. That happened to me in issue #41. I'm pressing exactly the same keys, and using you sample text.

from evil-surround.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.