aboutsummaryrefslogtreecommitdiff
path: root/autoload/surround.kak
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/surround.kak')
-rw-r--r--autoload/surround.kak17
1 files changed, 17 insertions, 0 deletions
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 "c<lt>div,<lt>/div<gt><ret>" "<lt>div<gt>" "<lt>/div<gt>"
+
+
+# declare-option range-specs ghost_completion;
+# add-highlighter global/ replace-ranges ghost_completion
+
+# hook global ModeChange .*:insert:.* %{
+# unset buffer ghost_completion
+# }
+
+# map global insert <c-o> '<a-;>: appsugg<ret>'
+
+# def appsugg %{
+# set buffer ghost_completion %val{timestamp} %sh{
+# result=$(ai "$kak_selections")
+# echo -e "$kak_selection_desc|{comment}$result{Default}"
+# }
+# }