this post was submitted on 12 Apr 2024
284 points (89.4% liked)

Programmer Humor

32479 readers
309 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pixxelkick@lemmy.world 6 points 7 months ago

I try and start using it for basic tasks, like note taking, to get used to its interface and basic commands like :w and :q, as well as switching between insert and cmd mode.

Once you are familiar with switching between modes, copying, pasting, etc, then you probably will wanna Starr learning it's lua api and how to load in some QoL plugins. Basic stuff like treesitter, telescope, and nvim-tree are good places to start.

Once you feel comfortable with swapping between files with telescope and configuring plugins, I'd deep dive into getting an LSP up and running for your language of choice so you can actually code.

In the interim I'd recommend getting comfy with using tmux in your terminal, try and open new tmux tabs to do units of work instead of constantly cding around.

I like to keep 4 tmux tabs open for a project:

  • nvim
  • lazygit
  • secrets file open in nvim (usually my secrets file is in another dir so it doesn't check into git)
  • a general terminal tab for running commands