day 3 learning neovim. Made a lot of progress yesterday, cemented some useful vim motions for selecting blocks of text and navigating around., code actions, TS LSP cofigured , lazy git integration. Still lots that I want to get configured though.


ok figured out how mini.surround works now… its import to type sr / sa fast to activate surround mode

a common work flow is to change classname to string literals in react

<div className="m-10"/>

first run

sr"`

which [s]urrounds and [r]eplaces " for a backtick quote.

<div className=`m-10`/>

we now need to surround the backtick with braces to make it valid jsx with

saa`{

which [s]urrounds and [a]dds curly braces


note: shift + k provide lsp hover effect, awesome for getting typescript details on a symbol!


so I’ve spent all day configuring my neovim setup today and feeling a bit burnt out from it. It feels like messing around with a linux distro and hitting issues after issue. When I open vscode it just feels comfortable and things just-work.