File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ Commands | Descriptions
4949` ,f ` | Search in the project
5050` ,o ` | Open github file/line (website), if used git in ** github**
5151` ,sh ` | Open shell terminal inside Vim
52- ` ,ga ` | git add ** . **
53- ` ,gc ` | git commit -m
52+ ` ,ga ` | Execute * git add* on current file
53+ ` ,gc ` | git commit (splits window to write commit message)
5454` ,gsh ` | git push
5555` ,gll ` | git pull
5656` ,gs ` | git status
Original file line number Diff line number Diff line change @@ -287,10 +287,10 @@ noremap <Leader>h :<C-u>split<CR>
287287noremap <Leader> v :<C-u> vsplit<CR>
288288
289289" " Git
290- noremap <Leader> ga :!git add . <CR>
291- noremap <Leader> gc :!git commit -m ' <C-R> ="'" <CR>
292- noremap <Leader> gsh :!git push <CR>
293- noremap <Leader> gll :!git pull <CR>
290+ noremap <Leader> ga :Gwrite <CR>
291+ noremap <Leader> gc :Gcommit <CR>
292+ noremap <Leader> gsh :Gpush <CR>
293+ noremap <Leader> gll :Gpull <CR>
294294noremap <Leader> gs :Gstatus<CR>
295295noremap <Leader> gb :Gblame<CR>
296296noremap <Leader> gd :Gvdiff<CR>
You can’t perform that action at this time.
0 commit comments