-
fixed long standing nvim startup error
Here's the diff, this is it. The error On first install of my dotfiles I'm presenting with this flashbang of an error filling the screen with red background. Its kinda hard to read, I'm not deep into lua and reading their tracebacks. It pops up in this pager that if I scroll too far it quits and the error is gone before I know what it is or how it got there. image For the longest time it just felt like it randomly showed up without much warning. I sent ai at the issue I tried some chatgpt and
-
vim date
When I want to put a date in a document like a blog post from vim I use !!date from insert mode. Note that entering from normal mode puts you in command mode with filled out. This runs a shell command, i.e. for this example. It outputs the following Fri Jan 31 08:46:11 PM CST 2025 You can also pass in a date such as tommorrow by pasdding in the -d . It outputs the following Sat Feb 1 08:53:20 PM CST 2025 codeium just taught me this one with autocomplete This outputs the following 2025-
-
nvim-manager
I recently built a cli application as a nearly-one-shot-app called nvim-manager . It manages your nvim dotfiles install. screenshot-2025-01-31T21-21-40-707Z.png {.more-cinematic} Why {.chat-left} Don't we have stow? {.chat-right} Ya, thats not enough. {.chat-left} Why not?? {.chat-right} Inevitably shit goes sideways and I break my vim install. How is nvim manager any better nvim-manager allows you to install pinned versions of your dotfiles, your friends dotfiles, and distros in ~/.config. Thi
-
💠add helix · WaylonWalker/devtainer@71b9b29
Here's my thought on 💠add helix · WaylonWalker/devtainer@71b9b29 Helix officially made it in my devtainer. I am installing the binary right out of the…
-
💠helix-vim/config.toml at master · LGUG2Z/helix-v...
Here's my thought on 💠helix-vim/config.toml at master · LGUG2Z/helix-vim Here are some really great keybinds to make helix vim-like. It feels very…
-
💠Support regex substitution command · Issue #2232...
Here's my thought on 💠Support regex substitution command · Issue #2232 · helix-edito... helix multicursor has the ability to do what vims does by using…
-
💠Support regex substitution command · Issue #2232...
Here's my thought on 💠Support regex substitution command · Issue #2232 · helix-edito... Here is a really good vim substitute with regex capture groups,…
-
💠Support regex substitution command · Issue #2232...
Here's my thought on 💠Support regex substitution command · Issue #2232 · helix-edito... Interesting take on refactoring the whole codebase from your…
-
💠Support regex substitution command · Issue #2232...
Here's my thought on 💠Support regex substitution command · Issue #2232 · helix-edito... I am a heavy user off substitutions in vim, helix does not…
-
💠Background Image | Wallpaper · Issue #3059 · hel...
Here's my thought on 💠Background Image | Wallpaper · Issue #3059 · helix-editor/helix How to make helix themes transparent. You can make any built-in theme…
-
💠help on setting up ruff formatter + ruff + pyrig...
Here's my thought on 💠help on setting up ruff formatter + ruff + pyright please : r/... This post shows how to set up multiple LSP's in helix, the example…
-
💠configuring pylsp · helix-editor/helix · Discuss...
Here's my thought on 💠configuring pylsp · helix-editor/helix · Discussion #6623 How to set your python formatter to black with helix. The following snippet…
-
💠Elwin Ransom 👽 on X: "Help, I'm being Helix pill...
Here's my thought on 💠Elwin Ransom 👽 on X: "Help, I'm being Helix pilled by my own f... Is Jesse going to get sniped by the helix community? !!! note This…
-
Vim-gq
Vim has a handy feature to format text with . You can use it in visual mode, give it a motion, or if you give it it will format the current line. I use this quite often while writing in markdown, I do not use softwraps in vim, so quickly formats my current line into a paragraph. Once I have done this for a single line one time I typically switch to the motion for around paragraph to format the whole paragraph and not just the current line. before formatting vim-gq-20240805122634078.we
-
💠Find And Replace one eyed kirby
Here's my thought on 💠Find And Replace one eyed kirby another great use and demo of the one eyed fighting kirby !!! note This post is a thought . It's a…
-
Refactoring one line links into wikilinks
Previously I had setup a feature of my website to expand one line links into a card. This was not a standard, even to the point that some formatters wrap the links with , thus breaking my custom plugin. Moving to the wikilink standard will allow my markdown posts to work accross more site builders without custom integrations. [[ expand-one-line-links ]] What is a wikilink Wikilinks are standard to a lot of wikis written in markdown. markdown-it-wikilinks {.hoverlink} The wikilink syntax is a
-
💠My harpoon config
Here's my thought on 💠My harpoon config Install it harpoon config !!! note This post is a thought . It's a short note that I make about someone else's…
-
💠From Vim To Zed - YouTube
Here's my thought on 💠From Vim To Zed - YouTube I found this statement quite intriguing. multi-cursors are just macros. This is quite a philisophical video…
-
💠The One Eyed Fighting Kirby
Here's my thought on 💠The One Eyed Fighting Kirby I've heard prime say just give it the one eyed fighting kirby so many times, and execute it few times, and…
-
nvim stupid gf bind
So after months of fighting with gf not going to template files, I finally decided to put in some effort to make it work. This was the dumbest keybind in my config, that I copied from someone else without understanding it. What I am trying to do I have jinja templates in a directory called . I want to bind gf to open a template file, but it is trying to open a new file What did not work I tried all sorts of changes to my path, but it still didn't work. What I found after digging into my keyma
-
💠Diagnostic - Neovim docs
Here's my thought on 💠Diagnostic - Neovim docs Clear out lsp diagnostics in nvim. !!! note This post is a thought . It's a short note that I make about…
-
💠Bob Belderbos on X: "Forget Python for a sec, he...
Here's my thought on 💠Bob Belderbos on X: "Forget Python for a sec, here's how Vim h... I need to learn regex capture groups better. This is so dang…
-
💠Formatting on save · jose-elias-alvarez/null-ls....
Here's my thought on 💠Formatting on save · jose-elias-alvarez/null-ls.nvim Wiki neovim stopped formatting on save for me awhile ago and I have just been…
-
💠LazyVim Installation
Here's my thought on 💠LazyVim Installation Lately in 2023 I have been leaning on lazyvim for my new setups where I am not necessarily ready to drop my full…
-
nvim navic
With the latest release of version of nvim 0.8.0 we get access to a new winbar feature. One thing I have long wanted somewhere in my nvim is navigation for pairing partners or anyone watching can keep track of where I am. As the driver it's easy to keep track of the file/function you are in. But when you make big jumps in a few keystrokes it can be quite disorienting to anyone watching, and having this feedback to look at is very helpful. "cybernetic soldier working on a rusting tape machine
-
vimgrep open buffers
How to vimgrep over hidden files. I needed to delete all build pipeline steps that were named . I currently have about 60 projects running from the same template all running very similar builds. In the past I've scripted out migrations for large changes like this, they involved writing a python script that would load the yaml file into a dictionary, find the corresponding steps make the change and write it back out. Today's job was much simplar, just delete the step, were all steps are surrou
-
You must use augroup with autocmd in vim | Here's ...
If you are running vim autocmd's without a group, you're killing your performance. Granted your probably not sourcing your vimscript files with autocmd's too often, but every time you source that vimscript you are adding another command that needs to run redundantly. https://youtu.be/2ITTn4Dl0lc This is what I had Not silky smooth For WAAY too long I have had something like this in my vimrc or init.vim. It formats my python for me on every save, works great except if I source my dotfiles mor
-
Setup a yaml schema | yamlls for a silky smooth se...
I've gone far too long without a good setup for editing yaml files, I am missing out on autocomplete and proper diagnostics. This ends today as I setup yaml-language-server in neovim. https://youtu.be/xo4HrFoKF4c {.youtube-embed} The video for this one is part of a challenge-playlist I put out for myself to constantly improve my dotfiles for all of December. init.vim I have my setup to only source other modules, if you want everything in a single config, feel free to do as you wish. I broke mi
-
How linux users install a text editor
In honor of the neovim 0.6.0 release, I decided to do a funny skit installing neovim, and fix up my install script in the process as part of my challenge to fix up my dotfiles. I ran into one snag where I was not updating the repo that I cloned. I moved it to the directory I now keep third-party git repos and set it to update with ansible. https://youtu.be/64oKLphhBuo The thing that took me the longest to realize was.... I had a path issue pointing me to an old install of the appimage over the
-
I made a neovim plugin
I've slowly adding more and more lua functions into my neovim configuration, and recently I noticed a pattern for a class of functions that reach out to run shell commands that can be abstracted away. https://youtu.be/8m5ipBuopPU {.youtube-embed} Telegraph.nvim Check out the project readme for the most up to date details on the plugin itself. Motivation I want a simple way to make remaps into shell commands that can open new tmux windows, popups, or just run a command with context from the edit
-
Vim Wsl Clipboard
I've long used neovim from within windows wsl, and for far too long, I went without a proper way to get text out of it and into windows. wsl has access to cmd applications wsl can access clip.exe. You can do some cool things with it, such as cat a file into the clipboard, sending output from a command to the clipboard, or set an autocmd group in vim to send yank to the windows clipboard. using clip.exe Let's say you want to send a teammate the tail of a log file over chat. You can tail the file
-
Vim Replace Visual Star
Replacing text based on whats in the current search register is a quite handy tool that I use often. I believe I picked this tip up from Nick Janetakis, check out his YouTube channel for some amazing vim tips. https://www.youtube.com/watch?v=fP_ckZ30gbs {.hoverlink} If there is one thing that I Like most about vim it's the ability to hack on it and make it work well for you. Replacing text in vim Vim can often be a bit verbose, but that's ok because we can hack on it, and make our own shortcuts
-
Save Vim Macro
If you are like me, you have created a macro or two that is pure glory, and you forget how you made it after a day or so, or you immediately want to store it away as a custom keybinding. As with most things with vim, it's easy to do once you understand it. Creating a Macro One of the earliest things we all learn to do in vim is to create macros, custom sets of functionality stored in a register that can be replayed later. To create a macro, get into normal mode, then type followed by a letter
-
Live Substitution In Neovim
Replacing text in vim can be quite frustrating especially since it doesn't have live feedback to what is changing. Today I was watching Josh Branchaud's Vim-Unalphabet series on Youtuve and realized that his vim was doing this and I had to have it. https://twitter.com/_WaylonWalker/status/1346081617199198210 How to do it I had to do a bit of searching and found a great post from vimcasts that shows exactly how to get the live search and replace highlighting using :h inccommand Add this to you
-
Keep Location List Closed
Vim's (neovim in my case) location list can provide some very useful information while developing. Mine gives me information about linting and type checking errors with fairly little config. Generally, it sits nicely at the bottom of the screen and barely affects me. Other times, especially while zoomed way in during a presentation, it just gets in the way. location list eats the screen Location List eating up the screen while I am zoomed in and trying to live code Toggling the location list
-
Keyboard Driven VSCode
Throw that mouse Away its time to setup some keyboard shortcuts. These sortcuts were the baseline for switching from tmux/vim to vscode. Most folks posts I was able to find gave great tips on replacing vim, but very few have focused on the hackability of tmux. tmux allows me to rapidly fire up a workspace, create new windows and splits. Then When I switch tasks I can leave that workspace open and and jump right back in later exactly where I left off. There is nothing quite like it. The shor
-
Vim Notes
vim notes nvim lua norcalli/neovim-plugin nvim lsp python-lsp/python-lsp-server Using c to change text I have gone quite awhile without using and instead using . The reason that I started using is because it automatically places you into insert mode. This not only saves me one keystroke for commands such as is now , but it also works with the repeat command!!! This is huge. When refactoring a document I had been creating a macro to change one word to another, using instead of a