Stupid VS Code Vim Tricks
Still trying my experiment with using Dendron in VS Code as part of some sort of public second brain. Honestly I don’t know how long that’ll last, so I figure better share the fun stuff I learn here too.
Anyways this afternoon I installed the Vim extension for VS Code and learned just enough about custom keybindings to add a few.
settings.json
{
"vim.leader": "<space>",
"vim.normalModeKeyBindings": [
{
"before": ["<leader>", "t", "l"],
"commands": ["workbench.action.toggleSidebarVisibility"]
},
{
"before": ["<leader>", "t", "r"],
"commands": ["workbench.action.toggleAuxiliaryBar"]
},
{
"before": ["<leader>", "t", "t"],
"commands": ["workbench.action.toggleLightDarkThemes"]
}
]
}
vim.leaderis handy as a prefix for extended custom bindings in Vim; I prefer the spacebar as my leader<leader> t ltoggles my left sidebar<leader> t rtoggles my right sidebar<leader> t ttoggles between light and dark theme
These bindings look and work very similar to some Logseq default bindings. That’s no accident. I like those bindings.
Activity Log
hackers.town: 2023-03-20 Mon 08:41
XFinity outage reminding me why local-first notes are a good thing.
hackers.town: 2023-03-20 Mon 11:29
@bitprophet I’ve been seeing folks do Notion-style dashboards with Obsidian Canvas and Dataview. It all sounds needlessly complex and therefore I must try it.
hackers.town: 2023-03-20 Mon 11:30
@mikaeleiman I got this 🤏 close to committing to Tana yesterday and I’m so glad I got distracted by a shiny thing instead.
hackers.town: 2023-03-20 Mon 11:33
@kusuriya I have one of my setups using git to sync through — Github.
So anyways sometime this week I’ll polish up the git repo host on my Pi.
hackers.town: 2023-03-20 Mon 14:59
Had first therapy session with my first therapist that had a clear understanding of CBT[1] and DBT and the differences between them since oh 2001 or so and that’s pretty cool.
[1]: Cognitive Behavioral Therapy, you perv
hackers.town: 2023-03-20 Mon 18:17
How am I supposed to use VS Code as a knowledge repository if I can’t even paste 5,000 lines of JSON into a Markdown file without it turning to molasses?
Rhetorical question
hackers.town: 2023-03-20 Mon 19:10
new note on random geekery:
Stupid VS Code Vim Tricks
#VsCode #CONFIG #Blog
https://randomgeekery.org/post/2023/03/stupid-vs-code-vim-tricks/
hackers.town: 2023-03-20 Mon 19:31
@antijingoist I’m accustomed to Vim and Neovim, which just kind of shrug when I do something like the paste scenario.
Sublime’s a delight, though. And I could likely use OrgExtended for much of the stuff I need.
hackers.town: 2023-03-20 Mon 21:47
Ye gods but LinkedIn is depressing lately if you’re — okay right yes LinkedIn is always depressing if you’re a thinking feeling human being but folks are way too excited about black box LLMs.
I love omega prime markov chains too, but the FOSS nerd and curious diner in me really prefers to know what this meat is made out of.
hackers.town: 2023-03-20 Mon 21:49
But anyways LinkedIn is the kind of depressing where I don’t want to work with any of those folks posting.
Though I suspect I could sell them a lovely AI bridge in Brooklyn.
hackers.town: 2023-03-20 Mon 21:56
Me: “I need a job. I’ll go check LinkedIn.”
checks LinkedIn
Me: “I need a drink. And to vent. God I really need to vent.”
switches to the Mastodon tab
hackers.town: 2023-03-20 Mon 21:58
@TheDarkHorse Life is art.
hackers.town: 2023-03-20 Mon 21:58
@thegibson nyte nyte!
sorry i had a joke but i forgot because trying to figure out how to pronounce “nyte”
sleep well
hackers.town: 2023-03-20 Mon 21:59
@TheDarkHorse everybody dies frustrated and sad
and that is beautiful
hackers.town: 2023-03-20 Mon 22:01
I have nobody to blame but myself
#NowPlaying
TMBG — “Don’t Let’s Start”
https://song.link/us/i/635917656
hackers.town: 2023-03-20 Mon 23:49
Tonight’s bedtime drawing is a small segment of that manual symmetry pic I’ve been working on and off in #LineaSketch

hackers.town: 2023-03-20 Mon 23:53
@hardison I dig. I may have trouble comprehending, but it sounds awesome and I’m curious about the how.