Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Basic nvim configuration
let mapleader = ","
filetype on
filetype indent on
filetype plugin on
set encoding=UTF-8
syntax on
set nocompatible
set hlsearch
set number relativenumber
set laststatus=2
set vb
set ruler
set spelllang=en_us
set autoindent
set colorcolumn=80
set mouse=a
set clipboard=unnamed
set noscrollbind
set wildmenu
set autochdir
hi Search cterm=NONE ctermfg=black ctermbg=red
" No more Arrow Keys, deal with it
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
" netrw stuff
nnoremap - :Explore<CR>
let g:netrw_banner = 0
let g:netrw_liststyle = 3
let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro'
autocmd FileType netrw setl bufhidden=delete
" ctrlp
set runtimepath^=~/.vim/bundle/ctrlp.vim
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
autocmd FileType netrw setl bufhidden=delete
let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro'
" vim-gitgutter
set updatetime=500
" papercolor-theme
set termguicolors
set background=dark
colorscheme PaperColor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment