diff options
author | ThanosApollo <[email protected]> | 2022-11-18 17:18:06 +0200 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-11-18 17:18:06 +0200 |
commit | 1e0de0ed829f6592f4cfb125ff40ac522250b108 (patch) | |
tree | 71f8f1abb13d176adab71b6942ec7a6e3322caab | |
parent | 8a2e9a892ca99d68f79b77ece813cd475b0b86cc (diff) |
Add editing keys
-rw-r--r-- | .emacs.d/lisp/init-keys.el | 16 |
1 files changed, 14 insertions, 2 deletions
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 |