Cleaning up.
This commit is contained in:
parent
2a61c4f4bd
commit
29c8f990a0
@ -27,11 +27,11 @@ URxvt*loginShell: false
|
|||||||
!URxvt*termName: screen-256color
|
!URxvt*termName: screen-256color
|
||||||
|
|
||||||
{{- if (or (eq .chezmoi.hostname "nielanjo") (eq .chezmoi.hostname "jnielandt") (eq .chezmoi.hostname "zaptorjezus")) }}
|
{{- if (or (eq .chezmoi.hostname "nielanjo") (eq .chezmoi.hostname "jnielandt") (eq .chezmoi.hostname "zaptorjezus")) }}
|
||||||
URxvt.font: xft:Fura Code Nerd Font Mono:size=10:antialias=true
|
URxvt.font: xft:Hasklug Nerd Font Mono:size=10:antialias=true
|
||||||
URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=10
|
URxvt.boldfont: xft:Hasklug Nerd Font Mono:bold:size=10
|
||||||
{{- else }}
|
{{- else }}
|
||||||
URxvt.font: xft:Fura Code Nerd Font Mono:size=8:antialias=true
|
URxvt.font: xft:Hasklug Nerd Font Mono:size=8:antialias=true
|
||||||
URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=8
|
URxvt.boldfont: xft:Hasklug Nerd Font Mono:bold:size=8
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
! Give us a nice cursor then
|
! Give us a nice cursor then
|
||||||
|
|||||||
@ -40,8 +40,10 @@
|
|||||||
;; (setq doom-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
|
;; (setq doom-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
|
||||||
;; doom-unicode-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
|
;; doom-unicode-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
|
||||||
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
|
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
|
||||||
(setq doom-font (font-spec :family "FiraCode Nerd Font Mono")
|
;;
|
||||||
doom-unicode-font (font-spec :family "FiraCode Nerd Font Mono")
|
;; (font-spec :family "Fira Sans") ; nice, but not mono
|
||||||
|
(setq doom-font (font-spec :family "Hasklug Nerd Font")
|
||||||
|
doom-unicode-font (font-spec :family "Hasklug Nerd Font Mono")
|
||||||
doom-variable-pitch-font (font-spec :family "Fira Sans"))
|
doom-variable-pitch-font (font-spec :family "Fira Sans"))
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
@ -114,8 +116,52 @@
|
|||||||
"#+title: ${title}\n#+created: %U\n#+filetags: meeting\n\n")
|
"#+title: ${title}\n#+created: %U\n#+filetags: meeting\n\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
))
|
))
|
||||||
|
|
||||||
; adapt indentation in org files for _all_ lines (headings and content)
|
; adapt indentation in org files for _all_ lines (headings and content)
|
||||||
(setq org-adapt-indentation t))
|
(setq org-adapt-indentation t)
|
||||||
|
|
||||||
|
; found these here https://lucidmanager.org/productivity/ricing-org-mode/
|
||||||
|
(setq org-startup-indented t
|
||||||
|
org-pretty-entities t
|
||||||
|
org-hide-emphasis-markers t
|
||||||
|
org-startup-with-inline-images t
|
||||||
|
org-image-actual-width '(300))
|
||||||
|
)
|
||||||
|
|
||||||
|
; enable org-download
|
||||||
|
; https://github.com/abo-abo/org-download
|
||||||
|
(require 'org-download)
|
||||||
|
; configure org-download
|
||||||
|
(after! org-download
|
||||||
|
(setq-default org-download-image-dir "~/org-roam/images")
|
||||||
|
;; Drag-and-drop to `dired`
|
||||||
|
(add-hook 'dired-mode-hook 'org-download-enable))
|
||||||
|
|
||||||
|
; TODO should use (concat (file-name-as-directory dirfile) relfile)
|
||||||
|
|
||||||
; enable chezmoi
|
; enable chezmoi
|
||||||
(use-package chezmoi)
|
(use-package chezmoi)
|
||||||
|
|
||||||
|
; make sure image previews have sane default widths
|
||||||
|
(setq org-image-actual-width (truncate (* (window-pixel-width) 0.8)))
|
||||||
|
|
||||||
|
; https://github.com/ryuslash/git-auto-commit-mode
|
||||||
|
(use-package! git-auto-commit-mode
|
||||||
|
:config
|
||||||
|
(setq-default gac-debounce-interval 300)
|
||||||
|
(setq-default gac-automatically-push-p t))
|
||||||
|
|
||||||
|
; make sure appear-mode is enabled in org-mode
|
||||||
|
(add-hook! org-mode :append #'org-appear-mode)
|
||||||
|
|
||||||
|
;; Nice bullets
|
||||||
|
(use-package! org-superstar
|
||||||
|
:config
|
||||||
|
(setq org-superstar-special-todo-items t)
|
||||||
|
; alternatives: ? ? ? ? ?
|
||||||
|
(setq org-superstar-headline-bullets-list '(? ? ? ?))
|
||||||
|
(add-hook 'org-mode-hook (lambda ()
|
||||||
|
(org-superstar-mode 1))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -63,3 +63,13 @@
|
|||||||
(package! chezmoi)
|
(package! chezmoi)
|
||||||
; powershell support
|
; powershell support
|
||||||
(package! powershell)
|
(package! powershell)
|
||||||
|
; enable image handling in org mode
|
||||||
|
(package! org-download)
|
||||||
|
; org-ql for clever orgmode searches
|
||||||
|
(package! org-ql)
|
||||||
|
; auto commit to git
|
||||||
|
(package! git-auto-commit-mode)
|
||||||
|
; make emphasis markers appear when cursor is close
|
||||||
|
(package! org-appear)
|
||||||
|
; nice bullets
|
||||||
|
(package! org-superstar)
|
||||||
|
|||||||
@ -73,7 +73,8 @@ focus_wrapping no
|
|||||||
|
|
||||||
# font pango:DejaVu Sans Mono 8
|
# font pango:DejaVu Sans Mono 8
|
||||||
# font xft:Fantasque Sans Mono 9
|
# font xft:Fantasque Sans Mono 9
|
||||||
font xft:FuraCode Nerd Font 8
|
# font xft:FuraCode Nerd Font 8
|
||||||
|
font xft:Hasklug Nerd Font 8
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|||||||
@ -83,7 +83,8 @@ padding-right = 5
|
|||||||
;font-0 = "Wuncon Siji:pixelsize=15;1"
|
;font-0 = "Wuncon Siji:pixelsize=15;1"
|
||||||
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1"
|
;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1"
|
||||||
font-0 = FuraCode Nerd Font:pixelsize=11;1
|
;font-0 = FuraCode Nerd Font:pixelsize=11;1
|
||||||
|
font-0 = Hasklug Nerd Font Mono:pixelsize=11;1
|
||||||
;font-1 = Siji:style=Regular:pixelsize=11
|
;font-1 = Siji:style=Regular:pixelsize=11
|
||||||
font-1 = Siji:pixelsize=14;0
|
font-1 = Siji:pixelsize=14;0
|
||||||
; override pointers
|
; override pointers
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
set guifont=FuraCode\ Nerd\ Font\ 11
|
set guifont=Hasklug\ Nerd\ Font\ 11
|
||||||
|
|
||||||
" set up the color scheme
|
" set up the color scheme
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user