8000 GitHub - wellle/vimsed: The vimsed script makes vim behave kind of like sed. Syntax: vimsed "<vim normal-mode keystrokes>" (/Syntax). vimsed will "pipe" stdin to stdout, modifying it first by running the keystrokes. Note/Warning: Uses temporary files temp, temp.vim and temp2 in the ~ directory.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ vimsed Public
forked from ryanfmurphy/vimsed

The vimsed script makes vim behave kind of like sed. Syntax: vimsed "<vim normal-mode keystrokes>" (/Syntax). vimsed will "pipe" stdin to stdout, modifying it first by running the keystrokes. Note/Warning: Uses temporary files temp, temp.vim and temp2 in the ~ directory.

Notifications You must be signed in to change notification settings

wellle/vimsed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

The vimsed script makes vim behave kind of like sed. 

Syntax: vimsed "<vim normal-mode keystrokes>"

vimsed will "pipe" stdin to stdout, modifying it first by running the keystrokes.

Note/Warning: Uses temporary files temp, temp.vim and temp2 in the ~ directory.

Example: (type ctrl-v enter to get the ^M, it stands for a carriage return)

$ vimsed ":s/e/i/g^M"
(user input:)
hello
hello
(Ctrl-D to terminate user input)
(vimsed output:)
hillo
hello

About

The vimsed script makes vim behave kind of like sed. Syntax: vimsed "<vim normal-mode keystrokes>" (/Syntax). vimsed will "pipe" stdin to stdout, modifying it first by running the keystrokes. Note/Warning: Uses temporary files temp, temp.vim and temp2 in the ~ directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0