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

Programmer Humor

32588 readers
863 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
[–] [email protected] 1 points 7 months ago (2 children)

By visual studio do you mean VS Code?

I use VS Code to program python in a Jupyter notebook, can neovim work for that?

[–] [email protected] 4 points 7 months ago

Neovim can be used for anything you want! it's a great experience if you're willing to take the time and learn it

[–] [email protected] 1 points 7 months ago

I have heard of jupyter but am not familiar with its nuances.

But doing python dev with neovim is very doable, it uses the same LSP I think.

I personally have a dedicated dev machine running debian that has everything on it, including nvim configured.

I SSH into my dev box from other machines to do work, because neovim is a TUI it "just works" over SSH inside the terminal itself, which is what I like about it.

It feels good to just

  1. SSH into my box
  2. tmuxinator my-project-name

And boom, 4 tmux tabs pop open ready to go in the terminal:

  • nvim (pointing at the project dir)
  • lazygit already open
  • nvim (pointing at my secrets.json file elsewhere)
  • an extra general console window opened to project root

And I can just deep dive into working asap in just those 2 steps, it feels very smooth.

I often can even just do tmux a (short for attach) to just straight re-open whatever session I last had open in tmux, instantly jumping right back into where I left off.