Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (36 sloc) 1.553 kb
cd6de7c Regular commit.
krick authored
1 ;;; kemacs-bindings.el --- kEmacs bindings
2 ;;
3 ;; Part of kEmacs
4
5 (require 'kemacs-defuns)
6
7 ;; bind changing layout of keyboard
4e68bf3 Regular commit.
krick authored
8 ;;(global-set-key [(control ?')] 'user-toggle-input-method)
cd6de7c Regular commit.
krick authored
9
10 ;; convenient command. kill all buffers except current.
11 (global-set-key "\C-c\C-u" 'kill-other-buffers)
12
13 ;; scroll up-down bindings. (check out cfg_navigation.el)
14 (global-set-key [(control shift n)] 'scroll-one-line-up)
15 (global-set-key [(control shift p)] 'scroll-one-line-down)
16
17 ;; Evaluate current lisp buffer
18 (global-set-key (kbd "C-c v") 'eval-buffer)
19
20 ;; Self-written function that toggles fullscreen
21 (global-set-key [(meta return)] 'toggle-fullscreen)
22
23 ;; Bound C-h to backspace.
24 (global-set-key "\C-xh" 'help-command)
25 ;; rebind help
26 (global-set-key "\C-h" 'delete-backward-char)
27 ;; Expected bahavior of M-backspace
4e68bf3 Regular commit.
krick authored
28 (global-set-key "\C-\M-h" 'backward-kill-word)
cd6de7c Regular commit.
krick authored
29
30 ;; The default C-x b is too slow. Use C-; instead
31 (global-set-key [(control ?\;)] 'ido-switch-buffer)
32
33 ;; Turn on the menu bar for exploring new modes
34 (global-set-key (kbd "C-<f1>") 'menu-bar-mode)
35
4e68bf3 Regular commit.
krick authored
36 ;; A better buffer list
cd6de7c Regular commit.
krick authored
37 (global-set-key (kbd "C-x C-b") 'ibuffer)
38
a6f2d03 Add replacements for C-x4b and C-x4f
krick authored
39 ;; Replacements for standard functions.
40 ;; We are forcing horizontal splitting.
41 (global-set-key "\C-x4b" 'switch-to-buffer-other-window-horizontal)
42 (global-set-key "\C-x4f" 'find-file-other-window-horizontal)
43
cd6de7c Regular commit.
krick authored
44 (global-set-key (kbd "C-x f") 'anything-for-files)
45 ;;(global-set-key (kbd "C-x f") 'recentf-ido-find-file)
46
4e68bf3 Regular commit.
krick authored
47 (global-set-key "\C-\M-\\" 'indendt-whole-buffer)
48
cd6de7c Regular commit.
krick authored
49 (provide 'kemacs-bindings)
50 ;;; kemacs-bindings.el ends here
Something went wrong with that request. Please try again.