Didn't know about the quickfix list either. Super neat!
comments
I've been using AstroNvim ever since i moved to Linux and not long ago got some inspiration to re-write my config to be more minimal. I also found his channel helpful :)
I really like Sam Natale's videos. His minimalism and using the platform to achieve things we have traditionally or commonly used plugins for strikes a chord in me.
Don't use it myself (I don't do much webdev), but this seems to do what you want.
you can just run live-server on the command line. npx live-server
That should be fine
I don't know of a tutorial specifically for this, but I think these rough steps might help you:
- Install nvim-lspconfig
- Install and set up mason.nvim
- Install and set up mason-lspconfig.nvim
- Configure mason-lspconfig.nvim to automatically enable installed language servers
- Install the lsp servers for css, html and ts_ls
I'm only using plain html, css and js.
Sort of depends what your writing in.
I've been using bun lately for typescript and it hot reloads my code changes.
This means it's independent of my chosen IDE
First of all, awesome. I have used emacs anywhere and a few Neovim equivalents in the past, but I’ve always found it just a tiny bit too slow, even with nvim running already as a server. So superb work and I’m happy it works for you. I just wanted to mention another similar (in spirit) tool called kindavim, from the same developer that makes wooshy, both incredible macOS tools. He really knows the accessibility api very well.
I’ll give this a shot.
honestly, the brag document is a great takeaway. so many times people will subtly or implicitly question documentation or refactors, and when shit hits the fan and the readability refactor or documentation or logging/tracing PR becomes the clincher in quickly resolving the issue i love calling it out. documenting those cases themselves as a way to sell documentation and code quality to others feels like an amazing idea (if not exactly a “brag document”)
Thank you! When I stumble across the Neovim posts, I try to share them here if I think someone will find them useful.
I am not interested in this topic but didn't downvote it, either. I just realized how many posts in c/neovim are by you and I wanted to say thanks for keeping this going.
this is amazing. i might have to try it!
i know JetBrains owning the whole Kotlin developer experience is kind of the point, but as it stands i’d rather not use Kotlin than go back to IntelliJ these days. it’s not worth the context switch just to use an otherwise pretty great language.
I stumbled upon this article as I was having issues with my LSP setup for TypeScript projects. However, in my case, it appears the bug is in the plug-in nvim-lspconfig.
You can also use the built in :map command. Bonus is that it will also show you your custom keymappings.
Thanks for sharing this post :) I never do it, so thanks for being my promoting agent here.
Oh, it's not my own blog, I just stumbled upon it, and wanted to share the post.
Wanted to add your blog to my RSS list but get a 500 internal server error.
I love neovim too, if you ever feel to learn why I've wrote about some cool stuff I like in this text editor.
I'm using a pretty plain config, with nvim-lspconfig and mason-lspconfig
For the r case I think you need to set the mapping in "operator pending" mode, which you get by putting "o" in the same position you already have "!".
I don't know what the issue is with command mode.
There is plenty of precedent for custom escape bindings, often using jk or jj. You might be able to find examples to get an idea of the best way to set up those bindings.
There might be an issue with <C-space> in particular if it has existing mappings in certain modes. I know that auto-complete plugins often use that mapping to make the completions menu appear. There might be some interaction with that mapping specifically with plugins you're using, or with built-in behavior. I suggest experimenting with a different mapping to narrow down whether problems are due to the way you are writing mappings, or to a specific interaction with that key sequence.
You can also use <C-C> to quit command mode instead (and this one works in keymaps). It also works in Insert mode but doesn't trigger the InsertLeave event, which might upset some plugins.
As far as I know the character pending mode thing that r does is a bit unique in that it isn't insert mode, but also not quite replace or operator pending mode. If there's a way to remap any key to work with r then I'm not aware of it.
Have you considered instead remapping <Esc> on an OS level? The XKB option caps:escape turns your Caps Lock key into an additional Escape key, which is even easier to type than <C-Space>.
this is more convenient sometimes because you don’t need to think about node names when selecting
Ah interesting, how does this compare with treesitter-textobjects?
I like using leap.nvim for this since it has an added feature where you can select the node you want in one step by typing a two-letter label.
There is a similar feature in flash.nvim.