Vim Notes copy to mac clipboard :w !pbcopy paste from mac clibpoard :r !pbpaste pipe the entire buffer to a shell command :%w !wc -l filter the selection through a shell command :!cut -f2-4