Vim Configuration and use

Source: Internet
Author: User
Tags doxygen

First, the basic configuration
1 "set character encoding to prevent Chinese garbled and other problems2Set fileencoding=utf-83Set fileencodings=utf-8, Gb2312,gb18030,latin14Set termencoding=utf-85Set encoding=utf-86 7 "Syntax Highlighting8 Syntax on9 "Dark BackgroundTen Color Evening One "Detecting file Types A filetype on - "load the corresponding plug-in according to the file type - filetype plugin on the "Show Line Numbers - Set number - "set various indentation -Set tabstop=4 +Set softtabstop=4 -Set shiftwidth=4 + Set Autoindent A Set Smartindent at Set Cindent - "tab conversion to spaces - Set Expandtab -  - "show longest column boundaries -Setcc= - in  - "Highlight Current Line toSet Cursorline

Second, plug-in

1. Doxygen

Address: http://www.vim.org/scripts/script.php?script_id=987

Download the Doxygentoolkit.vim, copy it to the ~/.vim/plugin directory, and configure it in ~/.VIMRC, such as configuring the default

" Doxygenlet g:doxygentoolkit_authorname="zzq"

When used, in command mode, enter: Dox can add doxygen comments to functions, input: Doxauthor can add comments to the file, see Home Help for details.

Third, the use of skills

Vim Configuration and use

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.