Skip to content

Instantly share code, notes, and snippets.

@sekomer
Created October 9, 2022 09:55
Show Gist options
  • Save sekomer/fd7f3a6dc691e6c14aaacc981e176d11 to your computer and use it in GitHub Desktop.
Save sekomer/fd7f3a6dc691e6c14aaacc981e176d11 to your computer and use it in GitHub Desktop.
sekomer's .vimrc file
set nocompatible " disable compatibility to old-time vi
set showmatch " show matching brackets.
set ignorecase " case insensitive matching
set mouse=v " middle-click paste with mouse
set hlsearch " highlight search results
set autoindent " indent a new line the same amount as the line just typed
set number " add line numbers
set relativenumber
set wildmode=longest,list " get bash-like tab completions
set cc=85 " set an 80 column border for good coding style
filetype plugin indent on " allows auto-indenting depending on file type
set tabstop=4 " number of columns occupied by a tab character
set expandtab " converts tabs to white space
set shiftwidth=4 " width for autoindents
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
set nowrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment