Tweak aliases
This commit is contained in:
		
							parent
							
								
									91242ac2a6
								
							
						
					
					
						commit
						60605d13d0
					
				
							
								
								
									
										4
									
								
								aliases
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								aliases
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -176,6 +176,10 @@ alias gcm="git commit -m"
 | 
			
		|||
alias gcms="git commit -S -m"
 | 
			
		||||
alias gco='git checkout'
 | 
			
		||||
alias gco-='git checkout -'
 | 
			
		||||
git_checkout_build() {
 | 
			
		||||
  git checkout "$1" ; b
 | 
			
		||||
}
 | 
			
		||||
alias gcoo=git_checkout_build
 | 
			
		||||
alias gcob='git checkout -b'
 | 
			
		||||
alias gcon='vi .git/config'
 | 
			
		||||
alias gcp='git cherry-pick'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								vimrc
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -528,8 +528,10 @@ noremap <F12> :TagbarToggle<cr>
 | 
			
		|||
" GITGUTTER
 | 
			
		||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 | 
			
		||||
 | 
			
		||||
let g:gitgutter_enabled = 0
 | 
			
		||||
let g:gitgutter_highlight_lines = 1
 | 
			
		||||
nmap <Leader>ha <Plug>GitGutterStageHunk
 | 
			
		||||
nmap <leader>ha <Plug>GitGutterStageHunk
 | 
			
		||||
nmap <leader>hh :GitGutterToggle
 | 
			
		||||
nmap [h <Plug>GitGutterNextHunk
 | 
			
		||||
nmap ]h <Plug>GitGutterPrevHunk
 | 
			
		||||
" Run on file save. Realtime update is disabled in after/plugins/gitgutter.vim
 | 
			
		||||
| 
						 | 
				
			
			@ -845,7 +847,7 @@ noremap <F10> :call HideBuildResultsAndClearErrors()<cr>
 | 
			
		|||
" Optimizations off
 | 
			
		||||
nnoremap <leader>b :AsyncRun! -save=2 ./build*<cr>
 | 
			
		||||
" Optimizations on
 | 
			
		||||
nnoremap <leader>bb :AsyncRun! -save=2 ./build* -o 1<cr>
 | 
			
		||||
nnoremap <leader>bb :AsyncRun! -save=2 ./build -o 1<cr>
 | 
			
		||||
nnoremap <F8> :call SilentBuild()<cr>
 | 
			
		||||
 | 
			
		||||
" Execute run script
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user