mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	updated for version 7.3.760
Problem: dv_ deletes the white space before the line. Solution: Move the cursor to the first non-white. (Christian Brabandt)
This commit is contained in:
		| @@ -1,4 +1,5 @@ | ||||
| Tests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set. | ||||
| Also test that dv_ works correctly | ||||
|  | ||||
| STARTTEST | ||||
| :so small.vim | ||||
| @@ -16,7 +17,9 @@ r | ||||
| :" Test that copyindent works with expandtab set | ||||
| :set expandtab smartindent copyindent ts=8 sw=8 sts=8 | ||||
| o{ | ||||
| x:?^start?,$w! test.out | ||||
| x:set nosol | ||||
| /Second line/ | ||||
| fwdv_:?^start?,$w! test.out | ||||
| :qa! | ||||
| ENDTEST | ||||
|  | ||||
| @@ -27,3 +30,4 @@ test text | ||||
|     a cde | ||||
|     f ghi | ||||
| test text | ||||
|   Second line beginning with whitespace | ||||
|   | ||||
| @@ -7,3 +7,4 @@ test text | ||||
| test text | ||||
| { | ||||
|         x | ||||
|   with whitespace | ||||
|   | ||||
		Reference in New Issue
	
	Block a user