diff options
Diffstat (limited to '.emacs.d/lisp/keys.el')
-rw-r--r-- | .emacs.d/lisp/keys.el | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.emacs.d/lisp/keys.el b/.emacs.d/lisp/keys.el new file mode 100644 index 0000000..051a93a --- /dev/null +++ b/.emacs.d/lisp/keys.el @@ -0,0 +1,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-k") '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 |