Skip to content

Instantly share code, notes, and snippets.

View simont-1's full-sized avatar

simont simont-1

  • E
  • China
View GitHub Profile
@sjl
sjl / ext.vim
Created December 15, 2014 18:58
ways to run external commands in vim
" run command
" no stdin
" output displayed in "Press enter to continue" style
" current buffer untouched
:!uptime
" run command
" pipe range of text to command on stdin
" output replaces the range in the current buffer
:RANGE!grep foo