summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-keys.el
blob: 7b1db298a09a2d5b74e1c673c03c1753c1b42c1c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; init-keys.el

;;Ibuffer
;(global-set-key (kbd "C-x C-b") 'ibuffer)
;;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)
(global-set-key (kbd "C-c C-c") 'copy-region-as-kill)
(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)
;; (use-package god-mode
;;   :init
;;   (god-mode)
;;   :config
;;   (global-set-key (kbd "C-f") #'god-mode-all))