git commands
This commit is contained in:
parent
023042f8e1
commit
2988922ae5
6
vimrc
6
vimrc
|
@ -164,8 +164,14 @@ inoremap jk <esc>
|
||||||
nnoremap A :call Checksemicolon()<CR>
|
nnoremap A :call Checksemicolon()<CR>
|
||||||
|
|
||||||
nnoremap <leader>co :!clear;
|
nnoremap <leader>co :!clear;
|
||||||
|
|
||||||
nnoremap <leader>gs :!clear; git status<CR>
|
nnoremap <leader>gs :!clear; git status<CR>
|
||||||
nnoremap <leader>gd :!clear; git diff<CR>
|
nnoremap <leader>gd :!clear; git diff<CR>
|
||||||
|
nnoremap <leader>ga :!clear; git add %<CR>
|
||||||
|
nnoremap <leader>gA :!clear; git add .<CR>
|
||||||
|
nnoremap <leader>gc :!clear; git commit -m ''<Left>
|
||||||
|
nnoremap <leader>gp :!clear; git push<CR>
|
||||||
|
nnoremap <leader>gl :!clear; git log<CR>
|
||||||
|
|
||||||
" netrw
|
" netrw
|
||||||
nnoremap <leader>ex :Ex<CR>
|
nnoremap <leader>ex :Ex<CR>
|
||||||
|
|
Loading…
Reference in New Issue