Skip to main content

Best of VIM Tips, VIM's Key Features

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Groups (1)

  • vimEditor

    VIM Editor

    2 members,17 bookmarks

    regarding VIM editor

Bookmark History

Saved by 65 people (15 private), first by anonymouse user on 2006-03-02


Public Sticky notes

" \v or very magic (usually) reduces backslashing /codes\(\n\|\s\)*where : normal regexp /\vcodes(\n|\s)*where : very magic

Highlighted by slavos1

:let @*=@: : copy last command to paste buffer

Highlighted by slavos1

:let @*=@/ : copy last search to paste buffer

Highlighted by slavos1

:%s/fred/joe/igc : general substitute command :%s/\r//g : Delete DOS returns ^M " Is your Text File jumbled onto one line? use following :%s/\r/\r/g : Turn DOS returns ^M into real returns :%s= *$== : delete end of line blanks :%s= \+$== : Same thing :%s#\s*\r\?$## : Clean both trailing spaces AND DOS returns :%s#\s*\r*$## : same thing

Highlighted by frankenmueller