Compare commits
5 Commits
e56e405cf1
...
22dbc46233
Author | SHA1 | Date | |
---|---|---|---|
22dbc46233 | |||
339b0fd6d0 | |||
6ad008b9b9 | |||
a7f793b025 | |||
5a6b1fe9cb |
10
README.org
10
README.org
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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"))))
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user