Skip to content

Instantly share code, notes, and snippets.

Last active Jan 8, 2021
What would you like to do?
" Turn on line numbering
set number
" This will set your path variable to current directory (from which you launched vim) and to all directories under current directory recursively.
set path=$PWD/**
" Highlight all search pattern matches
set hlsearch
" control the number of space characters that will be inserted when the tab key is pressed (default 8)
set tabstop=4
" number of space characters inserted for indentation
set shiftwidth=4
" insert space characters whenever the tab key is pressed
set expandtab
" always show the status line
set laststatus=2
" Add full file path to statusline
set statusline+=%F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment