Skip to content

Instantly share code, notes, and snippets.

@wesinator
Last active August 28, 2025 14:19
Show Gist options
  • Select an option

  • Save wesinator/7eb78487200493b02575851307e52102 to your computer and use it in GitHub Desktop.

Select an option

Save wesinator/7eb78487200493b02575851307e52102 to your computer and use it in GitHub Desktop.
A sane vimrc / init.vim that doesn't cause vi to be disruptive to file writes.
set noswapfile
set backupcopy=yes
mkdir ~/.config/nvim && cp .vimrc ~/.config/nvim/init.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment