From c63d05d086628bbec5ef2791b911b37cf91218fc Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 7 Jan 2020 04:41:52 -0500 Subject: [PATCH] escape with fd --- dotfiles/kakoune.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/kakoune.nix b/dotfiles/kakoune.nix index 04775e2..34843ca 100644 --- a/dotfiles/kakoune.nix +++ b/dotfiles/kakoune.nix @@ -162,6 +162,12 @@ in { map global surround d ': delete-surround' -docstring 'Delete' map global surround t ': select-surrounding-tag' -docstring 'Select tag' map global user s ':enter-user-mode surround' -docstring 'Surround' + + # escape with fd + hook global InsertChar d %{ try %{ + exec -draft hH fd d + exec + }} ''; };