Skip to content

Instantly share code, notes, and snippets.

@antonijn
Created October 5, 2022 08:08
Show Gist options
  • Save antonijn/c65b243a81a78b35d7c128b743df7578 to your computer and use it in GitHub Desktop.
Save antonijn/c65b243a81a78b35d7c128b743df7578 to your computer and use it in GitHub Desktop.
My Neovim config
call plug#begin()
Plug 'tomasr/molokai'
Plug 'itchyny/lightline.vim'
call plug#end()
filetype plugin on
set mouse=a
syntax enable
set termguicolors
set colorcolumn=101,81,73
set background=dark
colorscheme molokai
set scrolloff=999
set number
set nohlsearch
set nowrap
filetype plugin indent on
filetype indent on
set cindent
" Only have cursorline visible in active window
augroup CursorLine
au!
au WinEnter * setlocal cursorline
au BufWinEnter * setlocal cursorline
au VimEnter * setlocal cursorline
au WinLeave * setlocal nocursorline
augroup END
set exrc
set secure
iabbrev retrun return
iabbrev retunr return
iabbrev :+ :=
iabbrev !+ !=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment