Created
June 25, 2010 00:49
-
-
Save schani/452230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-key-after | |
global-map | |
[menu-bar bertl] | |
(cons "Bertl" (make-sparse-keymap "beidel")) | |
'tools) | |
(defun bertl-pipe-region (command) | |
(interactive "sCommand: ") | |
(shell-command-on-region (region-beginning) (region-end) command nil t)) | |
(define-key | |
global-map | |
[menu-bar bertl pipe-region] | |
'("Pipe Region" . bertl-pipe-region)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment