Skip to content

Commit

Permalink
Merge pull request #57 from thefrontside/cl/swap-windows
Browse files Browse the repository at this point in the history
add key binding for swapping windows.
  • Loading branch information
cowboyd authored Apr 17, 2017
2 parents f449d7a + 2fcac0c commit a1a2836
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontmacs-keys.el
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
;; Rename the current buffer and its visiting file if any.
(global-set-key (kbd "C-c r") 'crux-rename-buffer-and-file)

;; swap the content of the two windows. Left side goes to right. Right side goes
;; to left.
(global-set-key (kbd "C-c s") 'crux-swap-windows)

;; Kill whole line OR region
(defun frontmacs-kill-region-or-line ()
"Kill the region if active. Else, kill the line."
Expand Down

0 comments on commit a1a2836

Please sign in to comment.