Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 3.29 KB

README.md

File metadata and controls

75 lines (46 loc) · 3.29 KB

Dependencies

This Gvim configuration rely on the following tools to give full play to all functions:

  • git: The Pro Git book on the website is very good!
  • python3: Anaconda is recommended, but other version works well too
  • modelsim: 10.5 is recommended(Passward: Cofe)
  • TeX Live 2020: In China, it is recommended to download from CTAN of tsinghua
  • SumatraPDF v3.2: In fact, pre-release build is recommended because it supports annotation.
  • latexmk(update to 4.70a): Using Tex Live Manager embedded in texlive to update

Content

This git project contend:

  • _vimrc for windows
  • Vundle plugin
  • a nerd font named "Droid Sans Mono Nerd Font"
  • snippets for fast latex writing

How to use

To use this vim configuration, some steps are needed:

  1. Make sure that you have all the tools mentioned above on your PC(if your work has nothing to do with latex and verilog, you just need to install git and python3).

  2. In cmd, excuting the following command:

     $ cd /d [path to the install folder of Gvim(normally we call it $VIMRUNTIME)]
    
     $ git clone https://github.com/CofeCup/vimfiles --recurse-submodules
    

(For example, cd /d D:\Vim\vim82, and you can use ":echo $VIMRUNTIME" in Gvim to check your Gvim folder path. If your path contains blank space, you should put Double quotation marks("") outside yout path)

  1. Enter the folder under the $HOME path(normally "C:\Users[Username]") and find a file named "_vimrc". (If it is not existed, pls create one.) Add the following command to _vimrc:

     source [$VIMRUNTIME\vimfiles\_vimrc]
    

For example:

	source D:\Vim\vim82\vimfiles\_vimrc
  1. Install the font using "Droid Sans Mono Nerd Font Complete Mono Windows Compatible.otf". Just double click it and you will know : )

  2. Run ":BundleInstall" in Vim shell line and wait utill the installation finished.

  3. If needed, change the python3 path using:

     let &pythonthreedll=[PATH to python38.dll(32-bit)]
    
  4. Restart the Gvim.

If you want to use the snippet config, just cope the folder UltiSnips and paste it into ./bundle/ultisnips. After that, restart GVim.

Enjoy your Vim time!!!

Some function is hided in the vimrc and you should dig by yourself! It is with sufficient comments and easy to read.

Reference

If you want to learn more vim knowledge in Chinese, I suggest two wedsites and a book:

If you want to learn more about latex in Chinese, I suggest two tutorials and a book:

If you click the buttom releases only and you will keep pace with the update!


Remember: There is no such thing as a free lunch.