Emacs: Simplify window management keys

Since `C-1..9' do the same as `M-1..9' and I never use the Meta ones,
I seem to have a few keybindings available to me for such things as
this.  Now I just need to start using them...
This commit is contained in:
Tom Willemsen 2012-12-11 01:46:16 +01:00
parent 757a5fab18
commit 0195a2c07c

View file

@ -363,6 +363,11 @@
(global-set-key (kbd "M-4") 'split-window-horizontally) (global-set-key (kbd "M-4") 'split-window-horizontally)
(global-set-key (kbd "M-n") 'idomenu) (global-set-key (kbd "M-n") 'idomenu)
(global-set-key (kbd "\"") 'oni:self-insert-dwim) (global-set-key (kbd "\"") 'oni:self-insert-dwim)
(global-set-key (kbd "M-o") 'other-window)
(global-set-key (kbd "M-1") 'delete-other-windows)
(global-set-key (kbd "M-2") 'split-window-below)
(global-set-key (kbd "M-3") 'split-window-right)
(global-set-key (kbd "M-0") 'delete-window)
(if (daemonp) (if (daemonp)
(global-set-key "\C-x\C-c" 'oni:close-client-window)) (global-set-key "\C-x\C-c" 'oni:close-client-window))