Permalink
Browse files

Update key bindings

  • Loading branch information...
1 parent 25ecbae commit bb50b2881a9389dfa6fca5028b3c3838be2f6be2 @genehack committed Dec 30, 2012
Showing with 32 additions and 30 deletions.
  1. +32 −30 etc/keys.el
View
@@ -6,36 +6,38 @@
(global-unset-key (kbd "M-`"))
;;; GLOBAL ONLY -- mode-specific in mode-specific files
-(global-set-key (kbd "C-c C-SPC") 'just-one-space)
-(global-set-key (kbd "C-c C-a") 'ack)
-(global-set-key (kbd "C-c C-b") 'bury-buffer)
-(global-set-key (kbd "C-c C-d") 'genehack/dired-right-here)
-(global-set-key (kbd "C-c C-g") 'genehack/magit-key)
-(global-set-key (kbd "C-c C-h") 'genehack/split-horizontally-or-delete-other-windows)
-(global-set-key (kbd "C-c C-j") 'projectile-jump-to-project-file)
-(global-set-key (kbd "C-c C-o") 'projectile-multi-occur)
-(global-set-key (kbd "C-c C-t") 'delete-trailing-whitespace)
-(global-set-key (kbd "C-c C-v") 'genehack/split-vertically-or-delete-other-windows)
-(global-set-key (kbd "C-c C-x") 'maximize-frame)
-(global-set-key (kbd "C-c M-x") 'execute-extended-command)
-(global-set-key (kbd "C-x b") 'ido-switch-buffer)
-(global-set-key (kbd "C-x C-b") 'ido-switch-buffer)
-(global-set-key (kbd "C-x M-b") 'ibuffer)
-(global-set-key (kbd "C-x C-f") 'ido-find-file)
-(global-set-key (kbd "C-x K") 'genehack/kill-this-buffer)
-(global-set-key (kbd "C-x =") 'genehack/diff-current-buffer-with-file)
-(global-set-key (kbd "C-=") 'er/expand-region)
-(global-set-key (kbd "C-%") 'genehack/paren-bounce)
-(global-set-key (kbd "C-a") 'genehack/bol-toggle)
-(global-set-key (kbd "M-`") 'other-window)
-(global-set-key (kbd "M-D") 'perldoc)
-(global-set-key (kbd "M-g") 'goto-line)
-(global-set-key (kbd "M-k") 'delim-kill)
-(global-set-key (kbd "M-L") 'perl-find-file)
-(global-set-key (kbd "M-p") 'ps-print-buffer)
-(global-set-key (kbd "M-s") 'imenu-goto-symbol)
-(global-set-key (kbd "M-x") 'smex)
-(global-set-key (kbd "RET") 'reindent-then-newline-and-indent)
+(global-set-key (kbd "C-c C-SPC") 'just-one-space)
+(global-set-key (kbd "C-c C-a") 'ack)
+(global-set-key (kbd "C-c C-b") 'bury-buffer)
+(global-set-key (kbd "C-c C-d") 'genehack/dired-right-here)
+(global-set-key (kbd "C-c C-g") 'genehack/magit-key)
+(global-set-key (kbd "C-c C-h") 'genehack/split-horizontally-or-delete-other-windows)
+(global-set-key (kbd "C-c C-j") 'projectile-jump-to-project-file)
+(global-set-key (kbd "C-c C-o") 'projectile-multi-occur)
+(global-set-key (kbd "C-c C-t") 'delete-trailing-whitespace)
+(global-set-key (kbd "C-c C-v") 'genehack/split-vertically-or-delete-other-windows)
+(global-set-key (kbd "C-c C-x") 'maximize-frame)
+(global-set-key (kbd "C-c M-x") 'execute-extended-command)
+(global-set-key (kbd "<C-return>") 'open-line-below)
+(global-set-key (kbd "<C-S-return>") 'open-line-above)
+(global-set-key (kbd "C-x b") 'ido-switch-buffer)
+(global-set-key (kbd "C-x C-b") 'ido-switch-buffer)
+(global-set-key (kbd "C-x M-b") 'ibuffer)
+(global-set-key (kbd "C-x C-f") 'ido-find-file)
+(global-set-key (kbd "C-x K") 'genehack/kill-this-buffer)
+(global-set-key (kbd "C-x =") 'genehack/diff-current-buffer-with-file)
+(global-set-key (kbd "C-=") 'er/expand-region)
+(global-set-key (kbd "C-%") 'genehack/paren-bounce)
+(global-set-key (kbd "C-a") 'genehack/bol-toggle)
+(global-set-key (kbd "M-`") 'other-window)
+(global-set-key (kbd "M-D") 'perldoc)
+(global-set-key (kbd "M-g") 'goto-line)
+(global-set-key (kbd "M-k") 'delim-kill)
+(global-set-key (kbd "M-L") 'perl-find-file)
+(global-set-key (kbd "M-p") 'ps-print-buffer)
+(global-set-key (kbd "M-s") 'imenu-goto-symbol)
+(global-set-key (kbd "M-x") 'smex)
+(global-set-key (kbd "RET") 'reindent-then-newline-and-indent)
;;; F keys
;; the things bound to genehack/noop are shadowed by the hardwired

0 comments on commit bb50b28

Please sign in to comment.