From f381d24007454b22a1c7d4ca5eb5b9f2ce04d50d Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 25 Jan 2023 20:30:33 +0000 Subject: Add more bindkeys for better integration with neovim --- 98-bindkeys.zsh | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to '98-bindkeys.zsh') diff --git a/98-bindkeys.zsh b/98-bindkeys.zsh index 066a70b..0d63dce 100644 --- a/98-bindkeys.zsh +++ b/98-bindkeys.zsh @@ -15,3 +15,70 @@ bindkey -v '' backward-delete-char autoload edit-command-line zle -N edit-command-line bindkey '' edit-command-line + +nvim-feed-keys() { + keys=${1/\'/\\\'} + keys=${keys/\\/\\\\} + python3 - <