mirror of
https://github.com/nmasur/dotfiles
synced 2025-08-23 06:44:41 +00:00
Compare commits
2 Commits
56d10c2765
...
f9bf763f91
Author | SHA1 | Date | |
---|---|---|---|
|
f9bf763f91 | ||
|
ca20fa0732 |
@@ -147,7 +147,9 @@ in
|
||||
"keep_primary_selection"
|
||||
];
|
||||
|
||||
space.q = ":quit";
|
||||
# Quit shortcuts
|
||||
space.q = ":quit-all";
|
||||
space.x = ":quit-all!";
|
||||
|
||||
# Enable and disable inlay hints
|
||||
space.H = ":toggle lsp.display-inlay-hints";
|
||||
@@ -171,8 +173,8 @@ in
|
||||
":set mouse true"
|
||||
];
|
||||
|
||||
# Open git blame in github
|
||||
space.B = ":sh git blame -L %{cursor_line},%{cursor_line} %{buffer_name}";
|
||||
# Commandline git blame
|
||||
space.B = ":echo %sh{git log -n1 --date=short --pretty=format:'%%h %%ad %%s' $(git blame -L %{cursor_line},+1 %{buffer_name} | cut -d' ' -f1)}";
|
||||
|
||||
# Open yazi
|
||||
# https://github.com/sxyazi/yazi/pull/2461
|
||||
|
Reference in New Issue
Block a user