Adds left and right arrow key action and adds compile / open shortcuts
This commit is contained in:
		
							parent
							
								
									f609ac5112
								
							
						
					
					
						commit
						319b2b33b8
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								.vimrc
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								.vimrc
									
										
									
									
									
								
							|  | @ -348,6 +348,16 @@ nnoremap <Up> ddkP | |||
| nnoremap <Right> xp | ||||
| nnoremap <Left> xhP | ||||
| 
 | ||||
| " Move lines up/down/left/right using arrow keys | ||||
| nnoremap <Down> ddp | ||||
| nnoremap <Up> ddkP | ||||
| nnoremap <Right> xp | ||||
| nnoremap <Left> xhP | ||||
| 
 | ||||
| " Compiles documents | ||||
| nnoremap <leader>cc :w! \| !compiler <c-r>%<CR><CR> | ||||
| nnoremap <leader>co :!opout <c-r>%<CR><CR> | ||||
| 
 | ||||
| " Activate spelling | ||||
| nnoremap <F7> :set spell!<cr> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue