mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
feat: update keymaps + aliases
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)'
|
||||
|
||||
Reference in New Issue
Block a user