Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:jpr5/env into public

  • Loading branch information...
commit 9232904ca751465fb85d27419dd30155c2879ad6 2 parents e50c702 + af728fd
Jordan Ritter jpr5 authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  .emacs
  2. +1 −0  .emacs.d/keys.el
1  .emacs
View
@@ -7,6 +7,7 @@
;;; C-x r k - cut rectangle (set-mark first) [remove columns from lines]
;;; C-x r o - insert rectangle (set-mark first) [add columns to lines]
;;; C-x r y - yank rectangle (at cursor h-coord)
+;;; C-x r i - string rectangle (replace rect with string; prefix if point at beg-of-line)
;;; C-x n n - narrow view
;;; C-x n w - widen (un-narrow) view
;;; C-x RET f - choose coding system ("unix" == dos2unix)
1  .emacs.d/keys.el
View
@@ -7,6 +7,7 @@
(global-set-key (kbd "C-c C-c") 'eval-buffer)
(global-set-key (kbd "C-x C-x") 'end-of-buffer)
(global-set-key (kbd "C-x C-p") 'beginning-of-buffer)
+(global-set-key (kbd "C-x r i") 'string-rectangle)
(global-set-key (kbd "M-r") 'revert-buffer)
(global-set-key (kbd "M-g") 'goto-line)
(global-set-key (kbd "C-M-\\") 'indent-region)
Please sign in to comment.
Something went wrong with that request. Please try again.