Minor updates to .vimrc
Use a dot for trailing spaces in list view. Move comments off of remap lines (I didn't realize Vim treated the entire line as part of the macro (i.e. NO LINE-END COMMENTS).
This commit is contained in:
		
							parent
							
								
									2e179229fc
								
							
						
					
					
						commit
						83d4a9af28
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		
							
								
								
									
										9
									
								
								vimrc
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								vimrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -37,7 +37,7 @@ set fo+=2	        " format paragraphs with first line indent different
 | 
			
		|||
set list
 | 
			
		||||
set lcs+=tab:▸\ 	" show tabs
 | 
			
		||||
set lcs+=eol:¬		" show end-of-lines
 | 
			
		||||
set lcs+=trail:.        " show trailing spaces
 | 
			
		||||
set lcs+=trail:・        " show trailing spaces
 | 
			
		||||
set lcs+=extends:#      " show long lines (that go offscreen)
 | 
			
		||||
set lcs+=nbsp:.         " show non-breaking spaces
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -46,8 +46,10 @@ set smartcase           " case-sensitive search if pattern contains a capital
 | 
			
		|||
set incsearch           " show search matches as you type
 | 
			
		||||
set hlsearch            " highlight search matches
 | 
			
		||||
set gdefault		" apply searches globally to a line by default
 | 
			
		||||
nnoremap / /\v		" use PCREs for searches in normal mode
 | 
			
		||||
vnoremap / /\v		" ditto for visual mode
 | 
			
		||||
 | 
			
		||||
" use PCREs for searches
 | 
			
		||||
nnoremap / /\v
 | 
			
		||||
vnoremap / /\v
 | 
			
		||||
 | 
			
		||||
set spelllang=en        " set spelling language
 | 
			
		||||
if has('win32') || has('win64')
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +67,6 @@ set undolevels=1000     " keep lots of undo history
 | 
			
		|||
set viminfo=%100,'100,/100,h,\"500,:100,n~/.viminfo
 | 
			
		||||
                        " I have *NO* idea what this does...
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
set backspace=indent,eol,start
 | 
			
		||||
                        " backspace over everything in insert mode
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue