Cleanuo comments

master
Jacopo De Simoi 7 months ago
parent 7376fac225
commit cac22318d9
  1. 11
      global.org

@ -13,8 +13,9 @@
** TODO migrate from patching org-mode to a more sustainable option ** 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 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 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" For instance, I want to call kmail in "zero inbox proton"
i can run elisp code...
** DONE improve helm-mu-contacs ** DONE improve helm-mu-contacs
- [ ] Manage ignore list - [ ] Manage ignore list
We can advise ~ helm-mu-contacts-transformer~ and remove the We can advise ~ helm-mu-contacts-transformer~ and remove the
@ -487,6 +488,7 @@
mode-line-format-right)) mode-line-format-right))
#+end_src #+end_src
The following has been found in [[https://www.masteringemacs.org/article/hiding-replacing-modeline-strings][here]] to clean up the modeline 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 #+begin_src emacs-lisp
(defvar mode-line-cleaner-alist (defvar mode-line-cleaner-alist
'() '()
@ -561,7 +563,7 @@
(global-visible-mark-mode t) (global-visible-mark-mode t)
#+end_src #+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 F18 are obtained by tapping the left and right shift respectively
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun jump-to-mark () (defun jump-to-mark ()
@ -582,8 +584,10 @@
("<S-f17>" . just-activate-mark) ("<S-f17>" . just-activate-mark)
("<S-f18>" . 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 #+end_src
See [[help:menu-bar-enable-clipboard][here]] for more information about the last line
** Global bindings ** Global bindings
Remove some bindings that I find supremely annoying. Remove some bindings that I find supremely annoying.
Additionally, unbind the ~C-x o~ binding to force me using ~ace-window~ 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")) (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))) (global-unset-key (kbd ch)))
#+end_src #+end_src
Change {up,down}-list Change {up,down}-list
#+begin_src emacs-lisp #+begin_src emacs-lisp
(global-set-key (kbd "C-M-i") 'down-list) ;; -i stands for /in/ (global-set-key (kbd "C-M-i") 'down-list) ;; -i stands for /in/

Loading…
Cancel
Save