Skip to content

Instantly share code, notes, and snippets.

@pitermarx
Last active August 3, 2023 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pitermarx/83e674dec2c7c0a654640e2629b9cd90 to your computer and use it in GitHub Desktop.
Save pitermarx/83e674dec2c7c0a654640e2629b9cd90 to your computer and use it in GitHub Desktop.
set clipboard=unnamed "Use System clipboard
set autoindent "New lines inherit the indentation of previous lines
set expandtab "Convert tabs to spaces.
set smarttab "Insert 'tabstop' number of spaces when the 'tab' key is pressed.
set tabstop=4 "Indent using four spaces.
set shiftwidth=4
set hlsearch "Enable search highlighting.
set incsearch "Incremental search that shows partial matches.
set smartcase "Automatically switch search to case-sensitive when search query contains an uppercase letter.
set laststatus=2 "Always display the status bar.
set ruler "Always show cursor position.
set wildmenu "Display command line’s tab complete options as a menu.
set cursorline "Highlight the line currently under cursor.
set relativenumber "Show line number on the current line and relative numbers on all other lines.
set title "Set the window’s title, reflecting the file currently being edited.
set backspace=indent,eol,start "Allow backspacing over indention, line breaks and insertion start
set confirm "Display a confirmation dialog when closing an unsaved file
set noswapfile "Disable swap files.
set syntax=on "Enable syntax highlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment