Vim Cheat Sheet

Description VIM can be hard. Remembering all the neat shortcuts achieved by such an awesome tool is harder. This won’t be a cheat sheet that helps with the basics but rather an ever expanding post on shortcuts that I discover to help improve efficiency. command description gtd go to definition, jump to function ^o / ^i backward/forward a location ci" change inside “, can change inside other characters as well “+yy copy to + buffer, can change + to other buffers as well

August 1, 2021 · 1 min · David Spencer

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 syntaxfiletype plugin indent on "file type detection, see :help filetypeset number "display line numberset relativenumber "display relative line numbersset path+=** "improves searching, see :help pathset noswapfile "disable use of swap filesset wildmenu "completion menuset backspace=indent,eol,start "ensure proper backspace functionalityset undodir=~/....

July 24, 2021 · 4 min · David Spencer