|
|
|
|
@ -13,8 +13,9 @@ |
|
|
|
|
** TODO migrate from patching org-mode to a more sustainable option |
|
|
|
|
the issue is that I wanted to make sure that nothing would break by |
|
|
|
|
managing conflicts by hand, but this is not happening in practice |
|
|
|
|
** TODO can we run a task with an org-link? |
|
|
|
|
** DONE can we run a task with an org-link? |
|
|
|
|
For instance, I want to call kmail in "zero inbox proton" |
|
|
|
|
i can run elisp code... |
|
|
|
|
** DONE improve helm-mu-contacs |
|
|
|
|
- [ ] Manage ignore list |
|
|
|
|
We can advise ~ helm-mu-contacts-transformer~ and remove the |
|
|
|
|
@ -487,6 +488,7 @@ |
|
|
|
|
mode-line-format-right)) |
|
|
|
|
#+end_src |
|
|
|
|
The following has been found in [[https://www.masteringemacs.org/article/hiding-replacing-modeline-strings][here]] to clean up the modeline |
|
|
|
|
I modified it marginally to avoid using the loop monster |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(defvar mode-line-cleaner-alist |
|
|
|
|
'() |
|
|
|
|
@ -561,7 +563,7 @@ |
|
|
|
|
(global-visible-mark-mode t) |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
The following are some convenient bindings; notice that on my layout F17 and |
|
|
|
|
The following are some convenient bindings; on my layout F17 and |
|
|
|
|
F18 are obtained by tapping the left and right shift respectively |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(defun jump-to-mark () |
|
|
|
|
@ -581,9 +583,11 @@ |
|
|
|
|
("<M-f18>" . jump-to-mark) |
|
|
|
|
("<S-f17>" . just-activate-mark) |
|
|
|
|
("<S-f18>" . just-activate-mark))) |
|
|
|
|
|
|
|
|
|
(advice-add 'menu-bar-enable-clipboard :override (lambda ())) ; prevent the menu-bar from stealing my binding |
|
|
|
|
|
|
|
|
|
;; prevent the menu-bar from stealing my binding |
|
|
|
|
(advice-add 'menu-bar-enable-clipboard :override (lambda ())) |
|
|
|
|
#+end_src |
|
|
|
|
See [[help:menu-bar-enable-clipboard][here]] for more information about the last line |
|
|
|
|
** Global bindings |
|
|
|
|
Remove some bindings that I find supremely annoying. |
|
|
|
|
Additionally, unbind the ~C-x o~ binding to force me using ~ace-window~ |
|
|
|
|
@ -593,7 +597,6 @@ |
|
|
|
|
(dolist (ch '("C-h C-n" "C-c C-x" "C-x C-r" "C-z" "C-x f" "C-x C-f" "<M-f4>" "C-M-u" "C-M-d" "C-x o" "C-SPC")) |
|
|
|
|
(global-unset-key (kbd ch))) |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
Change {up,down}-list |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(global-set-key (kbd "C-M-i") 'down-list) ;; -i stands for /in/ |
|
|
|
|
|