Skip to content
Go back

Turn Neovim Into a Python IDE on Arch (LazyVim)

Updated:
Edit page

I’ve lived in vi/vim for 20+ years. It’s everywhere, it boots fast, it never asks for much. But I kept side‑eyeing Neovim because of all the modern niceties - LSP, treesitter, async plugins - and never wanted to spend whole day wiring it all up.

I finally switched. This is how I turned Neovim (via LazyVim) into a comfortable Python IDE on Arch. Think LSP, linting, formatting, and debugging - without yak‑shaving a monster config.

Specification

itemspec
osArch Linux with Hyprland
kernel6.18+
hardwareASUS ROG Zephyrus G14

Steps

Install neovim and lazyvim

git clone https://github.com/LazyVim/starter ~/.config/nvim

Launch nvim with lazyvim started

nvim

You’ll see the following. Toggle the plugins you want.

lazyvim

Enable Python IDE basics

LazyVim ships with a Python extras pack. The quickest way is to add it to your config:

echo 'return { import = "lazyvim.plugins.extras.lang.python" }' \
  > ~/.config/nvim/lua/plugins/python.lua

Reload Neovim and run :Lazy sync. That pulls in:

Install the tooling on Arch

sudo pacman -S neovim python python-pip
pip install --user pyright ruff black debugpy

If you prefer pipx, swap the last line for:

pipx install pyright ruff black debugpy

Use it day-to-day

Optional tweaks

Why LazyVim?

That’s the whole move: clone LazyVim, drop in the Python extras, install the Python tools, and you’re in a modern Neovim IDE without losing the modal muscle memory.


Edit page
Share this post on:

Next Post
How to configure battery charge thresholds on Arch Linux for a Dell XPS 13 using tlp to extend battery lifespan