Using Neovim as an IDE for Python

In this post I’ll demonstrate my setup of neovim for python development. Setup Install neovim Install Python neovim configuration All of the config files for neovim will be in our config directory. If any of the folders or files do not exist we will create them now. mkdir -p ~/.config/nvim/lua touch ~/.config/nvim/init.vim touch ~/.config/nvim/lua/{lua_config,lsp_config}.lua Using neovim, we will edit the init.vim syntax on "syntax highlighting, see :help syntax filetype plugin indent on "file type detection, see :help filetype set number "display line number set relativenumber "display relative line numbers set path+=** "improves searching, see :help path set noswapfile "disable use of swap files set wildmenu "completion menu set backspace=indent,eol,start "ensure proper backspace functionality set undodir=~/....

July 24, 2021 · 4 min · David Spencer