Skip to content

Instantly share code, notes, and snippets.

@SiqingYu
Created January 9, 2024 00:37
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 SiqingYu/5767d589239b8b1bd6925f5504ff8bf1 to your computer and use it in GitHub Desktop.
Save SiqingYu/5767d589239b8b1bd6925f5504ff8bf1 to your computer and use it in GitHub Desktop.
" 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