# vis.el -rw-r--r-- 246 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
(defun pipe-through (cmd)
  (interactive "p")
  (shell-command-on-region (mark) (point) cmd t t))

(defalias '| 'pipe-through)
(defalias '< 'pipe-in)
(defalias '> 'pipe-out)
(defalias '! 'run-command-in-vterm)
(defalias 'comma 'mark-whole-buffer)