feat: update keymaps + aliases

This commit is contained in:
2023-06-06 15:40:13 +03:00
parent faa3ea8973
commit 3d86e373cf
2 changed files with 2 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ lsp.on_attach(function(client, bufnr)
buffer = bufnr,
remap = false
})
vim.keymap.set("n", "gd", function() vim.diagnostic.open_float() end, {
vim.keymap.set("n", "gD", function() vim.diagnostic.open_float() end, {
desc = "Open diagnostics",
buffer = bufnr,
remap = false

View File

@@ -230,6 +230,7 @@ alias glola="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgr
alias glog='git log --oneline --decorate --graph'
alias gloga='git log --oneline --decorate --graph --all'
alias glp="_git_log_prettily"
alias gls="git ls-files"
alias gm='git merge'
alias gmom='git merge origin/$(git_main_branch)'