Add shortcut for git log viewing
This commit is contained in:
parent
94e0f5ee0e
commit
041bbd24e6
1 changed files with 6 additions and 1 deletions
|
@ -57,7 +57,8 @@
|
|||
(nmap "<leader>tt" ":ToggleTerm<CR>" // desc "[T]oggle Terminal")
|
||||
# Fugitive
|
||||
(nmap "<leader>gc" ":Git commit -a<CR>" // desc "[C]ommit" )
|
||||
(nmap "<leader>gp" ":Git push<CR>" // desc "[P]ush")
|
||||
(nmap "<leader>gp" ":Git push<CR>" // desc "Git [p]ush")
|
||||
(nmap "<leader>gP" ":Git pull<CR>" // desc "[P]ull")
|
||||
# Window Management
|
||||
(nmap "<leader>wh" ":wincmd h<CR>" // desc "Move left")
|
||||
(nmap "<leader>wl" ":wincmd l<CR>" // desc "Move right")
|
||||
|
@ -168,6 +169,10 @@
|
|||
action = "git_status";
|
||||
desc = "Search [G]it [S]tatus";
|
||||
};
|
||||
"<leader>gl" = {
|
||||
action = "git_commits";
|
||||
desc = "View [G]it [L]ogs";
|
||||
};
|
||||
"<leader>r" = {
|
||||
action = "oldfiles";
|
||||
desc = "Search [R]ecently opened files by name";
|
||||
|
|
Loading…
Reference in a new issue