summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-keys.el
blob: 4966f6b8a8a4c1ae084183e045b2b80110cf28d4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
;; init-keys.el
;;; Code:

;;Ibuffer
(global-set-key (kbd "C-x C-b") 'ibuffer)

;;Editing
(global-set-key (kbd "C-d") 'kill-region)
(global-set-key (kbd "C-c C-c") 'copy-region-as-kill)

;;Counsel
(global-set-key (kbd "M-;") 'counsel-M-x)

;;Window control map
(define-prefix-command 'window-control-map)
(global-set-key (kbd "C-w") 'window-control-map)
(define-key window-control-map (kbd "C-v") 'split-window-right)
(define-key window-control-map (kbd "C-n") 'windmove-right)
(define-key window-control-map (kbd "C-p") 'windmove-left)
(define-key window-control-map (kbd "C-q") 'delete-window)


;;; God Mode
;; (use-package god-mode
;;   :init
;;   (god-mode)
;;   :config
;;   (global-set-key (kbd "C-f") #'god-mode-all))


;;init-keys ends here