I've recently switched wholesale to linux (Arch) from Windows, and am finding nvim to increasingly be my preferred direction.
I've can easily invoke a shell from within nvim (I'm also using tmux) and compile or upload directly to my boards - this just needs a sketch.yaml within each project to direct arduino-cli as to which board is being used, and what board options are required.
For example I use the following for my bluepill based projects when I also want CDC serial
Code: Select all
default_fqbn: STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103CB,usb=CDCgen,xserial=generic,xserial=generic