#+begin_src emacs-lisp
(bind-keys
- ("C-c F m" . make-frame-command)
- ("C-c F d" . delete-frame)
- ("C-c F D" . delete-other-frames)
-
("s-c e b" . eval-buffer)
("s-c e r" . eval-region)
;; fix tab and indentation in src blocks inside org-mode buffer
;; also see https://git.sr.ht/~bandali/dotfiles/commit/0e2ffd584aafdd4cf256bcdf2473f01c3aaaed55
- (unbind-key "TAB" evil-motion-state-map))
+ (unbind-key "TAB" evil-motion-state-map)
+
+ (unbind-key "C-d" evil-insert-state-map)
+ (unbind-key "C-v" evil-insert-state-map)
+ (unbind-key "C-y" evil-insert-state-map)
+ (unbind-key "C-a" evil-insert-state-map)
+ (unbind-key "C-e" evil-insert-state-map)
+ (unbind-key "C-p" evil-insert-state-map)
+ (unbind-key "C-n" evil-insert-state-map))
#+end_src
#+begin_src emacs-lisp
"b k" 'kill-this-buffer
"b s" 'save-buffer
+ "e" '(:ignore t :wk "eval")
+ "e b" 'eval-buffer
+ "e r" 'eval-region
+
+ "e e" 'shell-pop
+
"f" '(:ignore t :wk "files")
+ "F" '(:ignore t :wk "frames")
+ "F m" 'make-frame-command
+ "F d" 'delete-frame
+ "F D" 'delete-other-frames
+
"h" '(:ignore t :wk "help(ful)")
"h c" 'describe-char
"h f" 'describe-function
'magit-insert-modules
'magit-insert-stashes
'append)
+ (setq
+ magit-repository-directories '(("~/.emacs.d/" . 0)
+ ("~/src/git/" . 1)))
:custom-face (magit-diff-file-heading ((t (:weight normal)))))
#+end_src
"f c" 'crux-copy-file-preserve-attributes
"f d" 'crux-delete-file-and-buffer
"f r" 'crux-rename-file-and-buffer)
- :bind (("C-S-j" . crux-top-join-line)
- ("C-c j" . crux-top-join-line)))
+ :bind (("C-c d" . crux-duplicate-current-line-or-region)
+ ("C-c D" . crux-duplicate-and-comment-current-line-or-region)
+ ("C-S-j" . crux-top-join-line)
+ ("C-c j" . crux-top-join-line)))
#+end_src
** [[https://github.com/alezost/mwim.el][mwim]]