vim mappings for easier left / right navigation
This commit is contained in:
		
							parent
							
								
									06d6cff7e1
								
							
						
					
					
						commit
						194955ab3d
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		
							
								
								
									
										10
									
								
								vimrc
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								vimrc
									
										
									
									
									
								
							|  | @ -34,8 +34,14 @@ autocmd FileType python setlocal sts=4 sw=4 expandtab | ||||||
| 
 | 
 | ||||||
| " maps | " maps | ||||||
| nmap <Space> <C-W> | nmap <Space> <C-W> | ||||||
| nmap j gj | nnoremap h <BS> | ||||||
| nmap k gk | nnoremap j gj | ||||||
|  | nnoremap k gk | ||||||
|  | nnoremap l <Space> | ||||||
|  | vnoremap h <BS> | ||||||
|  | vnoremap j gj | ||||||
|  | vnoremap k gk | ||||||
|  | vnoremap l <Space> | ||||||
| 
 | 
 | ||||||
| " still have to deal with old vim versions :< | " still have to deal with old vim versions :< | ||||||
| if v:version >= 703 | if v:version >= 703 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue