Compare commits

..

5 Commits

4 changed files with 22 additions and 18 deletions

View File

@ -35,9 +35,15 @@
To enable directory tracking in vterm, put this in =.zshrc=
#+BEGIN_SRC
function chpwd() {
print -Pn "\e]51;$(pwd)\e\\";
vterm_printf(){
printf "\e]%s\e\\" "$1"
}
vterm_prompt_end() {
vterm_printf "51;A$(whoami)@$(hostname):$(pwd)";
}
setopt PROMPT_SUBST
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
#+END_SRC
* Installation

View File

@ -533,8 +533,7 @@
(current-buffer)))
(use-package impatient-mode
:hook ((markdown-mode . (lambda () (setq imp-user-filter
'markdown-html)))))
:hook ((markdown-mode . (lambda () (imp-set-user-filter 'markdown-html)))))
;; -----------------------------------------------------------------------------------------------
;; `pdf-tools' - use instead of DocView.

View File

@ -209,7 +209,9 @@
(rust-new-project project-name "lib"))
(use-package rust-mode
:hook (rust-mode . lsp)
;; Adding the lsp hook this way is required to ensure local variables from .dir-locals.el are
;; passed to the LSP server.
:hook ((hack-local-variables . (lambda () (when (derived-mode-p 'rust-mode) (lsp)))))
:config
(setq exec-path (append exec-path '("/home/wojtek/.cargo/bin"))))

View File

@ -69,7 +69,9 @@
;; Catch edits in invisible areas (space after the ellipsis ...)
org-catch-invisible-edits 'error
;; Don't warn about deadlines - they're pretty visible as is
org-deadline-warning-days 0)
org-deadline-warning-days 0
;; Do not apply a special font to DONE headlines.
org-fontify-done-headline nil)
(setq org-agenda-prefix-format '((agenda . " %i %?-12t% s %b")
(todo . " %i %-48b")
@ -92,7 +94,12 @@
(setq org-todo-keyword-faces (quote (("NEXT" :foreground "#96DEFA" :weight bold)
("WAIT" :foreground "#798A9B" :weight bold)
("HOLD" :foreground "#798A9B" :weight bold))))
("HOLD" :foreground "#798A9B" :weight bold)
;; For music collection files.
("WISH" :foreground "#FFEE99" :weight bold)
("MPEG" :foreground "#CCCCFF" :weight bold)
("DISC" :foreground "#96DEFA" :weight bold)
("DROP" :foreground "#798A9B" :weight bold))))
;; ---------------------------------------------------------------------------------------------
;; Better bullet points.
@ -109,17 +116,7 @@
;; LaTeX font size.
;; ---------------------------------------------------------------------------------------------
(plist-put org-format-latex-options :scale 2.0)
;; ---------------------------------------------------------------------------------------------
;; Setup agenda and capture files.
;; ---------------------------------------------------------------------------------------------
(setq
;; File for org-capture
org-default-notes-file "~/Workspace/notes.org"
;; Org-agenda files
org-agenda-files '("~/Workspace/agenda.org")))
(plist-put org-format-latex-options :scale 2.0))
;; -----------------------------------------------------------------------------------------------
;; Better header bullets