Created
November 6, 2020 01:17
-
-
Save davidmathers/aba052b8718d5d661931bf77b2b05536 to your computer and use it in GitHub Desktop.
Normalize vim and neovim to the same baseline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if !has('nvim') | |
if &compatible | |
set nocompatible | |
endif | |
if !exists('g:syntax_on') | |
syntax enable | |
endif | |
filetype plugin indent on | |
set autoindent | |
set autoread | |
set backspace=indent,eol,start | |
set belloff=all | |
set complete-=i | |
set cscopeverbose | |
set display=lastline | |
set formatoptions+=j | |
set hlsearch | |
set incsearch | |
set nolangremap | |
set laststatus=2 | |
set nrformats-=octal | |
set ruler | |
set sessionoptions-=options | |
set shortmess+=F | |
set shortmess-=S | |
set showcmd | |
set sidescroll=1 | |
set smarttab | |
set nostartofline | |
set tabpagemax=50 | |
set tags=./tags;,tags | |
set ttimeout | |
set ttimeoutlen=50 | |
set wildmenu | |
endif | |
set history=1000 | |
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ | |
set scrolloff=1 | |
set sidescrolloff=5 | |
set viewoptions-=options | |
" Raise viminfo resource limits * 10 | |
" Not in vim-sensible but should be | |
set viminfo=!,'1000,<500,s100,h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment