[ start | index | login ]
start > vi

vi

Created by skb. Last edited by skb, 254 days ago. Viewed 187 times. #4
[diff] [history] [edit] [rdf]
labels
attachments
Quick Pointers:
  • search and replace
    • :%s/find-something/replace/g
    • % == everywhere in document, g == global replacement
  • visual block copy/paste == column copy/paste
    • enter visual mode; CTRL-V
    • select column; y (yank)
    • select column (where to paste)
    • insert column; CTRL-I p
  • textwidth, wrapmargin
    • add new line after 30 character; :set textwidth=30
    • break the lines for a margin characters from the right side of the screen :set wrapmargin=margin
      • :set wrapmargin=10
      • :set textwidth=70
  • format paragraph
    • visual select the paragraph, execute :gq
    • format this paragarph; :gqip
    • format a line; :gqgq
    • format this line and next 4-5 lines; :gq4j
see: >>http://www.geocities.com/volontir/#tables
no comments | post comment


< January 2009 >
SunMonTueWedThuFriSat
123
45678910
11121314151617
18192021222324
25262728293031

categories

snipsnap-index
design
projects
books
chronology

links

>>homepage
>>server
>>personal
>>mondego wiki
blogs


Logged in Users: (2)
… and 16 Guests.

note
.. for dropping comments

XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

quick config: sidebar | help
powered by: SnipSnap
v. 1.0b2-uttoxeter

(c) sushil bajracharya

skb's
thoughtBOX
-//-