mirror of
				https://github.com/amix/vimrc
				synced 2025-10-27 18:55:04 +08:00 
			
		
		
		
	 3f1cdba799
			
		
	
	3f1cdba799
	
	
	
		
			
			Added update_plugins.py which can fetch new plugins from GitHub. New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
		
			
				
	
	
		
			8 lines
		
	
	
		
			198 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			198 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| std::vector<char> v;
 | |
| if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) {
 | |
| 	char buf[1024];
 | |
| 	while (size_t len = fread(buf, 1, sizeof(buf), $2))
 | |
| 		v.insert(v.end(), buf, buf + len);
 | |
| 	fclose($2);
 | |
| }${3}
 |