3. Typing  %   while the cursor is on... - Deepstash

3. Typing  %   while the cursor is on a (,),[,],{, or } goes to its match.

4. To substitute new for the first old in a line type   :s/old/new

To substitute new for all 'old's on a line type     

:s/old/new/g

To substitute phrases between two line #'s type     

:#,#s/old/new/g

To substitute all occurrences in the file type     

:%s/old/new/g

To ask for confirmation each time add 'c'        

:%s/old/new/gc

2

5 reads

CURATED FROM

IDEAS CURATED BY

anivana

Improve the process

ViM is a blessing. Learn it and you will be spoiled forever.

Similar ideas

How to CHANGE your habits

How to CHANGE your habits

To understand your own habits, you need to identify the components of your habit loops. Once you’ve diagnosed the habit loop of a particular behaviour, you can look for ways to supplant old vices with new routines.

There are four steps to doing this:

1. Identify the rout...

A Hot List Of Your Best Customers

A Hot List Of Your Best Customers

The best list of all is your own customer list.

Nothing will add to your bottom line as fast as selling something new to your existing customers and sourcing new prospects.

Characteristics of “Hot” Lists

  • Recency (most important): The more recently a person has purchased...

10 productivity commandments you must live by to succeed

10 productivity commandments you must live by to succeed

Yourself

1) Eliminate, automate, delegate

2) Take any unavoidable decision in 2 mins

3) Start & finish a task without interruption

4) Do any task in 1 pomodoro

5) Read faster with pen, focus on last words

Others

1) Say no to anything that doesn't add valu...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates