A basic configuration file to work with Vim and LaTeX
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
943 B

2 years ago
  1. # vim-config-latex
  2. A basic configuration file to work with Vim and LaTeX
  3. # Installing Vim-Plug
  4. ```
  5. curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  6. ```
  7. # Configuration
  8. ```
  9. " ------------------
  10. " __
  11. " .--.--.|__|.--------.----.----.
  12. " | | || || | _| __|
  13. " \___/ |__||__|__|__|__| |____|
  14. " ------------------
  15. "
  16. " Basic settings
  17. " --------------
  18. set nocompatible
  19. filetype plugin indent on
  20. syntax enable
  21. set number relativenumber
  22. set path+=**
  23. set wildmode=longest,list,full
  24. set encoding=UTF-8
  25. set cursorline
  26. set showmatch " matching brackets
  27. set linebreak
  28. set ignorecase " case insensitive matching
  29. set smartcase " smart case matching
  30. "set clipboard+=unnamedplus
  31. set mouse=a
  32. set tabstop=4
  33. set shiftwidth=4
  34. set softtabstop=4
  35. set spelllang=en_us
  36. set fillchars+=eob:~
  37. set showtabline=2
  38. set laststatus=2
  39. " ------------------
  40. ```