diff --git a/content/Attachments/nvim.png b/content/Attachments/nvim.png new file mode 100644 index 000000000..36b084d39 Binary files /dev/null and b/content/Attachments/nvim.png differ diff --git a/content/Attachments/vscode.png b/content/Attachments/vscode.png new file mode 100644 index 000000000..429857cd9 Binary files /dev/null and b/content/Attachments/vscode.png differ diff --git a/content/Programs I Like/code-editors.md b/content/Programs I Like/code-editors.md index 234a5dd4d..4e57cfaa0 100644 --- a/content/Programs I Like/code-editors.md +++ b/content/Programs I Like/code-editors.md @@ -14,7 +14,15 @@ This little gem of a text editor ended up taking the world by storm because it d Instead of the "workload", where Visual Studio installs everything needed to develop a certain kind of application, VSCode offers the "extension": all the IDE features and syntax highlighting needed to develop in a language, but leaves language servers and compilers to the rest of your system. As such, it's extremely lightweight, not to mention cross-platform thanks to its use of the Electron framework. -Another of the features that I like is cosmetic customization. VSCode has a massive +Another of the features that I like is cosmetic customization. VSCode has a massive library of theme, icon, and layout extensions that make your setup as beautiful as it is performant. + +One downside I've run into is the fact that VSCode is an Electron application. Electron is notorious for being a resource hog across all platforms, leading to decreased battery life. +- More linux-specific, Electron can't handle fractional scaling without specific command line hacks that aren't easily configurable by the Linux newcomer. Not specifically a VSCode problem, but this is one of the two programs that "blurry with fractional scaling" has the most hits for. + +Picture of my install: +![[Attachments/vscode.png]] + +Of course, it's not a perfect solution. I've found another text editor much more attractive recently: ## Neovim Sometimes, the [[Misc/keys|most efficient solution]] only arises because it was technically necessary, yet when advancements make it no longer necessary, the initial route proves subpar. you just want to bang out a few lines of code, hit save, and go back to whatever you were doing before. This is [Neovim](https://neovim.io/). @@ -32,4 +40,19 @@ In Normal mode, you can tell Neovim what to do by giving it commands. By default I'm a believer in the principle that your computer should adapt to you, so I often find myself writing tiny little files around [[Projects/my-computer|my computer]] that I don't want to open VSCode to edit. I just open a terminal (if I'm not already working in one), pull up the path, type the file name, make my changes, and done. It's quick, it's easy, and (my favorite) it's free. - To speed the process of opening a terminal, I recommend a dropdown terminal (also called a "quake-style" terminal). The aim is that when you press a keyboard shortcut (Alt+backtick for me), it opens a terminal. I've used both [Guake](http://guake-project.org/) and a docked [tabby-terminal](https://tabby.sh/) for the same end. Still on the fence over which I like more. -Neovim can be installed on all platforms. If you'd like to get started, open it with `nvim` and use the command `:Tutor`. \ No newline at end of file +Just like VSCode, there's rampant possibility for customization here. Unlike VSCode however, it's all in an arcane configuration language that can be difficult to use from scratch. This leads to the popularity of the *distro*: a configuration scheme that serves as a starting point for your program, just like a linux distro does for your computer. + +My distro of choice is [AstroNvim](https://github.com/AstroNvim/AstroNvim). It's lightweight, looks great, and has all the bleeding edge ecosystem tools that you might need. +- Pros + - Super lightweight thanks to lazy loading. It takes my customized install 27ms to open from a terminal. + - Comprehensive. Once you learn the keybinds, it basically just has all the features of VSCode. + - Did I mention that if you set the paths correctly, you can also use any code snippets that came with your VSCode extensions inside AstroNvim thanks to the Luasnip plugin? +- Cons + - #difficulty-advanced. The configuration syntax is very different to how it normally works in tutorials around the internet. Be prepared to spend a lot of time puzzling over the examples on AstroNvim's website. + - You can look at my user file [on GitHub](https://github.com/bfahrenfort/nvim-config) for an example of how to configure things (place in `~/.config/nvim/lua/user/`). Compare my user file with how each plugin I configure actually tells you to configure it, and don't forget to look in the `polish()` function. + - I might make an AstroNvim for Dummies page sometime explaining common pitfalls sometime. + +Picture of my install: +![[Attachments/nvim.png]] + +Neovim can be installed on all platforms. If you'd like to get started, open it with `nvim` and use the command `:Tutor`. For purists who will only use normal Vim, `vimtutor` is usually installed with Vim, or use the `:VimTutor` command from inside the application. \ No newline at end of file diff --git a/content/Updates/2023/oct.md b/content/Updates/2023/oct.md new file mode 100644 index 000000000..c065ef06d --- /dev/null +++ b/content/Updates/2023/oct.md @@ -0,0 +1,13 @@ +--- +title: Summary of Changes for October 2023 +draft: true +tags: + - "#update" +date: 2023-10-31 +--- +## Housekeeping +Happy spooky season +## Pages +- +## Status Updates +- \ No newline at end of file diff --git a/content/Updates/2023/sept.md b/content/Updates/2023/sept.md index ceb194810..1b7dee9d0 100644 --- a/content/Updates/2023/sept.md +++ b/content/Updates/2023/sept.md @@ -6,7 +6,7 @@ tags: date: 2023-09-30 --- ## Housekeeping -I'm going to start tracking lists of changes that happen during the previous month! This should provide a nice little bump to the RSS feed since I edit pages post-creation a lot. +Happy spooky season! I'm going to start tracking lists of changes that happen during the previous month. This should provide a nice little bump to the RSS feed since I edit pages post-creation a lot. There'll also be a small blog component to it. - I'm proud to announce that the title of this garden is now Projects & Privacy! Originally, I worried about putting a privacy focus on here, but then I realized that privacy was a significant part of almost all of my projects and everything [[Projects/my-cloud|that I host]]. @@ -14,13 +14,14 @@ There'll also be a small blog component to it. - I did a vegan cheese party with some friends (they're vegan, not me) and made a cheese platter, margherita pizza, and some fried mozz sticks. Here's the result: ![[Attachments/vegan-cheese.jpg]] -## New Pages -- I fiddled with the [[index|homepage]] a bit. +## Pages - I added comments with Remark42, and documented it [[Projects/Obsidian/quartz-comments|here]]. +- I fiddled with the [[index|homepage]] a bit. - I started fleshing out [[Projects/my-computer|My Computer]]. +- More content [[Essays/on-linux|on Linux]]! - I'm researching and angling to fully write through the essay on [[Essays/why-i-garden|Why I Garden]]. - I'm working towards writing an essay on law school and its problems as an institution. Nothing to report yet. - I've refactored some things to come more into alignment with how a digital garden normally looks, including using #seedling as a tag. My goal is to get this site on its feet with a better theme and a few substantial essays and then submit it to the Quartz Showcase for some publicity. I'll also plug it on Mastodon if I ever set up an account there. ## Status Updates - I finally got around to looking into Mastodon and the Fediverse more broadly. The ideas are *insanely* cool. Expect pages and maybe projects on it in future. -- I swapped from a custom compiled Zen kernel to the CachyOS-Bore-EEVDF kernel available in the Copr repos, and holy crap, the performance is night and day. All of the options in games that would lock my CPU-bound EGPU setup to less than 60 frames are now open to me, and graphical fidelity is better than ever. \ No newline at end of file +- I swapped from a custom compiled Zen kernel to the CachyOS-Bore-EEVDF kernel available in the Copr repos, and holy crap, the performance is night and day. All of the options in games that would lock my CPU-bound eGPU setup to less than 60 frames are now open to me, and graphical fidelity is better than ever. \ No newline at end of file diff --git a/content/templates/Update.md b/content/templates/Update.md index 23961d649..5af5d348c 100644 --- a/content/templates/Update.md +++ b/content/templates/Update.md @@ -7,7 +7,7 @@ date: <% tp.date.now("yyyy-MM-DD") %> --- ## Housekeeping -## New Pages +## Pages - ## Status Updates - \ No newline at end of file