using nu in vterm and some lil mu updates
This commit is contained in:
		
							parent
							
								
									dda390450e
								
							
						
					
					
						commit
						50d9ded24c
					
				
					 2 changed files with 12 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -4168,13 +4168,14 @@ Ledger mode
 | 
			
		|||
          (:maildir "/office/Inbox"                  :key ?w)
 | 
			
		||||
          (:maildir "/office/Junk Email"             :key ?j)
 | 
			
		||||
          (:maildir "/office/INBOX/Website Forms"    :key ?f)
 | 
			
		||||
          (:maildir "/office/Inbox/Money"            :key ?m)
 | 
			
		||||
          (:maildir "/office/Sent Items"             :key ?s)))
 | 
			
		||||
 | 
			
		||||
  ;; (add-to-list mu4e-headers-actions ("org capture message" . mu4e-org-store-and-capture))
 | 
			
		||||
 | 
			
		||||
  (setq mu4e-bookmarks
 | 
			
		||||
        '((:name "Unread messages"
 | 
			
		||||
                 :query "flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" AND NOT maildir:\"/cochrun/Junk\" AND NOT flag:list"
 | 
			
		||||
                 :query "flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\"0 AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/office/INBOX/Website Forms\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" AND NOT maildir:\"/cochrun/Junk\" AND NOT flag:list"
 | 
			
		||||
                 :key 117)
 | 
			
		||||
          (:name "Today's messages"
 | 
			
		||||
                 :query "date:today..now"
 | 
			
		||||
| 
						 | 
				
			
			@ -4187,7 +4188,7 @@ Ledger mode
 | 
			
		|||
                 :query "mime:image/*"
 | 
			
		||||
                 :key 112)
 | 
			
		||||
          (:name "Lists"
 | 
			
		||||
                 :query "flag:list"
 | 
			
		||||
                 :query "flag:list AND NOT flag:trashed"
 | 
			
		||||
                 :key 108)))
 | 
			
		||||
 | 
			
		||||
  (setq
 | 
			
		||||
| 
						 | 
				
			
			@ -4243,6 +4244,8 @@ Ledger mode
 | 
			
		|||
    :states 'normal
 | 
			
		||||
    :keymaps 'override
 | 
			
		||||
    "om" 'mu4e)
 | 
			
		||||
  (general-def 'normal mu4e-headers-mode-map
 | 
			
		||||
    "f" 'mu4e-headers-mark-for-flag)
 | 
			
		||||
  (general-def 'normal mu4e-view-mode-map
 | 
			
		||||
    "ga" 'mu4e-view-save-attachments
 | 
			
		||||
    "q" 'mu4e-view-quit))
 | 
			
		||||
| 
						 | 
				
			
			@ -4584,7 +4587,7 @@ Emulate a terminal
 | 
			
		|||
** Vterm
 | 
			
		||||
#+begin_src emacs-lisp
 | 
			
		||||
(setq vterm-buffer-name-string "vterm %s"
 | 
			
		||||
      vterm-shell "/run/current-system/sw/bin/zsh")
 | 
			
		||||
      vterm-shell "/run/current-system/sw/bin/nu")
 | 
			
		||||
(defun chris/vterm-setup ()
 | 
			
		||||
  "Setup vterm with my preferred settings"
 | 
			
		||||
  (display-line-numbers-mode -1))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										25
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -3025,13 +3025,14 @@ targets."
 | 
			
		|||
          (:maildir "/office/Inbox"                  :key ?w)
 | 
			
		||||
          (:maildir "/office/Junk Email"             :key ?j)
 | 
			
		||||
          (:maildir "/office/INBOX/Website Forms"    :key ?f)
 | 
			
		||||
          (:maildir "/office/Inbox/Money"            :key ?m)
 | 
			
		||||
          (:maildir "/office/Sent Items"             :key ?s)))
 | 
			
		||||
 | 
			
		||||
  ;; (add-to-list mu4e-headers-actions ("org capture message" . mu4e-org-store-and-capture))
 | 
			
		||||
 | 
			
		||||
  (setq mu4e-bookmarks
 | 
			
		||||
        '((:name "Unread messages"
 | 
			
		||||
                 :query "flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" AND NOT maildir:\"/cochrun/Junk\" AND NOT flag:list"
 | 
			
		||||
                 :query "flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\"0 AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/office/INBOX/Website Forms\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" AND NOT maildir:\"/cochrun/Junk\" AND NOT flag:list"
 | 
			
		||||
                 :key 117)
 | 
			
		||||
          (:name "Today's messages"
 | 
			
		||||
                 :query "date:today..now"
 | 
			
		||||
| 
						 | 
				
			
			@ -3044,7 +3045,7 @@ targets."
 | 
			
		|||
                 :query "mime:image/*"
 | 
			
		||||
                 :key 112)
 | 
			
		||||
          (:name "Lists"
 | 
			
		||||
                 :query "flag:list"
 | 
			
		||||
                 :query "flag:list AND NOT flag:trashed"
 | 
			
		||||
                 :key 108)))
 | 
			
		||||
 | 
			
		||||
  (setq
 | 
			
		||||
| 
						 | 
				
			
			@ -3100,6 +3101,8 @@ targets."
 | 
			
		|||
    :states 'normal
 | 
			
		||||
    :keymaps 'override
 | 
			
		||||
    "om" 'mu4e)
 | 
			
		||||
  (general-def 'normal mu4e-headers-mode-map
 | 
			
		||||
    "f" 'mu4e-headers-mark-for-flag)
 | 
			
		||||
  (general-def 'normal mu4e-view-mode-map
 | 
			
		||||
    "ga" 'mu4e-view-save-attachments
 | 
			
		||||
    "q" 'mu4e-view-quit))
 | 
			
		||||
| 
						 | 
				
			
			@ -3369,7 +3372,7 @@ targets."
 | 
			
		|||
  (add-hook 'eshell-load-hook #'eat-eshell-mode))
 | 
			
		||||
 | 
			
		||||
(setq vterm-buffer-name-string "vterm %s"
 | 
			
		||||
      vterm-shell "/run/current-system/sw/bin/zsh")
 | 
			
		||||
      vterm-shell "/run/current-system/sw/bin/nu")
 | 
			
		||||
(defun chris/vterm-setup ()
 | 
			
		||||
  "Setup vterm with my preferred settings"
 | 
			
		||||
  (display-line-numbers-mode -1))
 | 
			
		||||
| 
						 | 
				
			
			@ -3976,19 +3979,3 @@ interfere with the default `bongo-playlist-buffer'."
 | 
			
		|||
        gcmh-verbose nil))
 | 
			
		||||
 | 
			
		||||
(setq warning-suppress-types '((comp)))
 | 
			
		||||
(custom-set-variables
 | 
			
		||||
 ;; custom-set-variables was added by Custom.
 | 
			
		||||
 ;; If you edit it by hand, you could mess it up, so be careful.
 | 
			
		||||
 ;; Your init file should contain only one such instance.
 | 
			
		||||
 ;; If there is more than one, they won't work right.
 | 
			
		||||
 '(pdf-misc-print-program-args
 | 
			
		||||
   '("-o media=Letter" "-o fitplot" "-o sides=two-sided-long-edge"))
 | 
			
		||||
 '(pdf-misc-print-program-executable "lpr")
 | 
			
		||||
 '(safe-local-variable-values '((rustic-rustfmt-args . "--edition 2021"))))
 | 
			
		||||
(custom-set-faces
 | 
			
		||||
 ;; custom-set-faces was added by Custom.
 | 
			
		||||
 ;; If you edit it by hand, you could mess it up, so be careful.
 | 
			
		||||
 ;; Your init file should contain only one such instance.
 | 
			
		||||
 ;; If there is more than one, they won't work right.
 | 
			
		||||
 '(markdown-code-face ((t (:inherit org-block))))
 | 
			
		||||
 '(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue