зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-04 07:36:08 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			21 строка
		
	
	
		
			320 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 строка
		
	
	
		
			320 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
http://stackoverflow.com/questions/1050640/vim-disable-automatic-newline-at-end-of-file
 | 
						|
 | 
						|
 | 
						|
even if the file was already saved with new lines at the end:
 | 
						|
 | 
						|
vim -b file and once in vim:
 | 
						|
 | 
						|
:set noeol
 | 
						|
:wq
 | 
						|
 | 
						|
done.
 | 
						|
 | 
						|
alternatively you can open files in vim with :e ++bin file
 | 
						|
 | 
						|
Yet another alternative:
 | 
						|
 | 
						|
:set binary
 | 
						|
:set noeol
 | 
						|
:wq
 | 
						|
 |