Skip to content

Instantly share code, notes, and snippets.

@turnipsoup
Last active May 3, 2021 14:16
Show Gist options
  • Save turnipsoup/ed5f26bc87174d223fba0650076e6d47 to your computer and use it in GitHub Desktop.
Save turnipsoup/ed5f26bc87174d223fba0650076e6d47 to your computer and use it in GitHub Desktop.
My current basic `vim` or `nvim` config.
" Basics
syntax enable
set tabstop=4
set shiftwidth=4
set expandtab
set splitbelow
" Initiate Plugins
call plug#begin('~/.local/share/nvim/plugged')
" Python Autocomplete
Plug 'davidhalter/jedi-vim'
Plug 'zchee/deoplete-jedi'
autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
" Fancy bottom bar
Plug 'vim-airline/vim-airline'
" Autopair brackets, etc.
Plug 'jiangmiao/auto-pairs'
" Load all defined plugins
call plug#end()
@turnipsoup
Copy link
Author

To install vim-plug on Unix:

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment