Skip to content

Instantly share code, notes, and snippets.

@osvik
Last active September 28, 2022 16:35
Show Gist options
  • Save osvik/640f51a69dfe981c693ceba3873c4017 to your computer and use it in GitHub Desktop.
Save osvik/640f51a69dfe981c693ceba3873c4017 to your computer and use it in GitHub Desktop.
A very simple vim configuration
" Vim defaults
set nocp
" syntax highlighting
syntax on
" Show line numbers
set number
" Enable mouse
set mouse=a
" Tabs and ident
filetype indent on
set tabstop=4
set shiftwidth=4
set autoindent
set smartindent
" Plugins
filetype plugin on
filetype plugin indent on
" File stats
set ruler
" Status bar
set laststatus=2
" Encoding
set encoding=utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment