Vim Read/Write files

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
+231
-1
Clone this Snippet

Read/Write files

:1,10 w outfile 	Saves lines 1 to 10 in outfile
:1,10 w >> outfile 	Appends lines 1 to 10 to outfile
:r infile 	Insert the content of infile
:23r infile 	Insert the content of infile under line 23
Category: 
Vim