diff --git a/.gitignore b/.gitignore index 4b5ae25..5a0ceba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.un *.un~ -/vim/.vim/plugins/* -/vim/.vim/autoload/* +*/plugins/* +*/autoload/* +*/undo/* *.swp *.netrwhist diff --git a/vim/.vim/blog/Asciinema.md b/vim/.vim/blog/Asciinema.md new file mode 100644 index 0000000..9b4c31f --- /dev/null +++ b/vim/.vim/blog/Asciinema.md @@ -0,0 +1,7 @@ +- [br](https://www.youtube.com/watch?v=Wnyl3mqydOQ&list=PLRjzjpJ02WDPwtQ9gebL3KzEAUVWzC-ib&index=32) + +- `asciinema rec` starts recording +- ctrl-d ends recording +- `asciinema rec -i 2` removes any idle time longer than 2 seconds +- name file ending with `.cast` to prevent asking if upload is desired +- `$ASCIINEMA_UPLOAD_URL` can be used to set a self-hosted asciinema server diff --git a/vim/.vim/blog/Blood_sugar_in_tmux.md b/vim/.vim/blog/Blood_sugar_in_tmux.md new file mode 100644 index 0000000..e69de29 diff --git a/vim/.vim/blog/Drafts.md b/vim/.vim/blog/Drafts.md new file mode 100644 index 0000000..227c87f --- /dev/null +++ b/vim/.vim/blog/Drafts.md @@ -0,0 +1,20 @@ +# Drafts +- Dotfiles +- [Tmux workflow](Tmux_workflow) +- Vim + - Choosing programs over plugins + - Fugitive and Tig + - Bindings and day to day use +- Migrating to lf +- Commandline utilities to keep around +- Building a simple git interface +- [Exploring folding](Exploring_folding) +- [Terminal colors](Terminal_colors) +- [RSS](RSS) +- Gemini +- [Password Manager](Password_Manager) +- [Notifications](Notifications) +- [Asciinema](Asciinema) +- [Self hosted image hosting](Self_hosted_image_hosting) +- [Blood sugar in tmux](Blood_sugar_in_tmux) +- Terminal Color Support diff --git a/vim/.vim/blog/Exploring_folding.md b/vim/.vim/blog/Exploring_folding.md new file mode 100644 index 0000000..6d83a25 --- /dev/null +++ b/vim/.vim/blog/Exploring_folding.md @@ -0,0 +1,2 @@ +# Markdown folding +https://bitcrowd.dev/folding-sections-of-markdown-in-vim diff --git a/vim/.vim/blog/Notifications.md b/vim/.vim/blog/Notifications.md new file mode 100644 index 0000000..0318cd8 --- /dev/null +++ b/vim/.vim/blog/Notifications.md @@ -0,0 +1 @@ +LibNotify diff --git a/vim/.vim/blog/Password_Manager.md b/vim/.vim/blog/Password_Manager.md new file mode 100644 index 0000000..6bdc913 --- /dev/null +++ b/vim/.vim/blog/Password_Manager.md @@ -0,0 +1 @@ +[dmenu bitwarden](https://www.youtube.com/watch?v=TK6CUaFPSmQ&list=PLRjzjpJ02WDPwtQ9gebL3KzEAUVWzC-ib&index=104) diff --git a/vim/.vim/blog/RSS.md b/vim/.vim/blog/RSS.md new file mode 100644 index 0000000..4725dae --- /dev/null +++ b/vim/.vim/blog/RSS.md @@ -0,0 +1,2 @@ +https://www.youtube.com/watch?v=cpw56d4rUVg&list=PLRjzjpJ02WDPwtQ9gebL3KzEAUVWzC-ib&index=177 +- youtube, peertube, reddit, rss diff --git a/vim/.vim/blog/Taskwarrior.md b/vim/.vim/blog/Taskwarrior.md new file mode 100644 index 0000000..684a94a --- /dev/null +++ b/vim/.vim/blog/Taskwarrior.md @@ -0,0 +1,27 @@ +# Using vit: +- a: add task +- A: annotate task +- task description project:projectname depends:id# +- e: edit task in `$EDITOR` + +# colors: +- `include dark-yellow-green.theme` +``` +color.project.unraid=yellow +color.project.workflow=green +color.project.home=color5 # purple +color.project.renovation=blue +``` +- get colors with `task color` + +# handle 'subtasks' through annotations +- see annotations using `:long` +- get old view back with :list +- `vit list` to get just the list at startup after adding annotations + +# rapidly add similar tasks using history +- `Add: project:aws depends:37` + new task desc multiple times, etc + +# Taskwarrior quirks +- Urgency is usually a function of blockers + priority, you might find that + high priority doesn't put a task over one that blocks many others diff --git a/vim/.vim/blog/Terminal_colors.md b/vim/.vim/blog/Terminal_colors.md new file mode 100644 index 0000000..be79c2d --- /dev/null +++ b/vim/.vim/blog/Terminal_colors.md @@ -0,0 +1,5 @@ + + +[Link1](https://www.youtube.com/watch?v=1HPo4VvI6dA) +[Link2](https://github.com/chriskempson/base16-vim) +[Link3](https://www.youtube.com/watch?v=1bwGbb4VTaU) diff --git a/vim/.vim/blog/Tmux_workflow.md b/vim/.vim/blog/Tmux_workflow.md new file mode 100644 index 0000000..f25a23e --- /dev/null +++ b/vim/.vim/blog/Tmux_workflow.md @@ -0,0 +1,34 @@ +tmux popup containing how2 +tmux popup and close +tmux popup containing interpreter for language being edited +tmux jira popup +tmux tig popup? +tmux choose session in a popup + +[popups video](https://www.youtube.com/watch?v=2I8fB28zfB4&list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr&index=1) +[floating popups](https://www.youtube.com/watch?v=2ZqFDsJywt8&list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr&index=2) + +bind small popup, large popup +bind popups in new session to have access across projects + +``` +# open a popup scratchpad +bind -n M-g display-popup -E "tmux new-session -A -s scratch" +# open my blog in a scratchpad +bind -n M-I popup -E -h 95% -w 95% -x 100% "tmux new-session -A -s waylonwalker_com 'cd ~/git/waylonwalker.com/ && nvim'" +``` + +use ctrl+caps (alt?) bindings for tmux + +``` +# Next / prev session +bind -n M-P switch-client -p +bind -n M-N switch-client -n +``` + +# Copy mode +- `prefix + [` +- start/end selection with space, enter to copy + +# Session Selection +- `prefix + s` diff --git a/vim/.vim/blog/index.md b/vim/.vim/blog/index.md new file mode 100644 index 0000000..9dbc0d5 --- /dev/null +++ b/vim/.vim/blog/index.md @@ -0,0 +1,3 @@ +# Blog +- Articles +- [Drafts](Drafts) diff --git a/vim/.vim/home/index.md b/vim/.vim/home/index.md new file mode 100644 index 0000000..732d4d5 --- /dev/null +++ b/vim/.vim/home/index.md @@ -0,0 +1,4 @@ +# Website stuff to do +- Implement keane.sh (maybe just use gotty) +- Build simple git interface +- Implement blog diff --git a/vim/.vim/work/ React notes .md b/vim/.vim/work/ React notes .md new file mode 100644 index 0000000..e69de29 diff --git a/vim/.vim/work/RWA_notes.md b/vim/.vim/work/RWA_notes.md new file mode 100644 index 0000000..c23df9f --- /dev/null +++ b/vim/.vim/work/RWA_notes.md @@ -0,0 +1,2 @@ +# API Flow +- api/courses.ts -> courseService.ts -> diff --git a/vim/.vim/work/index.md b/vim/.vim/work/index.md new file mode 100644 index 0000000..ae01614 --- /dev/null +++ b/vim/.vim/work/index.md @@ -0,0 +1,29 @@ +# Work wiki +- [[ React notes ]] +- [[ DevOps Processes ]] +- [RWA notes](RWA_notes) + +# General Notes +- `ws` to choose your wiki + +# Newcomers +- vim-rest-console +- vim-ripgrep +- vim-ranger +- vim-bbye + +# Wiki usage +- `ww` :: Open default wiki index file. +- `ws` :: Select and open wiki index file. +- `wd` :: Delete wiki file you are in. +- `wr` :: Rename wiki file you are in. +- `` :: Follow/Create wiki link. +- `` :: Split and follow/create wiki link. +- `` :: Vertical split and follow/create wiki link. +- `` :: Go back to parent(previous) wiki link. +- `` :: Find next wiki link. +- `` :: Find previous wiki link. + +# Need post on +- cheat.sh and competitors +- vim-rest-console