diff options
| author | TCCQ <thomasmulmer02@gmail.com> | 2025-02-14 15:40:29 -0800 |
|---|---|---|
| committer | TCCQ <thomasmulmer02@gmail.com> | 2025-02-14 15:40:29 -0800 |
| commit | 2576f016153baa11c6e62deeb329dd72f0aa89c8 (patch) | |
| tree | afd9e5c4cd42a67a4cacd82fc4f63622c1a26990 /emacs/site-lisp/my-binds.el | |
| parent | 5b23587f638dde8faf821edd50d72cb988af5387 (diff) | |
emacs full rework from laptop
Diffstat (limited to 'emacs/site-lisp/my-binds.el')
| -rw-r--r-- | emacs/site-lisp/my-binds.el | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/emacs/site-lisp/my-binds.el b/emacs/site-lisp/my-binds.el new file mode 100644 index 0000000..d3455e4 --- /dev/null +++ b/emacs/site-lisp/my-binds.el @@ -0,0 +1,24 @@ +;;; Various custom binds that aren't part of an external package + +(provide 'my-binds) +(require 'my-funcs) + +(global-set-key (kbd "C-x C-C") 'save-buffers-kill-terminal) +(global-set-key (kbd "C-x C-c") 'close-or-kill) +(global-set-key (kbd "M-w") 'copy-region-as-kill) ;;make copying not flash cursor +(global-set-key (kbd "M-(") 'wrap-region-paren) +(global-set-key (kbd "M-z") 'zap-whitespace) +(global-set-key (kbd "C-M-z") 'wrap-sexp) +(global-set-key (kbd "M-o") 'other-window) +(global-set-key (kbd "M-c") 'calc) +(global-set-key (kbd "M-U") 'scroll-lock-mode) +(global-set-key (kbd "M-Q") 'auto-fill-mode) +(require 'dired) +(keymap-set dired-mode-map "C-o" 'dired-display-file) +(keymap-set dired-mode-map "F" 'dired-do-find-marked-files) + + +(global-set-key (kbd "M-l") 'forward-char) +(global-set-key (kbd "M-j") 'next-line) +(global-set-key (kbd "M-k") 'previous-line) +(global-set-key (kbd "M-h") 'backward-char) |
