Yesterday I trimmed down my
vimrc - the configuration file for Vim.
I admit that I can't live without some plugins.
So a “minimal Vim” is probably not possible for me.
But if you're interested, here is a good start:
" Suggested Minimal Settings For Programming " Enabling filetype support provides filetype-specific indenting, " syntax highlighting, omni-completion and other useful settings. filetype plugin indent on syntax on " `matchit.vim` is built-in so let's enable it! " Hit `%` on `if` to jump to `else`. runtime macros/matchit.vim " various settings set autoindent " Minimal automatic indenting for any filetype. set backspace=indent,eol,start " Proper backspace behavior. set hidden " Possibility to have more than one unsaved buffers. set incsearch " Incremental search, hit `<CR>` to stop. set ruler " Shows the current line number at the bottom-right " of the screen. set wildmenu " Great command-line completion, use `<Tab>` to move " around and `<CR>` to validate.
If you use NeoVim, check the default settings with