Skip to content

Instantly share code, notes, and snippets.

@v-stickykeys
Created June 27, 2019 14:49
Show Gist options
  • Save v-stickykeys/5da526efb24ec81e7ad3b44a563e1434 to your computer and use it in GitHub Desktop.
Save v-stickykeys/5da526efb24ec81e7ad3b44a563e1434 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'connorholyday/vim-snazzy'
" git repos on your local machine (i.e. when working on your own plugin)
" Plugin 'file:///home/val/path/to/plugin'
call vundle#end() " required
filetype plugin indent on " required
" Brief help
"
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
set nobackup
set nowritebackup
set noswapfile
set number " show line numbers
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set laststatus=2 " always display the status line
set autoindent
set smartindent
set redrawtime=10000
set autoread
set autowrite
set secure
set expandtab
set tabstop=2
set shiftwidth=2
syntax on
""""""""""""
"""" UI """"
""""""""""""
set background=dark
set smartcase " be smart about cases when searching
set smarttab " be smart when using tabs
set hlsearch " highlight search results
set incsearch " make search act like modern browsers
set nojoinspaces " user one space, no two, after punctuation
set list
set listchars=eol:$
colorscheme snazzy
set encoding=utf8
let g:hmtl_indent_tags = 'li\|p' " treat <li> and <p> tags like the block tags they are
set splitbelow " open new split panes to bottom
set splitright " open new split panes to right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment