Skip to content

Instantly share code, notes, and snippets.

@luvpreetsingh
Created April 2, 2019 12:55
Show Gist options
  • Save luvpreetsingh/514f971f867542d82dd4fe7e0885162d to your computer and use it in GitHub Desktop.
Save luvpreetsingh/514f971f867542d82dd4fe7e0885162d to your computer and use it in GitHub Desktop.
" enable syntax highlight
syntax enable
" set tabs to have 4 spaces
set ts=4
" indent when moving to the next line while writing code
set autoindent
" convert tabs into spaces
set expandtab
" show a visual line under the cursor's current line
set cursorline
" show the matching part of the pair for [] {} and ()
set showmatch
" highlight search results
set hlsearch
" show row and column information
set ruler
" show which mode we are in
set showmode
set showcmd
" mac color scheme
if has("mac") || has("macunix")
set gfn=IBM\ Plex\ Mono:h14,Hack:h14,Source\ Code\ Pro:h15,Menlo:h15
endif
" colorscheme
set background=dark"
PYTHON SETTINGS
" enable all Python syntax highlighting features
let python_highlight_all = 1
" end of python settings
" key mapping for switching tabs
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
" include following files
so ~/.vim/plugins.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment