Skip to content
Snippets Groups Projects

Minimal vimrc

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Ingo Meyer

    vimrc for enabling only basic features like syntax highlighting and line numbers (no plugins)

    Edited
    vimrc_simple 579 B
    set nocompatible
    filetype plugin indent on
    syntax on
    set background=dark
    set expandtab
    set tabstop=4
    set shiftwidth=4
    set softtabstop=4
    set smarttab
    set autoindent
    set cinoptions=(0,u0,:0,g0,N-s
    set number
    set list
    set listchars=tab:>-,eol:$
    set backspace=indent,eol,start
    set autoread
    set autowrite
    if v:version >= 703
        set undodir=~/.vim/undo/
        set undofile
    endif
    set hlsearch
    set wildmenu
    set wildignore=*.o,*.obj,*.a,*.so,*.dylib,*.pyc,*.pdf
    set exrc
    set secure
    set shell=/bin/bash
    set lazyredraw
    set ttyfast
    if v:version >= 704
        set regexpengine=1
    endif
    set mouse=a
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment