Skip to content

Instantly share code, notes, and snippets.

@chriszf
Created November 12, 2013 19:13

Revisions

  1. chriszf created this gist Nov 12, 2013.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    Meringue:shenanigans chriszf$ python test.py
    fish
    this is a fish
    s/"fish"/"squid"/g
    squid
    this is a squid
    13 changes: 13 additions & 0 deletions vimtest.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    import lib.vim

    a = "fish"
    b = "this is a fish"

    print a
    print b

    s/"fish"/"squid"/g
    print """s/"fish"/"squid"/g"""

    print a
    print b