mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Compare commits
No commits in common. "fb7e67dbf8e06db80b486513728bc3cd44e8116d" and "a7dd41eb2ce02d189aa1b886b31cfdbde7aa9cfe" have entirely different histories.
fb7e67dbf8
...
a7dd41eb2c
|
@ -78,8 +78,7 @@ c.url.searchengines = {'DEFAULT': 'https://startpage.com/do/search?query={}',
|
||||||
'gh' : 'https://github.com/search?q={}&type=repositories',
|
'gh' : 'https://github.com/search?q={}&type=repositories',
|
||||||
'gl' : 'https://gitlab.com/search?search={}&nav_source=navbar',
|
'gl' : 'https://gitlab.com/search?search={}&nav_source=navbar',
|
||||||
'np' : 'https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20{}&type=code',
|
'np' : 'https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20{}&type=code',
|
||||||
'wk' : 'https://en.wikipedia.org/w/index.php?fulltext=1&search={}&title=Special%3ASearch&ns0=1',
|
'wk' : 'https://en.wikipedia.org/w/index.php?fulltext=1&search={}&title=Special%3ASearch&ns0=1'
|
||||||
'th' : 'https://www.thingiverse.com/search?q={}&page=1'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config.set('completion.open_categories',["searchengines","quickmarks","bookmarks"])
|
config.set('completion.open_categories',["searchengines","quickmarks","bookmarks"])
|
||||||
|
|
|
@ -1338,17 +1338,14 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
|
||||||
;; ))
|
;; ))
|
||||||
;;(mu4e-context-switch t "example1")
|
;;(mu4e-context-switch t "example1")
|
||||||
|
|
||||||
|
(org-msg-mode 0)
|
||||||
|
|
||||||
;; https://emacs.stackexchange.com/questions/3061/how-to-stop-mu4e-from-inserting-line-breaks
|
;; https://emacs.stackexchange.com/questions/3061/how-to-stop-mu4e-from-inserting-line-breaks
|
||||||
(defun no-auto-fill ()
|
(defun no-auto-fill ()
|
||||||
"Turn off auto-fill-mode."
|
"Turn off auto-fill-mode."
|
||||||
(auto-fill-mode -1))
|
(auto-fill-mode -1))
|
||||||
|
|
||||||
(defun no-org-msg-mode ()
|
|
||||||
"Disable org-msg-mode since it doesn't respect multiline emails"
|
|
||||||
(org-msg-mode 0))
|
|
||||||
|
|
||||||
(add-hook 'mu4e-compose-mode-hook #'no-auto-fill)
|
(add-hook 'mu4e-compose-mode-hook #'no-auto-fill)
|
||||||
(add-hook 'mu4e-compose-pre-hook #'no-org-msg-mode)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
;; TODO fix my make-mu4e-context wrapper
|
;; TODO fix my make-mu4e-context wrapper
|
||||||
|
|
|
@ -1561,17 +1561,14 @@ I don't have this active right now since it's kinda weird with pgtk...
|
||||||
;; ))
|
;; ))
|
||||||
;;(mu4e-context-switch t "example1")
|
;;(mu4e-context-switch t "example1")
|
||||||
|
|
||||||
|
(org-msg-mode 0)
|
||||||
|
|
||||||
;; https://emacs.stackexchange.com/questions/3061/how-to-stop-mu4e-from-inserting-line-breaks
|
;; https://emacs.stackexchange.com/questions/3061/how-to-stop-mu4e-from-inserting-line-breaks
|
||||||
(defun no-auto-fill ()
|
(defun no-auto-fill ()
|
||||||
"Turn off auto-fill-mode."
|
"Turn off auto-fill-mode."
|
||||||
(auto-fill-mode -1))
|
(auto-fill-mode -1))
|
||||||
|
|
||||||
(defun no-org-msg-mode ()
|
|
||||||
"Disable org-msg-mode since it doesn't respect multiline emails"
|
|
||||||
(org-msg-mode 0))
|
|
||||||
|
|
||||||
(add-hook 'mu4e-compose-mode-hook #'no-auto-fill)
|
(add-hook 'mu4e-compose-mode-hook #'no-auto-fill)
|
||||||
(add-hook 'mu4e-compose-pre-hook #'no-org-msg-mode)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
;; TODO fix my make-mu4e-context wrapper
|
;; TODO fix my make-mu4e-context wrapper
|
||||||
|
|
Loading…
Reference in a new issue