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 + }} ''; };