dotfiles/.vimrc

74 lines
1.8 KiB
VimL
Raw Normal View History

set nocompatible " be iMproved, required
2019-01-29 13:36:57 -05:00
filetype on " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
2017-11-27 18:15:30 -05:00
Plugin 'digitaltoad/vim-pug'
Plugin 'itchyny/lightline.vim'
Plugin 'airblade/vim-gitgutter'
2017-11-27 18:15:30 -05:00
Plugin 'suan/vim-instant-markdown'
2019-01-29 13:36:57 -05:00
Plugin 'xuhdev/vim-latex-live-preview'
2017-11-27 18:15:30 -05:00
Plugin 'kien/rainbow_parentheses.vim'
2017-11-20 01:36:20 -05:00
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
2018-10-24 15:28:21 -04:00
filetype plugin on
"
" 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
" Put your non-Plugin stuff after this line
2016-12-15 00:30:09 -05:00
set number
set linebreak
set showbreak=+++
set textwidth=100
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase
set incsearch
set autoindent
2017-03-11 02:56:55 -05:00
set shiftwidth=2
2016-12-15 00:30:09 -05:00
set smartindent
2017-03-11 02:56:55 -05:00
set softtabstop=2
2017-04-24 12:11:28 -04:00
set tabstop=2
2016-12-15 00:30:09 -05:00
set ruler
set undolevels=1000
set backspace=indent,eol,start
2017-03-11 02:56:55 -05:00
set colorcolumn=80
2017-11-20 01:36:20 -05:00
" lastline plugin config
set laststatus=2
2017-11-20 01:36:20 -05:00
" colorscheme
syntax enable
"set background=dark
"colorscheme solarized
2017-03-11 02:56:55 -05:00
highlight colorcolumn ctermbg=grey ctermfg=blue
highlight OverLength ctermbg=red ctermfg=white
2017-03-11 02:56:55 -05:00
match OverLength /\%>80v.\+/
filetype plugin on
2017-11-20 01:36:20 -05:00
nmap ne :NERDTreeToggle<cr>
2019-01-29 13:36:57 -05:00
let g:livepreview_previewer = 'atril'