Vim Text indent

Error message

Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4698 of /home/projects/peter-j-lord/sites/all/libraries/geshi/geshi.php).
Rating: 
+1
+178
-1
Clone this Snippet

Text indent

:set autoindent 	Turn on auto-indent
:set smartindent 	Turn on intelligent auto-indent
:set shiftwidth=4 	Defines 4 spaces as indent size
ctrl-t, ctrl-d 	Indent/un-indent in insert mode
>> 	Indent
<< 	Un-indent
=% 	Indent the code between parenthesis
1GVG= 	Indent the whole file
Category: 
Vim