Compare commits

...

2 commits

Author SHA1 Message Date
a65c072fcb
Add zsh keybinds 2024-09-19 20:42:54 +03:00
c02caefa6a
Remove dotdrop template 2024-09-19 20:41:21 +03:00
2 changed files with 12 additions and 1 deletions

View file

@ -2,7 +2,7 @@ local g = vim.g
local o = vim.o
-- Change scale factor with C+ and C-
g.neovide_scale_factor = {{@@ scale_factor|default(1.0) @@}}
g.neovide_scale_factor = 1
local change_scale_factor = function(delta)
g.neovide_scale_factor = g.neovide_scale_factor * delta
end

View file

@ -97,6 +97,17 @@
if [ "''${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
# use <ESC> e to open command in editor
autoload edit-command-line; zle -N edit-command-line
bindkey -M vicmd e edit-command-line
# bind delete in normal mode
bindkey -M vicmd '^[[3~' delete-char
# Rebind fzf to ctrl+f
bindkey '^F' fzf-file-widget
bindkey '^T' transpose-chars
'';
};