vim: add plugins, tmux: status bar, fix Ctrl+A clash
- Add vim-gitgutter, vim-commentary, vim-surround via install script - Rebind git log widget from Ctrl+A to Ctrl+T (tmux prefix clash) - Add date, time, and battery indicator to tmux status bar - Set tmux clock colour to teal Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -91,7 +91,7 @@ _dots_load_keybindings() {
|
||||
zle -N _dots_find_in_files_widget
|
||||
bindkey '^F' _dots_find_in_files_widget
|
||||
|
||||
# Ctrl+A: git log browser
|
||||
# Ctrl+Q: git log browser
|
||||
_dots_git_log_widget() {
|
||||
local commit
|
||||
commit="$(git log --oneline --color --decorate -50 2>/dev/null \
|
||||
@@ -103,7 +103,7 @@ _dots_load_keybindings() {
|
||||
zle accept-line
|
||||
}
|
||||
zle -N _dots_git_log_widget
|
||||
bindkey '^A' _dots_git_log_widget
|
||||
bindkey '^Q' _dots_git_log_widget
|
||||
|
||||
# Ctrl+K: command help lookup
|
||||
_dots_help_widget() {
|
||||
|
||||
Reference in New Issue
Block a user