From 0d88ea993989a6255a5ca2704965b3bf9871906c Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Thu, 17 Nov 2022 10:41:13 +0200 Subject: Seperate keys and custom functions --- .emacs.d/lisp/init-keys.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .emacs.d/lisp/init-keys.el (limited to '.emacs.d/lisp/init-keys.el') diff --git a/.emacs.d/lisp/init-keys.el b/.emacs.d/lisp/init-keys.el new file mode 100644 index 0000000..7b1db29 --- /dev/null +++ b/.emacs.d/lisp/init-keys.el @@ -0,0 +1,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)) -- cgit v1.2.3