Http://zhwen.org/?p=articles/cscope-tags
The Linux source code provides make commands for making Cscope index files and tags files. First , the installation of software installation Cscope:
sudo apt-get install Cscope
In the installation ctags:
http://ctags.sourceforge.net/
You can use: Ctags–version to see if the version of the current ctags is Emacs.
If you installed Emacs, you must use the above addres
1. Overview
In general, jump in code is inseparable from ctags.
In fact, the Code redirection in VIM is completed by the vim tags module, and the tags module depends on the tags file.
Ctags (generate tag files for source code) generate the
Go to: http://zhwen.org /? P = articles/cs1_tags
The linux Source Code provides the make command to create a cssag index file and a tags file.I. Software Installation
Install cscope first:
sudo apt-get install cscope
After installing ctags:Http://ctags.sourceforge.net/You can use: ctags-version to check whether the current ctags version is emacs.If emacs is installed, you must use the ctags address above. vim
directory to generate the corresponding tags File
Cd ~ /Www/website
Ctags-R *
At this time ~ Generate a tags file under the/www/website directory
Now let's go to VIM and execute the following command:
: Cd ~ /Www/website "switch the current directory ~ /Www/website: SetTags = tags "set the
Authoring GTK Source-level vim Help document tagsReason
That only see the source code. On the Linux source has a website http://lxr.linux.no/+trees, can be very aspects to find out the corresponding version of the code implementation, GTK did not. Then do it yourself.
I have been using VIM, I think of Ctags + vim + gtk3 corresponding source package t
Open DREAMWEAVER, new HTML, such as:properties of the body:bgcolor page background colorBackground background wallpaper, picturestext text color TopMargin top marginLeftMargin left marginRightMargin Right MarginBottomMargin Bottom marginExample Body Property usage:Format Control Tags:Controls the color, font, and size of the font, respectively. font Bold font Bold Tilt Tilt underline Center ( before and after the default, if there are
display the file tree on the right, add this configuration. The default value is left. : NERDTree (use commands in normal mode) to display the file list.Function jumpCtags (software, which must be installed separately) software that generates multilingual tag files. Ctags-R *. c (use the command in shell) to generate the tag of all. c files in the current path.-R indicates recursion. : Ta tag or [g] ctrl-] list tags (multiple
http://blog.csdn.net/pipisorry/article/details/395084171. Replace VI with VIMVim is more powerful than VI, Vim is a superset of VI, and can solve many of the problems of habit, so it is necessary to use Vim to replace VI. Simply speaking, you can directly use the "Alias Vi=vim" command, but this can only be useful in this launch, the next time after the start, t
Display Mode of html tags (Block-level tags, intra-row tags, intra-row block tags) and Label display mode
During the lecture today, we talked about the tag display mode in html, which is roughly divided into block-level labels and intra-Row labels. When using tags, beginners
:
Exit command is, press ESC to jump to command mode, and then enter: Q (not saved) or: Wq (save) exit. more exit Commands:
: w save file but not exit VI: W file will be modified to save in file, do not exit VI: w! Mandatory save, do not launch VI: Wq save file and Exit VI: wq! Force file to save and Exit VI: Q Do not save files, exit VI: q! Do not save file, Force exit VI: e! Discard all modifications and edit command history from the last save file
Commands with: and/start with history, you ca
17. Vim Introduction, Vim color display and move cursor, VIM general mode move cursor, VIM general mode copy, cut and pasteI. Introduction of VIMVim:vi version of the upgrade, the difference is: VI when editing text will not display color, and vim will.Its configuration file
5.1 Vim Introduction 5.2 Vim color display and move cursor
5.3 Vim General mode move cursor
5.4 Vim General mode copy, cut and paste
Vim is an upgraded version of VIVim with color displayInstalling Vim:yum install-y vim
I. Introduction of VIMVim is a powerful text editor, the upgrade version of VI, with color display, the default has three modes: General mode, command mode, edit modeInstall Vim[Email protected] ~]# VIM/ETC/PASSWD-bash:vim: Command not found[Email protected] ~]#[email protected] ~]# Yum install-y vim-enhanced...second, color display, Move Cursor[[email protected
Classification of HTML tags
When talking about label classification, we as beginners in the first use of the label will find some properties on some labels do not work, such as wide, high, horizontal center, in fact, the use of this property is only used on block-level labels to function. Personally, this is a very easy place for beginners to overlook, so I'll write it down!
First, we can divide the HTML tags
First, prefaceThis article will introduce the new semantic tags in HTML5 and support the compatibility of these tags in ie5.5~9 (IE9 has started to support some HTML5 new tags).Directory One lump:Second, semantic tags: article, aside, time, Mark, section, header, footer, Hgroup, progress, figure, figcaption, nav, meter
Tags: vim edit mode VIM Command mode18, vim into the editing mode, Vim command mode, VIM practiceFirst, vim into the editing modeedit Mode : You cannot modify a character in general mod
HTML5 does not support tags or new tags, and html5 does not support new tags
1. tags not supported or not supported by HTML5
-- Define the abbreviation of the first letter, which is not supported by html5. Use
-- Defines the embedded applet, which is not supported in HTML5. Use the object element label instead.
--
Specific Solutions
/*e/class/t_functions.phpSearch*/
The code is as follows
Copy Code
$str. = $jg. ' $JG = $br? ': $SHOWJG;
* Change to * *
The code is as follows
Copy Code
if (!empty ($r [$i])) {$str. = $jg. ' $JG = $br? ': $SHOWJG;}
Personal summary, appear blank label is certainly not a system of problems, I just judge if it is empty label on the filter, we can refer to the following Imperial CMS system
When using the VI Editor, we found that the ESC key cannot be returned to the default mode. input the: HELP command, and we found that vim-tiny installed by default in Ubuntu is not complete in many functions. Install complete Vim for convenience. Note: In ubuntu, the VI and VIM commands actually use vim.
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.