Skip to content

Commit

Permalink
added frame commands
Browse files Browse the repository at this point in the history
  • Loading branch information
georgi committed Sep 10, 2012
1 parent d63d7ba commit 556e8a2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Expand Up @@ -91,3 +91,9 @@
[submodule "pig-mode"]
path = pig-mode
url = https://github.com/motus/pig-mode
[submodule "frame-fns"]
path = frame-fns
url = git://github.com/emacsmirror/frame-fns.git
[submodule "frame-cmds"]
path = frame-cmds
url = git://github.com/emacsmirror/frame-cmds.git
1 change: 1 addition & 0 deletions frame-cmds
Submodule frame-cmds added at fbb8aa
1 change: 1 addition & 0 deletions frame-fns
Submodule frame-fns added at 246b4c
13 changes: 13 additions & 0 deletions init.el
Expand Up @@ -10,6 +10,8 @@
(add-to-list 'load-path "~/.emacs.d/flymake")
(add-to-list 'load-path "~/.emacs.d/flymake-cursor")
(add-to-list 'load-path "~/.emacs.d/flymake-ruby")
(add-to-list 'load-path "~/.emacs.d/frame-cmds")
(add-to-list 'load-path "~/.emacs.d/frame-fns")
(add-to-list 'load-path "~/.emacs.d/helm")
(add-to-list 'load-path "~/.emacs.d/js2-mode")
(add-to-list 'load-path "~/.emacs.d/haskell-mode")
Expand Down Expand Up @@ -40,6 +42,7 @@
(require 'flymake)
(require 'flymake-cursor)
(require 'flymake-ruby)
(require 'frame-cmds)
(require 'wgrep)

;; ********************************************************************************
Expand Down Expand Up @@ -546,3 +549,13 @@
(global-set-key (kbd "C-c v") 'spec-verify)
(global-set-key (kbd "C-c t") 'toggle-buffer)
(global-set-key (kbd "C-c C-s") 'spec-verify-single)


(global-set-key (kbd "<s-up>") 'move-frame-up)
(global-set-key (kbd "<s-down>") 'move-frame-down)
(global-set-key (kbd "<s-left>") 'move-frame-left)
(global-set-key (kbd "<s-right>") 'move-frame-right)
(global-set-key (kbd "<S-s-down>") 'enlarge-frame)
(global-set-key (kbd "<S-s-right>") 'enlarge-frame-horizontally)
(global-set-key (kbd "<S-s-up>") 'shrink-frame)
(global-set-key (kbd "<S-s-left>") 'shrink-frame-horizontally)

0 comments on commit 556e8a2

Please sign in to comment.