Compare commits
2 commits
ead1a91c95
...
a65c072fcb
Author | SHA1 | Date | |
---|---|---|---|
a65c072fcb | |||
c02caefa6a |
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue