set nocompatible " be iMproved, required filetype off " required syntax on " 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' " Plugins Plugin 'godlygeek/tabular' " Plugin 'preservim/vim-markdown' Plugin 'vim-pandoc/vim-pandoc' Plugin 'vim-pandoc/vim-pandoc-syntax' Plugin 'WolfgangMehner/latex-support' Plugin 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plugin 'https://github.com/preservim/nerdtree' " NerdTree Plugin 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plugin 'https://github.com/vim-airline/vim-airline' " Status bar Plugin 'https://github.com/ap/vim-css-color' " CSS Color Preview Plugin 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plugin 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plugin 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plugin 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plugin 'https://github.com/neoclide/coc.nvim' " Autocompletions " Plugin 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plugin 'https://github.com/mattn/emmet-vim' " Emmet support Plugin 'rubixninja314/vim-mcfunction' " mcfunction Plugin 'sirver/ultisnips' let g:UltiSnipsExpandTrigger = '' let g:UltiSnipsJumpForwardTrigger = '' let g:UltiSnipsJumpBackwardTrigger = '' Plugin 'lervag/vimtex' let g:tex_flavor='latex' let g:vimtex_view_method='zathura' let g:vimtex_quickfix_mode=0 set conceallevel=1 let g:tex_conceal='abdmg' call vundle#end() " required filetype plugin indent on " required :colorscheme purify :set number relativenumber :set autoindent :set tabstop=4 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a nnoremap :tabprevious nnoremap :tabnext nnoremap :tabprevious nnoremap :tabnext nnoremap :tabclose nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle :set completeopt-=preview " For No Previews let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' " Custom Commands "" LateX :command Ttp !pdflatex %:t "" JS/TS/Node :command NpmInstall !npm install :command TscWatch !npm run ts-watch :command NodemonStart !npm run start "" Git :command -nargs=1 -bar GitignoreCreate !curl https://www.toptal.com/developers/gitignore/api/ | tee -a .gitignore :command -nargs=* GitCommit !git commit -m "" :command -nargs=* GitCommitAll !git commit -am "" :command GitAddAll !git add * && git add .* :command GitStatus !git status :command GitPush !git push inoremap pumvisible() ? coc#_select_confirm() : "" set shell=/bin/bash " Highlight augroup twig_ft au! autocmd BufNewFile,BufRead *.mcfunction set syntax=mcfunction augroup END