Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- filetype off
- call plug#begin()
- Plug 'scrooloose/nerdtree'
- Plug 'bling/vim-airline'
- Plug 'junegunn/goyo.vim'
- Plug 'tpope/vim-surround'
- Plug 'bronson/vim-trailing-whitespace'
- Plug 'yggdroot/indentline'
- Plug 'fatih/vim-go'
- Plug 'zah/nim.vim'
- Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
- Plug 'lervag/vimtex'
- Plug 'tikhomirov/vim-glsl'
- call plug#end()
- set number
- syntax on
- filetype on
- filetype plugin on
- filetype indent on
- filetype plugin indent on
- " show existing tab with 4 spaces width
- set tabstop=4
- " when indenting with '>', use 4 spaces width
- set shiftwidth=4
- " On pressing tab, insert 4 spaces
- set expandtab
- set termguicolors
- set ttimeout
- set backspace=indent,eol,start
- vmap j gj
- vmap k gk
- nmap j gj
- nmap k gk
- autocmd StdinReadPre * let s:std_in=1
- autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
- autocmd StdinReadPre * let s:std_in=1
- autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
- map <C-n> :NERDTreeToggle<CR>
- let g:NERDTreeDirArrowExpandable = '▸'
- let g:NERDTreeDirArrowCollapsible = '▾'
- map <C-g> :Goyo<CR>
- set list lcs=tab:\|\
- let g:livepreview_cursorhold_recompile = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement