diff options
author | Thanos Apollo <[email protected]> | 2023-01-07 01:54:31 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-01-07 01:54:31 +0200 |
commit | 29e51385230607376a30aa2ef71c05e4679f6a78 (patch) | |
tree | 1976f92c5e6882463176fbfaa8ed99ee1752f7bc /.emacs.d/lisp/keys.el | |
parent | 773bd263bbb65e656a6184e8fe7e653399ae07ba (diff) |
Rename lisp/ to snippets/
Diffstat (limited to '.emacs.d/lisp/keys.el')
-rw-r--r-- | .emacs.d/lisp/keys.el | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/.emacs.d/lisp/keys.el b/.emacs.d/lisp/keys.el deleted file mode 100644 index e8a5b74..0000000 --- a/.emacs.d/lisp/keys.el +++ /dev/null @@ -1,73 +0,0 @@ -;; init-keys.el -;;; Code: -(require 'multi-vterm) -(require 'vterm) -(require 'general) -(require 'pdf-tools) - -;; my general's leader key! -(defconst general-key "C-c g") - -(define-prefix-command 'window-control-map) -(global-set-key (kbd "C-w") 'window-control-map) - -(general-create-definer general-does - :prefix general-key) - -;; Basic functions -(general-define-key - "C-d" 'kill-region - "C-k" 'copy-region-as-kill - "C-c v" 'multi-vterm-next) - - - ; My general does the followin -(general-does - "t" 'counsel-load-theme - "l" 'display-line-numbers-mode - "v" 'multi-vterm-next - "e" 'eshell - "i" 'circe - "c" 'apollo/center-buffer) - -;;pdf-tools -(general-define-key - :keymaps 'pdf-view-mode-map - "C-c d" 'pdf-view-midnight-minor-mode - "C-s" 'isearch-forward - "C-o" 'pdf-isearch-occur) - - - -;;vterm -(general-does - :keymaps 'vterm-mode-map - "n" 'multi-vterm-next - "o" 'multi-vterm - "p" 'multi-vterm-prev) - -(general-define-key - :keymaps 'vterm-mode-map - "C-c v n" 'multi-vterm-next - "C-c v p" 'multi-vterm-prev - "C-c v o" 'multi-vterm) - -;;eshell -(general-does - :keymaps 'eshell-mode-map - "n" 'eshell-new) - -;;pdf-tools - -;;Add pdf-isearch-minor-mode hook, otherwise isearch will be buggy -;;Darkmode hook, cause I don't want color or light in my life, I'm a vampire. -(add-hook 'pdf-view-mode-hook 'pdf-isearch-minor-mode) -(add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) - -(general-define-key - :keymaps 'pdf-view-mode-map - "C-c d" 'pdf-view-midnight-minor-mode - "C-s" 'isearch-forward - "C-o" 'pdf-isearch-occur) - -;;init-keys ends here |