• Home
  • About
  • AccuRev
  • Linux
  • PGP
  • Resume
  • Ruby
  • Vim

Feeds:
Posts
Comments

Vim

We edit text everyday. emails. blogs. code. documents. notes. Why not become efficient!

First, you much choose an editor. I choose ViM.
Second, you must learn techniques for becoming efficient.

Here is a list of my productivity tips

search

  • forward search– in command mode, press ‘/’ (forward slash) and type the search pattern.
  • reverse search — in command mode, press ‘?’ to reverse search the previous pattern.
  • highlight – enable search highlighting to see all matches visible in the current window. Add ‘set hlsearch‘ to your .vimrc
  • incremental – enable incremental matching to automatically see matches as you type a pattern. Add ‘set incsearch‘ to your .vimrc

navigation

  • breadcrumbs – keep a trail of lines you want to return to by setting marks. To set a mark, press m<a-zA-Z>. To return to a mark from anywhere in the file, press '<a-zA-Z> (single tick).For example, the keystroke mc will create a mark at location c and 'c will return!

copy/paste

  • registers – copy arbitrary lines of text into registers then paste them later on. To copy text, enter visual mode v, use hjkl to select the lines, then specify a register "<a-z>and yank y! For example, after selecting text, store it into register m with the keystrokes "my. View the contents of all registers with :reg
  • .

Like this:

Like
Be the first to like this page.

  • Achievements

    2012 Santa Cruz 1/2 Marathon
    13.1miles / 1h45m27s / 8:02

    2011 Santa Cruz 1/2 Marathon
    13.1miles / 1h46m48s / 8:09

    2010 Santa Cruz 1/2 Marathon
    13.1miles / 1h49m13s / 8:20

    2010 Fatherhood, #2
    Jacob True Kronick Thomas

    2009 17-mi Run
    Ocean View run to Santa Cruz

    2009 First time Surfing
    Lahaina, Hawaii

    2009 Santa Cruz 1/2 Marathon
    13.1miles / 2h03m33s / 9:26

    2008 Fatherhood, #1
    Tyler Patrick Holden Thomas

    2004 Snowboard Instructor
    Certification @ Whistler, BC
    CASI-Level 1 [CASI-Level 1]

    2004 Sears Tower Climb
    103 floors / 20m57s [results]

    2004 Whistler Glacier Camp
    Summer [video] [camp]

    1997 Rockefeller University, Molecular Genetics Internship
    [genetics lab] [university]

    1997 Illinois Inst. of Technology, BS Computer Science
    [genetics lab] [university]

  • Recent Posts

    • April SPOOLS
    • [r]evolving architecture
    • Ruby or Vim. Who’s segFAULT is it?
    • Weekend @ JPL
    • continuous emPAVEMENT
  • Archives

  • Pages

    • About
    • AccuRev
    • Linux
    • PGP
    • Resume
    • Ruby
    • Vim
  •  

    May 2012
    S M T W T F S
    « Apr    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.com

Blog at WordPress.com.

Theme: MistyLook by Sadish.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com