From 9f3c2630e1a0135e83e855867c341c4a428de304 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 27 Oct 2026 11:01:52 +0800 Subject: bump: zsh omz->zim --- keybinds.zsh | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'keybinds.zsh') diff --git a/keybinds.zsh b/keybinds.zsh index 73bafc6..8a0a832 100755 --- a/keybinds.zsh +++ b/keybinds.zsh @@ -1,21 +1,14 @@ -## -## Keybindings -## - bindkey '^[[H' beginning-of-line bindkey '^[[F' end-of-line -bindkey -s '^K' 'ls^M' -bindkey -s '^o' '_smooth_fzf^M' +# bindkey -s '^K' 'ls^M' +# bindkey -s '^o' '_smooth_fzf^M' -# prepend sudo on the current commmand -bindkey -M emacs '' _sudo_command_line -bindkey -M vicmd '' _sudo_command_line -bindkey -M viins '' _sudo_command_line +# accept autosuggestion (from fish ctrl-f) +bindkey '^F' autosuggest-accept # fix backspace and other stuff in vi-mode bindkey -M viins '\e/' _vi_search_fix bindkey "^?" backward-delete-char -#bindkey "^H" backward-delete-char bindkey "^U" backward-kill-line # check if not tty # if tty, it might break backspace/delete @@ -23,5 +16,3 @@ if [[ $DISPLAY ]]; then bindkey '^H' backward-kill-word bindkey '5~' kill-word fi - -# vim:ft=zsh:nowrap -- cgit v1.2.3