git commands

This commit is contained in:
ManjaroOne666 2018-03-01 21:35:28 +00:00
parent 023042f8e1
commit 2988922ae5
1 changed files with 6 additions and 0 deletions

6
vimrc
View File

@ -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>