Skip to content

Instantly share code, notes, and snippets.

@linuxkathirvel
Created April 28, 2018 09:04
Show Gist options
  • Save linuxkathirvel/1afcdff916f2a1b60cfce6723516b4b7 to your computer and use it in GitHub Desktop.
Save linuxkathirvel/1afcdff916f2a1b60cfce6723516b4b7 to your computer and use it in GitHub Desktop.
" for HTML
"autocmd FileType html setlocal shiftwidth=2 tabstop=2

" enable syntax highlighting
syntax enable
filetype on
filetype plugin on
filetype indent on
" set color scheme
" colorscheme elflord
" colorscheme badwolf

" set tabs to have 4 spaces
set tabstop=4

" when using the >> or << commands, shift lines by 4 spaces
set shiftwidth=4

" expand tabs into spaces
set expandtab

" show a visual line under the cursor's current line
set cursorline

" set line number
set number

" enable all Python syntax highlighting features
let python_highlight_all = 1
set clipboard=unnamed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment