http://blog.163.com/[email protected]/blog/static/11135225920116891750734/Under normal mode, the command >> increments the current line, and the command decreases the indentation for the current line. We can use numbers before the command to
Code formatting tool in Linux: Indent
Under Ubuntu: $ sudo apt-Get install indent
Common settings:
Indent-NPRO-Kr-I4-ts4-sob-L80-SS-bl-Bli 0 file name
Parameter description:-NPRO or -- ignore-profile do not read indent's configuration file. indent.
Fix an issue where pasting in Vi/vim will have a lot more indentation and whitespace at the beginning of the line SECURECRT will send your original text intact to the server as a string style. So when the vim on your server is set to Autoindent, in
Holy warHoly war, a yarn.Android good or IOS good, Windows good or Mac good, editor good or IDE good, underline good or underline good ...Write code for so many years, you will encounter a lot of meaningless nonsense of the so-called brain residue
;;; Emacs Configuration File;; Set row height(Setq-default line-spacing 5)(Custom-set-variables;; Custom-set-variables was added by Custom.;; If you edit it by hand, you could mess it up and so is careful.;; Your init file should contain only one
Astyle is a common open source tool. It can easily format the program code into the desired style without manual modification. Originally, as an advanced creature, we should give priority to smart things, rather than spending time on things that can
Astyle is a common open source tool. It can easily format the program code into the desired style without manual modification. Originally, as an advanced creature, we should give priority to smart things, rather than spending time on things that can
Vim Introduction
As one of the most important editors in the open-source world (Emacs), VIM is favored by many developers with its powerful functions and customization capabilities. However, it may be because Vim is so powerful that it is not easy
There are many options that can be customized for users in Vim. As a beginner, we do not need to know so much about it. The following describes some of the most commonly used configuration items. You can add these items to your. vimrc as needed.1.
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.