My vim and emacs common configuration Records

Source: Internet
Author: User

Because it often changes the working environment, here is a record of my. vimrc file and the contents of the. emacs file.

VIMRC configuration file, mainly set syntax highlighting, and TAB key width, personal preference set to 4 spaces of the component.

Set Nusyntax onset Tabstop=4set softtabstop=4set shiftwidth=4

The contents of the Emacs configuration file are mainly the width of the TAB key and the automatic alignment of the C language.

   ;; tab and Space   ; When true, emacs use mixture of tab and space to achieve offset   (Setq-default indent-tabs-mode ni l);   control length used to offset.   (Setq-default C-basic-offset 4)   ;; Control how Emacs explain TAB.   (Setq-default tab-width 4)

My vim and emacs common configuration Records

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.