Update my config and add Starship

This commit is contained in:
Gabriel Arazas 2021-01-14 01:10:31 +08:00
parent d6dbc20746
commit b60debfabd
8 changed files with 22 additions and 10 deletions

View File

@ -5,5 +5,6 @@
"nyxt": "$HOME/.config/nyxt", "nyxt": "$HOME/.config/nyxt",
"newsboat": "$HOME/.config/newsboat", "newsboat": "$HOME/.config/newsboat",
"rofi": "$HOME/.config/rofi", "rofi": "$HOME/.config/rofi",
"starship": "$HOME/.config",
"slop": "$HOME/.config/slop" "slop": "$HOME/.config/slop"
} }

View File

@ -29,7 +29,8 @@
;; If you use `org' and don't want your org files in the default location below, ;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads! ;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/writings/orgnotes") (setq org-directory "~/writings/orgnotes"
org-roam-directory "~/writings/wiki")
;; 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
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.
@ -93,7 +94,6 @@
time-stamp-start "DATE_MODIFIED:[ ]+\\\\?[\"<]+" time-stamp-start "DATE_MODIFIED:[ ]+\\\\?[\"<]+"
; Configure org-roam. ; Configure org-roam.
org-roam-directory "~/writings/wiki"
org-roam-capture-templates '( org-roam-capture-templates '(
("d" "default" plain (function org-roam--capture-get-point) ("d" "default" plain (function org-roam--capture-get-point)
"#+AUTHOR: \"%(user-full-name)\" "#+AUTHOR: \"%(user-full-name)\"
@ -121,10 +121,6 @@
(add-to-list 'org-modules 'org-checklist) (add-to-list 'org-modules 'org-checklist)
; Activate minimap for all program-based modes (e.g., web-mode, python-mode) and text-based modes (e.g., org-mode, markdown-mode).
(after! minimap
(setq minimap-major-modes '(prog-mode text-mode org-mode)))
; Org-roam-bibtex is somehow a horrible name. ; Org-roam-bibtex is somehow a horrible name.
; I guess that's why they insist on calling it ORB. ; I guess that's why they insist on calling it ORB.
(use-package! org-roam-bibtex (use-package! org-roam-bibtex

View File

@ -52,7 +52,7 @@
(evil +everywhere); come to the dark side, we have cookies (evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding fold ; (nigh) universal code folding
;;(format +onsave) ; automated prettiness format ; automated prettiness
;;god ; run Emacs commands without modifier keys ;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim ;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once ;;multiple-cursors ; editing in many places at once
@ -76,7 +76,7 @@
vterm ; the best terminal emulation in Emacs vterm ; the best terminal emulation in Emacs
:checkers :checkers
;;syntax ; tasing you for every semicolon you forget syntax ; tasing you for every semicolon you forget
;;spell ; tasing you for misspelling mispelling ;;spell ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make ;;grammar ; tasing grammar mistake every you make

View File

@ -56,8 +56,11 @@
:recipe (:host github :recipe (:host github
:repo "org-roam/org-roam-bibtex")) :repo "org-roam/org-roam-bibtex"))
; Since org-roam-bibtex is a connector to all of the specified packages and in alpha stage, it can be problematic so we'll disable it for now. ;; Inline errors? Hoorah!
(unpin! org-roam company-org-roam) (package! flycheck-inline)
;; Since org-roam-bibtex is a connector to all of the specified packages and in alpha stage, it can be problematic so we'll disable it for now.
;(unpin! org-roam company-org-roam)
; A minimap in case you have Stockholm Syndrome for your bloated IDEs. :) ; A minimap in case you have Stockholm Syndrome for your bloated IDEs. :)
(package! minimap (package! minimap

View File

@ -25,3 +25,4 @@ bind-key d pagedown
bind-key r reload-all bind-key r reload-all
bind-key R reload bind-key R reload
reload-threads 50

View File

@ -24,6 +24,8 @@ http://tonsky.me/blog/atom.xml blog.personal
https://venam.nixers.net/blog/feed.xml blog.personal https://venam.nixers.net/blog/feed.xml blog.personal
https://willschenk.com/feed.xml blog.personal https://willschenk.com/feed.xml blog.personal
https://www.malloc47.com/rss.xml blog.personal https://www.malloc47.com/rss.xml blog.personal
https://www.copetti.org/index.xml blog.personal computer.architecture
https://www.agwa.name/blog/feed blog.personal computer.security
https://www.davidrevoy.com/feed/rss blog.personal art https://www.davidrevoy.com/feed/rss blog.personal art

2
starship/starship.toml Normal file
View File

@ -0,0 +1,2 @@
# Use custom format
add_newline = false

View File

@ -121,3 +121,10 @@ super + {Up,Down,Left,Right}
super + shift {Up,Down,Left,Right} super + shift {Up,Down,Left,Right}
bspc node {north,south,west,east} --swap focused --follow bspc node {north,south,west,east} --swap focused --follow
# The Vim keybindings.
super + {k,j,h,l}
bspc node {north,south,west,east} --focus
super + shift {k,j,h,l}
bspc node {north,south,west,east} --swap focused --follow