From 1e0de0ed829f6592f4cfb125ff40ac522250b108 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Fri, 18 Nov 2022 17:18:06 +0200 Subject: Add editing keys --- .emacs.d/lisp/init-keys.el | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to '.emacs.d/lisp/init-keys.el') diff --git a/.emacs.d/lisp/init-keys.el b/.emacs.d/lisp/init-keys.el index 7b1db29..4966f6b 100644 --- a/.emacs.d/lisp/init-keys.el +++ b/.emacs.d/lisp/init-keys.el @@ -1,19 +1,31 @@ ;; init-keys.el +;;; Code: ;;Ibuffer -;(global-set-key (kbd "C-x C-b") '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) -(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) + + +;;; God Mode ;; (use-package god-mode ;; :init ;; (god-mode) ;; :config ;; (global-set-key (kbd "C-f") #'god-mode-all)) + + +;;init-keys ends here -- cgit v1.2.3