From 73a9be025659a9b36a9284e160a9aee995db5314 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 5 Nov 2025 21:56:06 +0530 Subject: Add some buffer keys and buffers-show command --- autoload/surround.kak | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'autoload/surround.kak') diff --git a/autoload/surround.kak b/autoload/surround.kak index 2df301c..3ce248d 100644 --- a/autoload/surround.kak +++ b/autoload/surround.kak @@ -17,3 +17,20 @@ # define-surround '"' '"' '"' '"' # define-surround "'" "'" "'" "'" # define-surround t "cdiv,/div" "div" "/div" + + +# declare-option range-specs ghost_completion; +# add-highlighter global/ replace-ranges ghost_completion + +# hook global ModeChange .*:insert:.* %{ +# unset buffer ghost_completion +# } + +# map global insert ': appsugg' + +# def appsugg %{ +# set buffer ghost_completion %val{timestamp} %sh{ +# result=$(ai "$kak_selections") +# echo -e "$kak_selection_desc|{comment}$result{Default}" +# } +# } -- cgit v1.3.1