Update MORE!

This commit is contained in:
Gabriel Arazas 2020-11-02 22:46:43 +08:00
parent 7612ee5c45
commit 1b1ef61eea
12 changed files with 149 additions and 106 deletions

2
.vtsm/nixos-zilch.json Normal file → Executable file
View File

@ -1,5 +1,5 @@
{
"bin": "$HOME/local/bin",
"bin": "$HOME/.local/bin",
"emacs": "$HOME/.config/doom",
"nvim": "$HOME/.config/nvim",
"newsboat": "$HOME/.config/newsboat",

View File

@ -6,7 +6,7 @@
# Dependencies:
# * mktemp - GNU coreutils 8.31
# * wget - GNU Wget 1.20.3 built on linux-gnu
# * wget - GNU Wget 1.20.3
# * sed - GNU sed 4.8
# * awk - GNU Awk 5.0.1
# * rofi - Version: 1.5.4
@ -19,7 +19,7 @@ if [[ ! -f $emoji_file ]]; then
fi
selection=$(awk 'match($0, /([0-9A-F ]+)\s+; fully-qualified\s+# (\S+) E[[:digit:]]+.[[:digit:]]+ (.+)$/, a){print a[2], a[3]}' "$emoji_file" \
| rofi -dmenu -i -fuzzy -p "Choose an emoji to copy." \
| rofi -dmenu -i -matching fuzzy -p "Choose an emoji to copy." \
| awk '{print $1}')
if [ -n "$selection" ]; then

View File

@ -40,7 +40,7 @@ sub kebab_case {
return $string;
}
my $file = $ARGV[0];
my $file = $ARGV[0] ? $ARGV[0] : exit 1;
# Prompt for all the required information.
my $title = prompt "Title of the document?";

View File

@ -26,6 +26,9 @@ readonly date_filename_format="+%F-%H-%M-%S"
# This is useful for exiting out of the whole script even in subshells.
trap 'notify-send "rofi-screenshot-menu has exited" && exit 1' 10
mkdir -p $screenshot_directory
mkdir -p $video_directory
#####################
# UTILITY FUNCTIONS #

View File

@ -67,21 +67,27 @@
(add-to-list 'safe-local-variable-values
'(TeX-command-extra-options . "-shell-escape")))
(setq
; Set the journal.
org-journal-dir "~/writings/journal"
org-journal-file-format "%F"
; Set the capture
org-capture-templates `(
("i" "inbox" entry (file ,(concat org-directory "/inbox.org"))
,(concat "* TODO %?\n"
"entered on %<%F %T %:z>"))
("p" "project" entry (file ,(concat org-directory "/projects.org"))
,(concat "* PROJ %?\n"
"- [ ] %?"))
("c" "org-protocol-capture" entry (file ,(concat org-directory "/inbox.org"))
"* TODO [[%:link][%:description]]\n%x"
:immediate-finish t)))
(after! org
(setq
; Set the journal.
org-journal-dir "~/writings/journal"
org-journal-file-format "%F"
org-capture-templates `(
("i" "inbox" entry (file ,(concat org-directory "/inbox.org"))
,(concat "* TODO %?\n"
"entered on %<%F %T %:z>"))
("c" "org-protocol-capture" entry (file ,(concat org-directory "/inbox.org"))
"* TODO [[%:link][%:description]]\n%x"
:immediate-finish t))
; Set a custom time-stamp pattern.
; Even though, it's not recommended, most of the time, it is mainly for personal documents so it is safe.
time-stamp-start "DATE_MODIFIED:[ ]+\\\\?[\"<]+"
@ -124,8 +130,3 @@
(use-package! org-roam-bibtex
:after-call org-mode
:hook (org-roam-mode . org-roam-bibtex-mode))
; Use a responsive guide.
(use-package! highlight-indent-guides
:init
(setq highlight-indent-guides-responsive 'top))

View File

@ -34,7 +34,7 @@
;;hydra
indent-guides ; highlighted indent columns
modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink the current line after jumping
;;nav-flash ; blink the current line after jumping
;;neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
@ -46,7 +46,7 @@
vi-tilde-fringe ; fringe tildes to mark beyond EOB
;;window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
zen ; distraction-free coding or writing
;;zen ; distraction-free coding or writing
:editor
(evil +everywhere); come to the dark side, we have cookies
@ -76,7 +76,7 @@
vterm ; the best terminal emulation in Emacs
:checkers
syntax ; tasing you for every semicolon you forget
;;syntax ; tasing you for every semicolon you forget
;;spell ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make
@ -84,9 +84,9 @@
;;ansible
(debugger +lsp) ; FIXME stepping through code, to help you add bugs
direnv
docker
;;docker
editorconfig ; let someone else argue about tabs vs spaces
ein ; tame Jupyter notebooks with emacs
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
@ -110,7 +110,7 @@
common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans
csharp ; unity, .NET, and mono shenanigans
data ; config/data formats
(dart +flutter) ; paint ui and not much else
;;elixir ; erlang done right
@ -119,8 +119,9 @@
;;erlang ; an elegant language for a more civilized age
ess ; emacs speaks statistics
;;faust ; dsp, but you get to keep your soul
fsharp ; ML stands for Microsoft's Language
fstar ; (dependent) types and (monadic) effects and Z3
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
gdscript ; the language I waited for
;;(go +lsp) ; the hipster dialect
(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
@ -147,7 +148,7 @@
+roam) ; organize your plain life in plain text
raku ; write code no one else can comprehend
;;php ; perl's insecure younger brother
plantuml ; diagrams for confusing people more
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
python ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever

28
lf/lfrc
View File

@ -57,18 +57,11 @@ cmd open ${{
image/svg+xml) inkscape $fx;;
image/*) sxiv $fx;;
text/*) $EDITOR $fx;;
video/*) mpv $fx;;
video/*|audio/*) mpv $fx;;
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}
# define a custom 'rename' command without prompt for overwrite
cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1
# move current file or selected files to trash folder
# (also see 'man mv' for backup/overwrite options)
cmd trash %set -f; mv $fx ~/.trash
# define a custom 'delete' command
cmd delete ${{
set -f
@ -120,7 +113,6 @@ cmd zip ${{
# file operations
map D delete
map <delete> delete
map r push :rename<space>
# use enter for shell commands
map <enter> shell
@ -133,16 +125,14 @@ map g/ cd /
map x $$f
map X !$f
# dedicated keys for file opener actions
map oo open $f
map oO open --ask $f
# dedicated keys for usual application suite
# feel free to replace this accordingly to your needs
map oz !nvim $f
map ox !code $f
map oc !inkscape $f
map ov !gimp $f
map ob !blender $f
map of !firefox $f
map ob !blender "$f"
map oc !inkscape "$f"
map oe !emacs "$f"
map of !$BROWSER "$f"
map ol !lazygit "$f"
map om !mpv "$f"
map ov !krita "$f"
map oz !nvim "$f"

View File

@ -1,35 +1,62 @@
# All of the unread articles
# Take note it will result in a very slow loading
"query:Unread Articles:unread = \"yes\""
# Blogs
https://alex-hhh.github.io/feeds/all.rss.xml
https://blog.jwf.io/feed/
http://distill.pub/rss.xml
https://euandre.org/feed.blog.en.atom
https://euandre.org/feed.til.en.atom
https://fasterthanli.me/index.xml
https://jcs.org/rss
https://ma.ttias.be/cronweekly/index.xml
https://magnusson.io/index.xml
https://protesilaos.com/codelog.xml
https://venam.nixers.net/blog/feed.xml
https://willschenk.com/feed.xml
https://www.malloc47.com/rss.xml
https://alex-hhh.github.io/feeds/all.rss.xml blog.personal
https://blog.jwf.io/feed/ blog.personal
https://blog.yoshuawuyts.com/rss.xml blog.personal
https://christine.website/blog.atom blog.personal
https://drewdevault.com/blog/index.xml blog.personal
http://distill.pub/rss.xml blog.personal
https://euandre.org/feed.blog.en.atom blog.personal
https://fasterthanli.me/index.xml blog.personal
https://jcs.org/rss blog.personal
https://lukesmith.xyz/rss.xml blog.personal
https://ma.ttias.be/cronweekly/index.xml blog.personal
https://magnusson.io/index.xml blog.personal
https://matienzo.org/posts/index.xml blog.personal
https://protesilaos.com/codelog.xml blog.personal
http://tonsky.me/blog/atom.xml blog.personal
https://venam.nixers.net/blog/feed.xml blog.personal
https://willschenk.com/feed.xml blog.personal
https://www.malloc47.com/rss.xml blog.personal
# Software blogs
https://kde.org/announcements/index.xml blog.software linux
https://guix.gnu.org/feeds/blog.atom blog.software linux
https://web.dev/feed.xml blog.software dev.web
# Articles (they're different from blogs)
https://annoying.technology/index.xml
# Combine all blogs under the blog filter
"query:Blog:tags # \"blog\""
# Subreddits
https://www.reddit.com/r/linux/.rss
https://www.reddit.com/r/math/.rss
https://www.reddit.com/r/programming/.rss
https://www.reddit.com/r/Scholar/.rss
# News
https://www.reddit.com/r/linux/.rss news
https://news.ycombinator.com/rss news
https://weekly.nixos.org/feeds/all.rss.xml news
# Podcasts
https://coder.show/rss
https://fossandcrafts.org/rss-feed-ogg.rss
https://librelounge.org/rss-feed-ogg.rss
https://linuxunplugged.com/rss
https://selfhosted.show/rss
https://feeds.twit.tv/sn.xml
# YouTube subscriptions
https://www.youtube.com/feeds/videos.xml?channel_id=UC-3J5xNrAbTLbU1gN8mMpOA "~Nitro Rad" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC-90KuSWRVLImW4xHWFYMnQ "~Shady Cicada" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC-cY3DcYladGdFQWIKL90SQ "~Jon Ringer" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC-yuWVUplUJZvieEligKBkA "~javidx9" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC-90KuSWRVLImW4xHWFYMnQ "~Shady Cicada" youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UC-cY3DcYladGdFQWIKL90SQ "~Jon Ringer" youtube coding
https://www.youtube.com/feeds/videos.xml?channel_id=UC-yuWVUplUJZvieEligKBkA "~javidx9" youtube coding
https://www.youtube.com/feeds/videos.xml?channel_id=UC1zZE_kJ8rQHgLTVfobLi_g "~The King of Random" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC29ju8bIPH5as8OGnQzwJyA "~Traversy Media" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "~Steve1989MREInfo" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Luke Smith" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC3-0S7vXfwYY2jj5EkMpymA "~Nick Zammeti" youtube
@ -39,14 +66,12 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC6107grRI4m0o2-emgoDnAA "~
https://www.youtube.com/feeds/videos.xml?channel_id=UC6mIxFTvXkWQVEHPsEdflzQ "~GreatScott!" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC6nSFpj9HTCZ5t-N3Rm3-HA "~Vsauce" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC7590VTWe6m0kq3gJcgLINg "~The Taylor Series" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC7c3Kb6jYCRj4JOHHZTxKsQ "~GitHub" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC8ENHE5xdFSwx71u3fDH5Xw "~ThePrimeagen" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC8butISFwT-Wl7EV0hUK0BQ "~freeCodeCamp.org" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC8uT9cgJorJPWu7ITLGo9Ww "~The 8-Bit Guy" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC9-y-6csu5WGm29I7JiwpnA "~Computerphile" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC9Z1XWw1kmnvOOFsj6Bzy2g "~Blackthornprod" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC9Z1XWw1kmnvOOFsj6Bzy2g "~Blackthornprod" youtube coding gamedev
https://www.youtube.com/feeds/videos.xml?channel_id=UC9z7EZAbkphEMg0SP7rw44A "~carykh" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCAuUUnT6oDeKwE6v1NGQxug "~TED" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCBB7sYb14uBtk8UqSQYc9-w "~Steve Ramsey - Woodworking for Mere Mortals" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCBa659QWEk1AI4Tg--mrJ2A "~Tom Scott" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCBlqfZZYQWKyr6qLAB7LINw "~ICTP Postgraduate Diploma Programme" youtube
@ -54,10 +79,9 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCC26K7LTSrJK0BPAUyyvtQg "~
https://www.youtube.com/feeds/videos.xml?channel_id=UCD6VugMZKRhSyzWEWA9W2fg "~SsethTzeentach" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCDrekHmOnkptxq3gUU0IyfA "~Devon Crawford" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEBb1b_L6zDS3xTUrIALZOw "~MIT OpenCourseWare" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEI9wNw9a4cJfejeAU6J2wQ "~LetsSolveMathProblems" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEOXxzW2vU0P-0THehuIIeg "~Captain Disillusion" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEQXp_fcqwPcqrzNtWJ1w9w "~Logos By Nick" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEbYhDd6c6vngsF5PQpFVWg "~Tsoding" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEQXp_fcqwPcqrzNtWJ1w9w "~Logos By Nick" youtube graphics
https://www.youtube.com/feeds/videos.xml?channel_id=UCEbYhDd6c6vngsF5PQpFVWg "~Tsoding" youtube coding
https://www.youtube.com/feeds/videos.xml?channel_id=UCF6F8LdCSWlRwQm_hfA2bcQ "~Coding Math" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCFe6jenM1Bc54qtBsIJGRZQ "~patrickJMT" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCFqaprvZ2K5JOULCvr18NTQ "~How to Adult" youtube
@ -66,16 +90,14 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCGgpthBWDbFX2GSljMw-MdQ "~
https://www.youtube.com/feeds/videos.xml?channel_id=UCHnj59g7jezwTy5GeL8EA_g "~MindYourDecisions" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA "~Veritasium" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCI4I6ldZ0jWe7vXpUVeVcpg "~Household Hacker" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCJHA_jMfCvEnv-3kRjTCQXw "~Binging with Babish" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCJHA_jMfCvEnv-3kRjTCQXw "~Binging with Babish" youtube cooking
https://www.youtube.com/feeds/videos.xml?channel_id=UCJYVW4HVrMWpUvvsjPQc8-Q "~DorianDotSlash" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCK8sQmJBp8GCxrOtXWBpyEA "~Google" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCK9Hl6LXPaooxMTvsOutw3A "~GaMetal" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCKPLvnWhN1Qo51IDDZsmq1g "~SparkFun Electronics" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCLB7AzTwc6VFZrBsO2ucBMg "~Robert Miles" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCLx053rWZxCiYWsBETgdKrQ "~LGR" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCMOqf8ab-42UUQIdVoKwjlQ "~Practical Engineering" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCNepEAWZH0TBu7dkxIbluDw "~Dad, how do I?" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCOPcid5e7WN9T55HCEwZlWg "~BDPAPMEJM" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCOPcid5e7WN9T55HCEwZlWg "~BDPAPMEJM" youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UCORkUj9eaM2aDJM1VYyDDTA "~Sam Hogan" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCQ-W1KE9EYfdxhL6S4twUNw "~The Cherno" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCQWeW0mZYQL-3Boj5iNMw4g "~David Evans" youtube
@ -97,28 +119,26 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCX6b17PVsYBQ0ip5gyeme-Q "~
https://www.youtube.com/feeds/videos.xml?channel_id=UCY1kMZp36IQSyNx_9h4mpCg "~Mark Rober" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCYO_jab_esuFRV4b17AJtAw "~3Blue1Brown" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCYVyyyttdLFyZemFsEyPLCw "~Colanderp" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCZFUrFoqvqlN8seaAeEwjlw "~Grant Abbitt" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCZFUrFoqvqlN8seaAeEwjlw "~Grant Abbitt" youtube 3d-modelling
https://www.youtube.com/feeds/videos.xml?channel_id=UCZYTClx2T1of7BRZ86-8fow "~SciShow" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC_OtnV-9QZmBj6oWBelMoZw "~insaneintherainmusic" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC_SvYP0k05UKiJ_2ndB02IA "~blackpenredpen" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC_SvYP0k05UKiJ_2ndB02IA "~blackpenredpen" youtube math
https://www.youtube.com/feeds/videos.xml?channel_id=UC_iD0xppBwwsrM9DegC5cQQ "~Jon Gjengset" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC_x5XG1OV2P6uZZ5FSM9Ttw "~Google Developers" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCa5tblTbBm09lMEdMblIq-A "~Atmacoustics" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCa5tblTbBm09lMEdMblIq-A "~Atmacoustics" youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UCaTznQhurW5AaiYPbhEA-KA "~Molly Rocket" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCafxR2HWJRmMfSdyZXvZMTw "~LOOK MUM NO COMPUTER" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCaoqVlqPTH78_xjTjTOMcmQ "~Miziziziz" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCbfYPyITQ-7l4upoX8nvctg "~Two Minute Papers" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCbmNph6atAoGfqLoCL_duAg "~Talks at Google" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCcabW7890RKJzL968QWEykA "~CS50" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCdJdEguB1F1CiYe7OEi3SBg "~JonTronShow" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCdmAhiG8HQDlz8uyekw4ENw "~Inigo Quilez" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCeGGpOehPGG7vQMUVc7tG8Q "~Saberspark" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCekQr9znsk2vWxBo3YiLq2w "~You Suck At Cooking" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCekQr9znsk2vWxBo3YiLq2w "~You Suck At Cooking" youtube cooking
https://www.youtube.com/feeds/videos.xml?channel_id=UCerEIdrEW-IqwvlH8lTQUJQ "~Tech Tangents" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCfIqCzQJXvYj9ssCoHq327g "~How To Make Everything" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCfVFSjHQ57zyxajhhRc7i0g "~GameHut" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCfVFSjHQ57zyxajhhRc7i0g "~GameHut" youtube gamedev
https://www.youtube.com/feeds/videos.xml?channel_id=UCfzlCWGWYyIQ0aLC5w48gBQ "~sentdex" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCgmOd6sRQRK7QoSazOfaIjQ "~Emma's Goodies" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCgmOd6sRQRK7QoSazOfaIjQ "~Emma's Goodies" youtube cooking
https://www.youtube.com/feeds/videos.xml?channel_id=UChWv6Pn_zP0rI6lgGt3MyfA "~AvE" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCiLgdNKZCiod7k5nsrUkOJA "~Simply Electronics" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCijjo5gfAscWgNCKFHWm1EA "~Mozilla Hacks" youtube
@ -127,7 +147,6 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCjFaPUcJU1vwk193mnW_w1w "~
https://www.youtube.com/feeds/videos.xml?channel_id=UCjdHbo8_vh3rxQ-875XGkvw "~3DSage" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCkY047vYjF92-8HcoVTXAOg "~Coding Secrets" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCkefXKtInZ9PLsoGRtml2FQ "~Professor Messer" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCkguMCUXro3ZWcYajaTnCbw "~Kyle Eschen" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UClcE-kVhqyiHCcjYwcpfj9w "~LiveOverflow" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UClq42foiSgl7sSpLupnugGA "~D!NG" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCm22FAXZMw1BaWeFszZxUKw "~Kitboga" youtube
@ -138,24 +157,19 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCoHhuummRZaIVX7bD4t2czg "~
https://www.youtube.com/feeds/videos.xml?channel_id=UCodbH5mUeF-m_BsNueRDjcw "~Overly Sarcastic Productions" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCosnWgi3eorc1klEQ8pIgJQ "~Afrotechmods" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCoxcjq-8xIDTYp3uz647V5A "~Numberphile" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCpCSAcbqs-sjEVfk_hMfY9w "~Zach Star" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCq0EGvLTyy-LLT1oUSO_0FQ "~Eddie Woo" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCqJ-Xo29CKyLTjn6z2XwYAw "~Game Maker's Toolkit" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCr-5TdGkKszdbboXXsFZJTQ "~Gamefromscratch" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCrTNhL_yO3tPTdQ5XgmmWjA "~RedLetterMedia" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCrv269YwJzuZL3dH5PCgxUw "~CodeParade" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCsooa4yRKGN_zEE8iknghZA "~TED-Ed" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCtAIs1VCQrymlAnw3mGonhw "~Flammable Maths" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCtXKDgv1AVoG88PLl8nGXmw "~Google TechTalks" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCtAIs1VCQrymlAnw3mGonhw "~Flammable Maths" youtube math
https://www.youtube.com/feeds/videos.xml?channel_id=UCtZO3K2p8mqFwiKWb9k7fXA "~TechAltar" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCtxCXg-UvSnTKPOzLH4wJaQ "~Coding Tech" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCu6mSoMNzHQiBIOCkHUa2Aw "~Cody'sLab" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCv1Kcz-CuGM6mxzL3B1_Eiw "~TLG" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCvjgXvBlbQiydffZU7m1_aw "~The Coding Train" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCwRXb5dUK4cvsHbx-rGzSgw "~Derek Banas" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCvjgXvBlbQiydffZU7m1_aw "~The Coding Train" youtube coding math
https://www.youtube.com/feeds/videos.xml?channel_id=UCxO_ya-RmAXCXJCU54AxYFw "~New Frame Plus" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCxQbYGpbdrh-b2ND-AfIybg "~Maker's Muse" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCxboW7x0jZqFdvMdCFKTMsQ "~GDQuest" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCxqAWLTk1CmBvZFPzeZMd9A "~Domain of Science" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCxzC4EngIsMrPmbm6Nxvb-A "~Scott Manley" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCz6zvgkf6eKpgqlUZQstOtQ "~Bulby" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCz6zvgkf6eKpgqlUZQstOtQ "~Bulby" youtube music

View File

@ -12,6 +12,9 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'arcticicestudio/nord-vim'
Plug 'gruvbox-community/gruvbox'
" EditorConfig plugin
Plug 'editorconfig/editorconfig-vim'
" Colorize common color strings
Plug 'lilydjwg/colorizer'
@ -26,6 +29,9 @@ let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
let g:UltiSnipsEditSplit="context"
" Contains various snippets for UltiSnips.
Plug 'honza/vim-snippets'
" A completion engine.
" I chose this engine since it is linked from UltiSnips.
if has('nvim')
@ -35,15 +41,9 @@ else
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
let g:deoplete#enable_at_startup = 1
" Contains various snippets for UltiSnips.
Plug 'honza/vim-snippets'
" Plugin for auto-saving for each change in the buffer (file).
Plug '907th/vim-auto-save'
let g:auto_save = 1
" One of the most popular plugins.
" Allows to create more substantial status bars.
Plug 'vim-airline/vim-airline'
@ -53,6 +53,10 @@ if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" fzf
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
" A full LaTeX toolchain plugin for Vim.
" Also a must-have for me since writing LaTeX can be a PITA.
" Most of the snippets and workflow is inspired from Gilles Castel's posts (at https://castel.dev/).
@ -99,6 +103,7 @@ call plug#end()
"""""""""""""""""""""""""
" EDITOR CONFIGURATIONS "
"""""""""""""""""""""""""
let mapleader=" "
" Setting the colorscheme
colorscheme nord
@ -133,15 +138,17 @@ map <leader>w :Goyo<Enter>
" Trim all trailing whitespaces.
map <leader>s :%s/\s\+$/<Enter>
" Reload $MYVIMRC.
map <leader>hr :source $MYVIMRC<Enter>
" File explorer toggle.
" Turns out vim (and nvim) has a native file explorer with :Explore.
map <leader>f :Lexplore<Return>:vertical resize 40<Return><C-w><C-w>
map <leader>ff :Lexplore<Return>:vertical resize 40<Return><C-w><C-w>
" Changing style of words.
highlight clear SpellBad
highlight clear SpellLocal
highlight SpellLocal ctermfg=cyan
highlight clear SpellCap

View File

@ -51,7 +51,7 @@ ${1:<url>}[${2:<text>}] $0
endsnippet
snippet link "Link for files" iw
link:${1:<url>}[\`$1\`]
link:${1:<url>}[${2:\`$1\`}]
endsnippet
snippet sp "Superscript" iw

View File

@ -0,0 +1,22 @@
# Text formatting
snippet bf "Boldface" iw
**$1**
endsnippet
snippet tt "Teletype (or monospace text)" iw
\`$1\`
endsnippet
# Content formatting
snippet src "Source code listing" bi
```$1
$2
```
$0
endsnippet
snippet link "Quick link" i
[$1]($2)
endsnippet

View File

@ -5,8 +5,13 @@ super + Return
# A dropdown terminal.
# Requires tmux and tdrop for this to work.
super + shift + Return
tdrop -ma -w -4 -y "$PANEL_HEIGHT" -s dropterm $TERMINAL
tdrop -ma -w -4 -y "$PANEL_HEIGHT" $TERMINAL
# A handy-dandy calculator as a quick dropdown terminal.
tdrop -ma -w -4 -y "$PANEL_HEIGHT" $TERMINAL -e julia
# Quick toggling for screenkey.
# Useful for setting up a demo.
super + t
toggle-process screenkey