From ee6de8413797a612f75e54a862559c3fedf6e3b0 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Fri, 12 Oct 2018 21:32:10 +0300 Subject: [PATCH] fix some option names --- rc/fzf.kak | 656 ++++++++++++++++++++++++++--------------------------- 1 file changed, 328 insertions(+), 328 deletions(-) diff --git a/rc/fzf.kak b/rc/fzf.kak index 1c520bc..61ad143 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -296,25 +296,6 @@ define-command -hidden fzf-tag %{ evaluate-commands %sh{ eval echo 'fzf \"ctags-search \$1\" \"$cmd\" \"--expect ctrl-w $additional_flags\"' }} -define-command -hidden fzf-tag-kind -params 1 %{ evaluate-commands %sh{ - case $1 in - readtags*) - cmd=$1 ;; - *) - cmd="readtags -Q \\\"(eq? \\\$kind \\\"$1\\\")\\\" -l | cut -f1" ;; - esac - echo "echo -debug %{$cmd}" - title="fzf tag kind $1" - [ ! -z "${kak_client_env_TMUX}" ] && additional_keybindings=" -: open tag in horizontal split -: open tag in vertical split" - message="Jump to a symbol''s definition.: open tag in new buffer. -: open tag in new window $additional_keybindings" - echo "info -title '$title' '$message'" - [ ! -z "${kak_client_env_TMUX}" ] && additional_flags="--expect ctrl-v --expect ctrl-s" - eval echo 'fzf \"ctags-search \$1\" \"$cmd\" \"--expect ctrl-w $additional_flags\"' -}} - define-command -hidden fzf-cd %{ evaluate-commands %sh{ @@ -467,8 +448,8 @@ define-command -hidden fzf-buffer %{ evaluate-commands %sh{ ) > /dev/null 2>&1 < /dev/null & }} -declare-option -docstring "Set of mappings for Ada filetype" \ -str ada " +declare-option -hidden -docstring "Set of mappings for Ada filetype" \ +str fzf_tag_ada " : package specifications : packages : type specifications [off] @@ -496,15 +477,15 @@ str ada " : loops and blocks with no identifier [off] : (ctags internal use)" -declare-option -docstring "Set of mappings for Ant filetype" \ -str ant " +declare-option -hidden -docstring "Set of mappings for Ant filetype" \ +str fzf_tag_ant " : projects : targets : properties(global) : antfiles" -declare-option -docstring "Set of mappings for Asciidoc filetype" \ -str asciidoc " +declare-option -hidden -docstring "Set of mappings for Asciidoc filetype" \ +str fzf_tag_asciidoc " : chapters : sections : level : sections @@ -513,24 +494,24 @@ str asciidoc " : level : sections : anchors" -declare-option -docstring "Set of mappings for Asm filetype" \ -str asm " +declare-option -hidden -docstring "Set of mappings for Asm filetype" \ +str fzf_tag_asm " : defines : labels : macros : types (structs and records) : sections" -declare-option -docstring "Set of mappings for Asp filetype" \ -str asp " +declare-option -hidden -docstring "Set of mappings for Asp filetype" \ +str fzf_tag_asp " : constants : classes : functions : subroutines : variables" -declare-option -docstring "Set of mappings for Autoconf filetype" \ -str autoconf " +declare-option -hidden -docstring "Set of mappings for Autoconf filetype" \ +str fzf_tag_autoconf " : packages : templates : autoconf macros @@ -540,16 +521,16 @@ str autoconf " : automake conditions : definitions" -declare-option -docstring "Set of mappings for AutoIt filetype" \ -str autoit " +declare-option -hidden -docstring "Set of mappings for AutoIt filetype" \ +str fzf_tag_autoit " : functions : regions : global variables : local variables : included scripts" -declare-option -docstring "Set of mappings for Automake filetype" \ -str automake " +declare-option -hidden -docstring "Set of mappings for Automake filetype" \ +str fzf_tag_automake " : directories : programs : manuals @@ -559,12 +540,12 @@ str automake " : datum : conditions" -declare-option -docstring "Set of mappings for Awk filetype" \ -str awk " +declare-option -hidden -docstring "Set of mappings for Awk filetype" \ +str fzf_tag_awk " : functions" -declare-option -docstring "Set of mappings for Basic filetype" \ -str basic " +declare-option -hidden -docstring "Set of mappings for Basic filetype" \ +str fzf_tag_basic " : constants : functions : labels @@ -572,20 +553,20 @@ str basic " : variables : enumerations" -declare-option -docstring "Set of mappings for BETA filetype" \ -str beta " +declare-option -hidden -docstring "Set of mappings for BETA filetype" \ +str fzf_tag_beta " : fragment definitions : all patterns [off] : slots (fragment uses) : patterns (virtual or rebound)" -declare-option -docstring "Set of mappings for Clojure filetype" \ -str clojure " +declare-option -hidden -docstring "Set of mappings for Clojure filetype" \ +str fzf_tag_clojure " : functions : namespaces" -declare-option -docstring "Set of mappings for CMake filetype" \ -str cmake " +declare-option -hidden -docstring "Set of mappings for CMake filetype" \ +str fzf_tag_cmake " : functions : macros : targets @@ -594,8 +575,8 @@ str cmake " : projects : regex" -declare-option -docstring "Set of mappings for C filetype" \ -str c " +declare-option -hidden -docstring "Set of mappings for C filetype" \ +str fzf_tag_c " : macro definitions : enumerators (values inside an enumeration) : function definitions @@ -612,8 +593,8 @@ str c " : function parameters inside function definitions [off] : goto labels [off]" -declare-option -docstring "Set of mappings for C++ filetype" \ -str cpp " +declare-option -hidden -docstring "Set of mappings for C++ filetype" \ +str fzf_tag_cpp " : macro definitions : enumerators (values inside an enumeration) : function definitions @@ -635,19 +616,19 @@ str cpp " : names imported via using scope::symbol [off] : using namespace statements [off]" -declare-option -docstring "Set of mappings for CPreProcessor filetype" \ -str cpreprocessor " +declare-option -hidden -docstring "Set of mappings for CPreProcessor filetype" \ +str fzf_tag_cpreprocessor " : macro definitions : included header files" -declare-option -docstring "Set of mappings for CSS filetype" \ -str css " +declare-option -hidden -docstring "Set of mappings for CSS filetype" \ +str fzf_tag_css " : classes : selectors : identities" -declare-option -docstring "Set of mappings for C# filetype" \ -str c# " +declare-option -hidden -docstring "Set of mappings for C# filetype" \ +str fzf_tag_csharp " : classes : macro definitions : enumerators (values inside an enumeration) @@ -662,13 +643,13 @@ str c# " : structure names : typedefs" -declare-option -docstring "Set of mappings for Ctags filetype" \ -str ctags " +declare-option -hidden -docstring "Set of mappings for Ctags filetype" \ +str fzf_tag_ctags " : language definitions : kind definitions" -declare-option -docstring "Set of mappings for Cobol filetype" \ -str cobol " +declare-option -hidden -docstring "Set of mappings for Cobol filetype" \ +str fzf_tag_cobol " : paragraphs : data items : source code file @@ -678,8 +659,8 @@ str cobol " : sections : divisions" -declare-option -docstring "Set of mappings for CUDA filetype" \ -str cuda " +declare-option -hidden -docstring "Set of mappings for CUDA filetype" \ +str fzf_tag_cuda " : macro definitions : enumerators (values inside an enumeration) : function definitions @@ -696,8 +677,8 @@ str cuda " : function parameters inside function definitions [off] : goto labels [off]" -declare-option -docstring "Set of mappings for D filetype" \ -str d " +declare-option -hidden -docstring "Set of mappings for D filetype" \ +str fzf_tag_d " : aliases : classes : enumeration names @@ -717,40 +698,40 @@ str d " : variable definitions : version statements" -declare-option -docstring "Set of mappings for Diff filetype" \ -str diff " +declare-option -hidden -docstring "Set of mappings for Diff filetype" \ +str fzf_tag_diff " : modified files : newly created files : deleted files : hunks" -declare-option -docstring "Set of mappings for DTD filetype" \ -str dtd " +declare-option -hidden -docstring "Set of mappings for DTD filetype" \ +str fzf_tag_dtd " : entities : parameter entities : elements : attributes : notations" -declare-option -docstring "Set of mappings for DTS filetype" \ -str dts " +declare-option -hidden -docstring "Set of mappings for DTS filetype" \ +str fzf_tag_dts " : phandlers : labels : regex" -declare-option -docstring "Set of mappings for DosBatch filetype" \ -str dosbatch " +declare-option -hidden -docstring "Set of mappings for DosBatch filetype" \ +str fzf_tag_dosbatch " : labels : variables" -declare-option -docstring "Set of mappings for Eiffel filetype" \ -str eiffel " +declare-option -hidden -docstring "Set of mappings for Eiffel filetype" \ +str fzf_tag_eiffel " : classes : features : local entities [off]" -declare-option -docstring "Set of mappings for Elm filetype" \ -str elm " +declare-option -hidden -docstring "Set of mappings for Elm filetype" \ +str fzf_tag_elm " : Module : Renamed Imported Module : Port @@ -759,24 +740,24 @@ str elm " : Type Alias : Functions" -declare-option -docstring "Set of mappings for Erlang filetype" \ -str erlang " +declare-option -hidden -docstring "Set of mappings for Erlang filetype" \ +str fzf_tag_erlang " : macro definitions : functions : modules : record definitions : type definitions" -declare-option -docstring "Set of mappings for Falcon filetype" \ -str falcon " +declare-option -hidden -docstring "Set of mappings for Falcon filetype" \ +str fzf_tag_falcon " : classes : functions : class members : variables : imports" -declare-option -docstring "Set of mappings for Flex filetype" \ -str flex " +declare-option -hidden -docstring "Set of mappings for Flex filetype" \ +str fzf_tag_flex " : functions : classes : methods @@ -784,8 +765,8 @@ str flex " : global variables : mxtags" -declare-option -docstring "Set of mappings for Fortran filetype" \ -str fortran " +declare-option -hidden -docstring "Set of mappings for Fortran filetype" \ +str fzf_tag_fortran " : block data : common blocks : entry points @@ -806,19 +787,19 @@ str fortran " : program (global) and module variables : submodules" -declare-option -docstring "Set of mappings for Fypp filetype" \ -str fypp " +declare-option -hidden -docstring "Set of mappings for Fypp filetype" \ +str fzf_tag_fypp " : macros" -declare-option -docstring "Set of mappings for Gdbinit filetype" \ -str gdbinit " +declare-option -hidden -docstring "Set of mappings for Gdbinit filetype" \ +str fzf_tag_gdbinit " : definitions : documents [off] : toplevel variables : local variables [off]" -declare-option -docstring "Set of mappings for Go filetype" \ -str go " +declare-option -hidden -docstring "Set of mappings for Go filetype" \ +str fzf_tag_go " : packages : functions : constants @@ -831,28 +812,28 @@ str go " : unknown : name for specifying imported package" -declare-option -docstring "Set of mappings for HTML filetype" \ -str html " +declare-option -hidden -docstring "Set of mappings for HTML filetype" \ +str fzf_tag_html " : named anchors : H1 headings : H2 headings : H3 headings" -declare-option -docstring "Set of mappings for Iniconf filetype" \ -str iniconf " +declare-option -hidden -docstring "Set of mappings for Iniconf filetype" \ +str fzf_tag_iniconf " : sections : keys" -declare-option -docstring "Set of mappings for ITcl filetype" \ -str itcl " +declare-option -hidden -docstring "Set of mappings for ITcl filetype" \ +str fzf_tag_itcl " : classes : methods : object-specific variables : common variables : procedures within the class namespace" -declare-option -docstring "Set of mappings for Java filetype" \ -str java " +declare-option -hidden -docstring "Set of mappings for Java filetype" \ +str fzf_tag_java " : annotation declarations : classes : enum constants @@ -863,12 +844,12 @@ str java " : methods : packages" -declare-option -docstring "Set of mappings for JavaProperties filetype" \ -str javaproperties " +declare-option -hidden -docstring "Set of mappings for JavaProperties filetype" \ +str fzf_tag_javaproperties " : keys" -declare-option -docstring "Set of mappings for JavaScript filetype" \ -str javascript " +declare-option -hidden -docstring "Set of mappings for JavaScript filetype" \ +str fzf_tag_javascript " : functions : classes : methods @@ -877,8 +858,8 @@ str javascript " : global variables : generators" -declare-option -docstring "Set of mappings for JSON filetype" \ -str json " +declare-option -hidden -docstring "Set of mappings for JSON filetype" \ +str fzf_tag_json " : objects : arrays : numbers @@ -886,39 +867,39 @@ str json " : booleans : nulls" -declare-option -docstring "Set of mappings for LdScript filetype" \ -str ldscript " +declare-option -hidden -docstring "Set of mappings for LdScript filetype" \ +str fzf_tag_ldscript " : sections : symbols : versions : input sections" -declare-option -docstring "Set of mappings for Lisp filetype" \ -str lisp " +declare-option -hidden -docstring "Set of mappings for Lisp filetype" \ +str fzf_tag_lisp " : functions" -declare-option -docstring "Set of mappings for Lua filetype" \ -str lua " +declare-option -hidden -docstring "Set of mappings for Lua filetype" \ +str fzf_tag_lua " : functions" -declare-option -docstring "Set of mappings for M4 filetype" \ -str m4 " +declare-option -hidden -docstring "Set of mappings for M4 filetype" \ +str fzf_tag_m4 " : macros : macro files" -declare-option -docstring "Set of mappings for Man filetype" \ -str man " +declare-option -hidden -docstring "Set of mappings for Man filetype" \ +str fzf_tag_man " : titles : sections" -declare-option -docstring "Set of mappings for Make filetype" \ -str make " +declare-option -hidden -docstring "Set of mappings for Make filetype" \ +str fzf_tag_make " : macros : targets : makefiles" -declare-option -docstring "Set of mappings for Markdown filetype" \ -str markdown " +declare-option -hidden -docstring "Set of mappings for Markdown filetype" \ +str fzf_tag_markdown " : chapsters : sections : subsections @@ -927,14 +908,14 @@ str markdown " : level : subsections : regex" -declare-option -docstring "Set of mappings for MatLab filetype" \ -str matlab " +declare-option -hidden -docstring "Set of mappings for MatLab filetype" \ +str fzf_tag_matlab " : function : variable : class" -declare-option -docstring "Set of mappings for Myrddin filetype" \ -str myrddin " +declare-option -hidden -docstring "Set of mappings for Myrddin filetype" \ +str fzf_tag_myrddin " : functions : constants : variables @@ -942,8 +923,8 @@ str myrddin " : traits : packages" -declare-option -docstring "Set of mappings for ObjectiveC filetype" \ -str objectivec " +declare-option -hidden -docstring "Set of mappings for ObjectiveC filetype" \ +str fzf_tag_objectivec " : class interface : class implementation : Protocol @@ -958,8 +939,8 @@ str objectivec " : An enumeration : : preprocessor macro" -declare-option -docstring "Set of mappings for OldC++ [disabled] filetype" \ -str oldc++ [disabled] " +declare-option -hidden -docstring "Set of mappings for OldC++ [disabled] filetype" \ +str fzf_tag_oldc++ [disabled] " : classes : macro definitions : enumerators (values inside an enumeration) @@ -977,8 +958,8 @@ str oldc++ [disabled] " : external and forward variable declarations [off] : goto label [off]" -declare-option -docstring "Set of mappings for OldC [disabled] filetype" \ -str oldc [disabled] " +declare-option -hidden -docstring "Set of mappings for OldC [disabled] filetype" \ +str fzf_tag_oldc [disabled] " : classes : macro definitions : enumerators (values inside an enumeration) @@ -996,8 +977,8 @@ str oldc [disabled] " : external and forward variable declarations [off] : goto label [off]" -declare-option -docstring "Set of mappings for OCaml filetype" \ -str ocaml " +declare-option -hidden -docstring "Set of mappings for OCaml filetype" \ +str fzf_tag_ocaml " : classes : Object's method : Module or functor @@ -1009,17 +990,17 @@ str ocaml " : : 'structure' field : An exception" -declare-option -docstring "Set of mappings for Passwd filetype" \ -str passwd " +declare-option -hidden -docstring "Set of mappings for Passwd filetype" \ +str fzf_tag_passwd " : user names" -declare-option -docstring "Set of mappings for Pascal filetype" \ -str pascal " +declare-option -hidden -docstring "Set of mappings for Pascal filetype" \ +str fzf_tag_pascal " : functions : procedures" -declare-option -docstring "Set of mappings for Perl filetype" \ -str perl " +declare-option -hidden -docstring "Set of mappings for Perl filetype" \ +str fzf_tag_perl " : constants : formats : labels @@ -1027,8 +1008,8 @@ str perl " : subroutines : subroutine declarations [off]" -declare-option -docstring "Set of mappings for Perl6 filetype" \ -str perl6 " +declare-option -hidden -docstring "Set of mappings for Perl6 filetype" \ +str fzf_tag_perl6 " : classes : grammars : methods @@ -1040,8 +1021,8 @@ str perl6 " : subroutines : tokens" -declare-option -docstring "Set of mappings for PHP filetype" \ -str php " +declare-option -hidden -docstring "Set of mappings for PHP filetype" \ +str fzf_tag_php " : classes : constant definitions : functions @@ -1052,15 +1033,15 @@ str php " : variables : aliases" -declare-option -docstring "Set of mappings for Pod filetype" \ -str pod " +declare-option -hidden -docstring "Set of mappings for Pod filetype" \ +str fzf_tag_pod " : chapters : sections : subsections : subsubsections" -declare-option -docstring "Set of mappings for Protobuf filetype" \ -str protobuf " +declare-option -hidden -docstring "Set of mappings for Protobuf filetype" \ +str fzf_tag_protobuf " : packages : messages : fields @@ -1069,16 +1050,16 @@ str protobuf " : services : RPC methods [off]" -declare-option -docstring "Set of mappings for PuppetManifest filetype" \ -str puppetmanifest " +declare-option -hidden -docstring "Set of mappings for PuppetManifest filetype" \ +str fzf_tag_puppetmanifest " : classes : definitions : nodes : resources : variables" -declare-option -docstring "Set of mappings for Python filetype" \ -str python " +declare-option -hidden -docstring "Set of mappings for Python filetype" \ +str fzf_tag_python " : classes : functions : class members @@ -1089,69 +1070,69 @@ str python " : function parameters [off] : local variables [off]" -declare-option -docstring "Set of mappings for PythonLoggingConfig filetype" \ -str pythonloggingconfig " +declare-option -hidden -docstring "Set of mappings for PythonLoggingConfig filetype" \ +str fzf_tag_pythonloggingconfig " : logger sections : logger qualnames" -declare-option -docstring "Set of mappings for QemuHX filetype" \ -str qemuhx " +declare-option -hidden -docstring "Set of mappings for QemuHX filetype" \ +str fzf_tag_qemuhx " : QEMU Management Protocol dispatch table entries : item in texinfo doc" -declare-option -docstring "Set of mappings for QtMoc filetype" \ -str qtmoc " +declare-option -hidden -docstring "Set of mappings for QtMoc filetype" \ +str fzf_tag_qtmoc " : slots : signals : properties" -declare-option -docstring "Set of mappings for R filetype" \ -str r " +declare-option -hidden -docstring "Set of mappings for R filetype" \ +str fzf_tag_r " : functions : libraries : sources : global variables : function variables" -declare-option -docstring "Set of mappings for RSpec filetype" \ -str rspec " +declare-option -hidden -docstring "Set of mappings for RSpec filetype" \ +str fzf_tag_rspec " : describes : contexts" -declare-option -docstring "Set of mappings for REXX filetype" \ -str rexx " +declare-option -hidden -docstring "Set of mappings for REXX filetype" \ +str fzf_tag_rexx " : subroutines" -declare-option -docstring "Set of mappings for Robot filetype" \ -str robot " +declare-option -hidden -docstring "Set of mappings for Robot filetype" \ +str fzf_tag_robot " : testcases : keywords : variables" -declare-option -docstring "Set of mappings for RpmSpec filetype" \ -str rpmspec " +declare-option -hidden -docstring "Set of mappings for RpmSpec filetype" \ +str fzf_tag_rpmspec " : tags : macros : packages : global macros" -declare-option -docstring "Set of mappings for ReStructuredText filetype" \ -str restructuredtext " +declare-option -hidden -docstring "Set of mappings for ReStructuredText filetype" \ +str fzf_tag_restructuredtext " : chapters : sections : subsections : subsubsections : targets" -declare-option -docstring "Set of mappings for Ruby filetype" \ -str ruby " +declare-option -hidden -docstring "Set of mappings for Ruby filetype" \ +str fzf_tag_ruby " : classes : methods : modules : singleton methods" -declare-option -docstring "Set of mappings for Rust filetype" \ -str rust " +declare-option -hidden -docstring "Set of mappings for Rust filetype" \ +str fzf_tag_rust " : module : structural type : trait interface @@ -1165,25 +1146,25 @@ str rust " : An enum variant : : method" -declare-option -docstring "Set of mappings for Scheme filetype" \ -str scheme " +declare-option -hidden -docstring "Set of mappings for Scheme filetype" \ +str fzf_tag_scheme " : functions : sets" -declare-option -docstring "Set of mappings for Sh filetype" \ -str sh " +declare-option -hidden -docstring "Set of mappings for Sh filetype" \ +str fzf_tag_sh " : aliases : functions : script files : label for here document" -declare-option -docstring "Set of mappings for SLang filetype" \ -str slang " +declare-option -hidden -docstring "Set of mappings for SLang filetype" \ +str fzf_tag_slang " : functions : namespaces" -declare-option -docstring "Set of mappings for SML filetype" \ -str sml " +declare-option -hidden -docstring "Set of mappings for SML filetype" \ +str fzf_tag_sml " : exception declarations : function definitions : functor definitions @@ -1192,8 +1173,8 @@ str sml " : type definitions : value bindings" -declare-option -docstring "Set of mappings for SQL filetype" \ -str sql " +declare-option -hidden -docstring "Set of mappings for SQL filetype" \ +str fzf_tag_sql " : cursors : prototypes [off] : functions @@ -1218,22 +1199,22 @@ str sql " : MobiLink Conn Scripts : MobiLink Properties " -declare-option -docstring "Set of mappings for SystemdUnit filetype" \ -str systemdunit " +declare-option -hidden -docstring "Set of mappings for SystemdUnit filetype" \ +str fzf_tag_systemdunit " : units" -declare-option -docstring "Set of mappings for Tcl filetype" \ -str tcl " +declare-option -hidden -docstring "Set of mappings for Tcl filetype" \ +str fzf_tag_tcl " : procedures : namespaces" -declare-option -docstring "Set of mappings for TclOO filetype" \ -str tcloo " +declare-option -hidden -docstring "Set of mappings for TclOO filetype" \ +str fzf_tag_tcloo " : classes : methods" -declare-option -docstring "Set of mappings for Tex filetype" \ -str tex " +declare-option -hidden -docstring "Set of mappings for Tex filetype" \ +str fzf_tag_tex " : parts : chapters : sections @@ -1244,8 +1225,8 @@ str tex " : labels : includes" -declare-option -docstring "Set of mappings for TTCN filetype" \ -str ttcn " +declare-option -hidden -docstring "Set of mappings for TTCN filetype" \ +str fzf_tag_ttcn " : module definition : type definition : constant definition @@ -1262,8 +1243,8 @@ str ttcn " : record/set/union member : enumeration value" -declare-option -docstring "Set of mappings for Vera filetype" \ -str vera " +declare-option -hidden -docstring "Set of mappings for Vera filetype" \ +str fzf_tag_vera " : classes : macro definitions : enumerators (values inside an enumeration) @@ -1281,8 +1262,8 @@ str vera " : external variable declarations [off] : included header files" -declare-option -docstring "Set of mappings for Verilog filetype" \ -str verilog " +declare-option -hidden -docstring "Set of mappings for Verilog filetype" \ +str fzf_tag_verilog " : constants (define, parameter, specparam) : events : functions @@ -1293,8 +1274,8 @@ str verilog " : tasks : blocks" -declare-option -docstring "Set of mappings for SystemVerilog filetype" \ -str systemverilog " +declare-option -hidden -docstring "Set of mappings for SystemVerilog filetype" \ +str fzf_tag_systemverilog " : constants (define, parameter, specparam, enum values) : events : functions @@ -1317,8 +1298,8 @@ str systemverilog " : structs and unions : type declarations" -declare-option -docstring "Set of mappings for VHDL filetype" \ -str vhdl " +declare-option -hidden -docstring "Set of mappings for VHDL filetype" \ +str fzf_tag_vhdl " : constant declarations : type definitions : subtype definitions @@ -1331,8 +1312,8 @@ str vhdl " : package definitions : local definitions [off]" -declare-option -docstring "Set of mappings for Vim filetype" \ -str vim " +declare-option -hidden -docstring "Set of mappings for Vim filetype" \ +str fzf_tag_vim " : autocommand groups : user-defined commands : function definitions @@ -1340,8 +1321,8 @@ str vim " : variable definitions : vimball filename" -declare-option -docstring "Set of mappings for WindRes filetype" \ -str windres " +declare-option -hidden -docstring "Set of mappings for WindRes filetype" \ +str fzf_tag_windres " : dialogs : menus : icons @@ -1351,16 +1332,16 @@ str windres " : versions : accelerators" -declare-option -docstring "Set of mappings for YACC filetype" \ -str yacc " +declare-option -hidden -docstring "Set of mappings for YACC filetype" \ +str fzf_tag_yacc " : labels" -declare-option -docstring "Set of mappings for YumRepo filetype" \ -str yumrepo " +declare-option -hidden -docstring "Set of mappings for YumRepo filetype" \ +str fzf_tag_yumrepo " : repository id" -declare-option -docstring "Set of mappings for Zephir filetype" \ -str zephir " +declare-option -hidden -docstring "Set of mappings for Zephir filetype" \ +str fzf_tag_zephir " : classes : constant definitions : functions @@ -1371,158 +1352,177 @@ str zephir " : variables : aliases" -declare-option -docstring "Set of mappings for DBusIntrospect filetype" \ -str dbusintrospect " +declare-option -hidden -docstring "Set of mappings for DBusIntrospect filetype" \ +str fzf_tag_dbusintrospect " : interfaces : methods : signals : properties" -declare-option -docstring "Set of mappings for Glade filetype" \ -str glade " +declare-option -hidden -docstring "Set of mappings for Glade filetype" \ +str fzf_tag_glade " : identifiers : classes : handlers" -declare-option -docstring "Set of mappings for Maven2 filetype" \ -str maven2 " +declare-option -hidden -docstring "Set of mappings for Maven2 filetype" \ +str fzf_tag_maven2 " : group identifiers : artifact identifiers : properties : repository identifiers" -declare-option -docstring "Set of mappings for PlistXML filetype" \ -str plistxml " +declare-option -hidden -docstring "Set of mappings for PlistXML filetype" \ +str fzf_tag_plistxml " : keys" -declare-option -docstring "Set of mappings for RelaxNG filetype" \ -str relaxng " +declare-option -hidden -docstring "Set of mappings for RelaxNG filetype" \ +str fzf_tag_relaxng " : elements : attributes : named patterns" -declare-option -docstring "Set of mappings for SVG filetype" \ -str svg " +declare-option -hidden -docstring "Set of mappings for SVG filetype" \ +str fzf_tag_svg " : id attributes" -declare-option -docstring "Set of mappings for XSLT filetype" \ -str xslt " +declare-option -hidden -docstring "Set of mappings for XSLT filetype" \ +str fzf_tag_xslt " : stylesheets : parameters : matched template : matched template : variables" -declare-option -docstring "Set of mappings for Yaml filetype" \ -str yaml " +declare-option -hidden -docstring "Set of mappings for Yaml filetype" \ +str fzf_tag_yaml " : anchors" -declare-option -docstring "Set of mappings for AnsiblePlaybook filetype" \ -str ansibleplaybook " +declare-option -hidden -docstring "Set of mappings for AnsiblePlaybook filetype" \ +str fzf_tag_ansibleplaybook " : plays" +define-command -hidden fzf-tag-kind -params 1 %{ evaluate-commands %sh{ + case $1 in + readtags*) + cmd=$1 ;; + *) + cmd="readtags -Q \\\"(eq? \\\$kind \\\"$1\\\")\\\" -l | cut -f1" ;; + esac + echo "echo -debug %{$cmd}" + title="fzf tag kind $1" + [ ! -z "${kak_client_env_TMUX}" ] && additional_keybindings=" +: open tag in horizontal split +: open tag in vertical split" + message="Jump to a symbol''s definition.: open tag in new buffer. +: open tag in new window $additional_keybindings" + if [ "$kak_opt_filetype" = "ada" ]; then additional_keybindings="--expect alt-P --expect alt-p --expect alt-T --expect alt-t --expect alt-U --expect alt-u --expect alt-c --expect alt-l --expect alt-V --expect alt-v --expect alt-f --expect alt-n --expect alt-x --expect alt-R --expect alt-r --expect alt-K --expect alt-k --expect alt-O --expect alt-o --expect alt-E --expect alt-e --expect alt-b --expect alt-i --expect alt-a --expect alt-y --expect alt-S"; additional_message=$kak_opt_fzf_tag_ada ; fi + if [ "$kak_opt_filetype" = "ant" ]; then additional_keybindings="--expect alt-p --expect alt-t --expect alt-P --expect alt-i"; additional_message=$kak_opt_fzf_tag_ant ; fi + if [ "$kak_opt_filetype" = "asciidoc" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t --expect alt-T --expect alt-u --expect alt-a"; additional_message=$kak_opt_fzf_tag_asciidoc ; fi + if [ "$kak_opt_filetype" = "asm" ]; then additional_keybindings="--expect alt-d --expect alt-l --expect alt-m --expect alt-t --expect alt-s"; additional_message=$kak_opt_fzf_tag_asm ; fi + if [ "$kak_opt_filetype" = "asp" ]; then additional_keybindings="--expect alt-d --expect alt-c --expect alt-f --expect alt-s --expect alt-v"; additional_message=$kak_opt_fzf_tag_asp ; fi + if [ "$kak_opt_filetype" = "autoconf" ]; then additional_keybindings="--expect alt-p --expect alt-t --expect alt-m --expect alt-w --expect alt-e --expect alt-s --expect alt-c --expect alt-d"; additional_message=$kak_opt_fzf_tag_autoconf ; fi + if [ "$kak_opt_filetype" = "autoit" ]; then additional_keybindings="--expect alt-f --expect alt-r --expect alt-g --expect alt-l --expect alt-S"; additional_message=$kak_opt_fzf_tag_autoit ; fi + if [ "$kak_opt_filetype" = "automake" ]; then additional_keybindings="--expect alt-d --expect alt-P --expect alt-M --expect alt-T --expect alt-L --expect alt-S --expect alt-D --expect alt-c"; additional_message=$kak_opt_fzf_tag_automake ; fi + if [ "$kak_opt_filetype" = "awk" ]; then additional_keybindings="--expect alt-f"; additional_message=$kak_opt_fzf_tag_awk ; fi + if [ "$kak_opt_filetype" = "basic" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-l --expect alt-t --expect alt-v --expect alt-g"; additional_message=$kak_opt_fzf_tag_basic ; fi + if [ "$kak_opt_filetype" = "beta" ]; then additional_keybindings="--expect alt-f --expect alt-p --expect alt-s --expect alt-v"; additional_message=$kak_opt_fzf_tag_beta ; fi + if [ "$kak_opt_filetype" = "clojure" ]; then additional_keybindings="--expect alt-f --expect alt-n"; additional_message=$kak_opt_fzf_tag_clojure ; fi + if [ "$kak_opt_filetype" = "cmake" ]; then additional_keybindings="--expect alt-f --expect alt-m --expect alt-t --expect alt-v --expect alt-D --expect alt-p --expect alt-r"; additional_message=$kak_opt_fzf_tag_cmake ; fi + if [ "$kak_opt_filetype" = "c" ]; then additional_keybindings="--expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-z --expect alt-L"; additional_message=$kak_opt_fzf_tag_c ; fi + if [ "$kak_opt_filetype" = "cpp" ]; then additional_keybindings="--expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-z --expect alt-L --expect alt-c --expect alt-n --expect alt-A --expect alt-N --expect alt-U"; additional_message=$kak_opt_fzf_tag_cpp ; fi + if [ "$kak_opt_filetype" = "cpreprocessor" ]; then additional_keybindings="--expect alt-d --expect alt-h"; additional_message=$kak_opt_fzf_tag_cpreprocessor ; fi + if [ "$kak_opt_filetype" = "css" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-i"; additional_message=$kak_opt_fzf_tag_css ; fi + if [ "$kak_opt_filetype" = "csharp" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-E --expect alt-f --expect alt-g --expect alt-i --expect alt-l --expect alt-m --expect alt-n --expect alt-p --expect alt-s --expect alt-t"; additional_message=$kak_opt_fzf_tag_csharp ; fi + if [ "$kak_opt_filetype" = "ctags" ]; then additional_keybindings="--expect alt-l --expect alt-k"; additional_message=$kak_opt_fzf_tag_ctags ; fi + if [ "$kak_opt_filetype" = "cobol" ]; then additional_keybindings="--expect alt-p --expect alt-d --expect alt-S --expect alt-f --expect alt-g --expect alt-P --expect alt-s --expect alt-D"; additional_message=$kak_opt_fzf_tag_cobol ; fi + if [ "$kak_opt_filetype" = "cuda" ]; then additional_keybindings="--expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-z --expect alt-L"; additional_message=$kak_opt_fzf_tag_cuda ; fi + if [ "$kak_opt_filetype" = "d" ]; then additional_keybindings="--expect alt-a --expect alt-c --expect alt-g --expect alt-e --expect alt-x --expect alt-f --expect alt-i --expect alt-l --expect alt-m --expect alt-X --expect alt-M --expect alt-n --expect alt-p --expect alt-s --expect alt-T --expect alt-u --expect alt-v --expect alt-V"; additional_message=$kak_opt_fzf_tag_d ; fi + if [ "$kak_opt_filetype" = "diff" ]; then additional_keybindings="--expect alt-m --expect alt-n --expect alt-d --expect alt-h"; additional_message=$kak_opt_fzf_tag_diff ; fi + if [ "$kak_opt_filetype" = "dtd" ]; then additional_keybindings="--expect alt-E --expect alt-p --expect alt-e --expect alt-a --expect alt-n"; additional_message=$kak_opt_fzf_tag_dtd ; fi + if [ "$kak_opt_filetype" = "dts" ]; then additional_keybindings="--expect alt-p --expect alt-l --expect alt-r"; additional_message=$kak_opt_fzf_tag_dts ; fi + if [ "$kak_opt_filetype" = "dosbatch" ]; then additional_keybindings="--expect alt-l --expect alt-v"; additional_message=$kak_opt_fzf_tag_dosbatch ; fi + if [ "$kak_opt_filetype" = "eiffel" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-l"; additional_message=$kak_opt_fzf_tag_eiffel ; fi + if [ "$kak_opt_filetype" = "elm" ]; then additional_keybindings="--expect alt-m --expect alt-n --expect alt-p --expect alt-t --expect alt-c --expect alt-a --expect alt-f"; additional_message=$kak_opt_fzf_tag_elm ; fi + if [ "$kak_opt_filetype" = "erlang" ]; then additional_keybindings="--expect alt-d --expect alt-f --expect alt-m --expect alt-r --expect alt-t"; additional_message=$kak_opt_fzf_tag_erlang ; fi + if [ "$kak_opt_filetype" = "falcon" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-m --expect alt-v --expect alt-i"; additional_message=$kak_opt_fzf_tag_falcon ; fi + if [ "$kak_opt_filetype" = "flex" ]; then additional_keybindings="--expect alt-f --expect alt-c --expect alt-m --expect alt-p --expect alt-v --expect alt-x"; additional_message=$kak_opt_fzf_tag_flex ; fi + if [ "$kak_opt_filetype" = "fortran" ]; then additional_keybindings="--expect alt-b --expect alt-c --expect alt-e --expect alt-E --expect alt-f --expect alt-i --expect alt-k --expect alt-l --expect alt-L --expect alt-m --expect alt-M --expect alt-n --expect alt-N --expect alt-p --expect alt-P --expect alt-s --expect alt-t --expect alt-v --expect alt-S"; additional_message=$kak_opt_fzf_tag_fortran ; fi + if [ "$kak_opt_filetype" = "fypp" ]; then additional_keybindings="--expect alt-m"; additional_message=$kak_opt_fzf_tag_fypp ; fi + if [ "$kak_opt_filetype" = "gdbinit" ]; then additional_keybindings="--expect alt-d --expect alt-D --expect alt-t --expect alt-l"; additional_message=$kak_opt_fzf_tag_gdbinit ; fi + if [ "$kak_opt_filetype" = "go" ]; then additional_keybindings="--expect alt-p --expect alt-f --expect alt-c --expect alt-t --expect alt-v --expect alt-s --expect alt-i --expect alt-m --expect alt-M --expect alt-u --expect alt-P"; additional_message=$kak_opt_fzf_tag_go ; fi + if [ "$kak_opt_filetype" = "html" ]; then additional_keybindings="--expect alt-a --expect alt-h --expect alt-i --expect alt-j"; additional_message=$kak_opt_fzf_tag_html ; fi + if [ "$kak_opt_filetype" = "iniconf" ]; then additional_keybindings="--expect alt-s --expect alt-k"; additional_message=$kak_opt_fzf_tag_iniconf ; fi + if [ "$kak_opt_filetype" = "itcl" ]; then additional_keybindings="--expect alt-c --expect alt-m --expect alt-v --expect alt-C --expect alt-p"; additional_message=$kak_opt_fzf_tag_itcl ; fi + if [ "$kak_opt_filetype" = "java" ]; then additional_keybindings="--expect alt-a --expect alt-c --expect alt-e --expect alt-f --expect alt-g --expect alt-i --expect alt-l --expect alt-m --expect alt-p"; additional_message=$kak_opt_fzf_tag_java ; fi + if [ "$kak_opt_filetype" = "javaproperties" ]; then additional_keybindings="--expect alt-k"; additional_message=$kak_opt_fzf_tag_javaproperties ; fi + if [ "$kak_opt_filetype" = "javascript" ]; then additional_keybindings="--expect alt-f --expect alt-c --expect alt-m --expect alt-p --expect alt-C --expect alt-v --expect alt-g"; additional_message=$kak_opt_fzf_tag_javascript ; fi + if [ "$kak_opt_filetype" = "json" ]; then additional_keybindings="--expect alt-o --expect alt-a --expect alt-n --expect alt-s --expect alt-b --expect alt-z"; additional_message=$kak_opt_fzf_tag_json ; fi + if [ "$kak_opt_filetype" = "ldscript" ]; then additional_keybindings="--expect alt-S --expect alt-s --expect alt-v --expect alt-i"; additional_message=$kak_opt_fzf_tag_ldscript ; fi + if [ "$kak_opt_filetype" = "lisp" ]; then additional_keybindings="--expect alt-f"; additional_message=$kak_opt_fzf_tag_lisp ; fi + if [ "$kak_opt_filetype" = "lua" ]; then additional_keybindings="--expect alt-f"; additional_message=$kak_opt_fzf_tag_lua ; fi + if [ "$kak_opt_filetype" = "m4" ]; then additional_keybindings="--expect alt-d --expect alt-I"; additional_message=$kak_opt_fzf_tag_m4 ; fi + if [ "$kak_opt_filetype" = "man" ]; then additional_keybindings="--expect alt-t --expect alt-s"; additional_message=$kak_opt_fzf_tag_man ; fi + if [ "$kak_opt_filetype" = "make" ]; then additional_keybindings="--expect alt-m --expect alt-t --expect alt-I"; additional_message=$kak_opt_fzf_tag_make ; fi + if [ "$kak_opt_filetype" = "markdown" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t --expect alt-T --expect alt-u --expect alt-r"; additional_message=$kak_opt_fzf_tag_markdown ; fi + if [ "$kak_opt_filetype" = "matlab" ]; then additional_keybindings="--expect alt-f --expect alt-v --expect alt-c"; additional_message=$kak_opt_fzf_tag_matlab ; fi + if [ "$kak_opt_filetype" = "myrddin" ]; then additional_keybindings="--expect alt-f --expect alt-c --expect alt-v --expect alt-t --expect alt-r --expect alt-p"; additional_message=$kak_opt_fzf_tag_myrddin ; fi + if [ "$kak_opt_filetype" = "objectivec" ]; then additional_keybindings="--expect alt-i --expect alt-I --expect alt-P --expect alt-m --expect alt-c --expect alt-v --expect alt-E --expect alt-f --expect alt-p --expect alt-t --expect alt-s --expect alt-e --expect alt-M"; additional_message=$kak_opt_fzf_tag_objectivec ; fi + if [ "$kak_opt_filetype" = "oldc++ [disabled]" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-n --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-L"; additional_message=$kak_opt_fzf_tag_oldc++ [disabled] ; fi + if [ "$kak_opt_filetype" = "oldc [disabled]" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-n --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-L"; additional_message=$kak_opt_fzf_tag_oldc [disabled] ; fi + if [ "$kak_opt_filetype" = "ocaml" ]; then additional_keybindings="--expect alt-c --expect alt-m --expect alt-M --expect alt-v --expect alt-p --expect alt-t --expect alt-f --expect alt-C --expect alt-r --expect alt-e"; additional_message=$kak_opt_fzf_tag_ocaml ; fi + if [ "$kak_opt_filetype" = "passwd" ]; then additional_keybindings="--expect alt-u"; additional_message=$kak_opt_fzf_tag_passwd ; fi + if [ "$kak_opt_filetype" = "pascal" ]; then additional_keybindings="--expect alt-f --expect alt-p"; additional_message=$kak_opt_fzf_tag_pascal ; fi + if [ "$kak_opt_filetype" = "perl" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-l --expect alt-p --expect alt-s --expect alt-d"; additional_message=$kak_opt_fzf_tag_perl ; fi + if [ "$kak_opt_filetype" = "perl6" ]; then additional_keybindings="--expect alt-c --expect alt-g --expect alt-m --expect alt-o --expect alt-p --expect alt-r --expect alt-u --expect alt-b --expect alt-s --expect alt-t"; additional_message=$kak_opt_fzf_tag_perl6 ; fi + if [ "$kak_opt_filetype" = "php" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-f --expect alt-i --expect alt-l --expect alt-n --expect alt-t --expect alt-v --expect alt-a"; additional_message=$kak_opt_fzf_tag_php ; fi + if [ "$kak_opt_filetype" = "pod" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t"; additional_message=$kak_opt_fzf_tag_pod ; fi + if [ "$kak_opt_filetype" = "protobuf" ]; then additional_keybindings="--expect alt-p --expect alt-m --expect alt-f --expect alt-e --expect alt-g --expect alt-s --expect alt-r"; additional_message=$kak_opt_fzf_tag_protobuf ; fi + if [ "$kak_opt_filetype" = "puppetmanifest" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-n --expect alt-r --expect alt-v"; additional_message=$kak_opt_fzf_tag_puppetmanifest ; fi + if [ "$kak_opt_filetype" = "python" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-m --expect alt-v --expect alt-I --expect alt-i --expect alt-x --expect alt-z --expect alt-l"; additional_message=$kak_opt_fzf_tag_python ; fi + if [ "$kak_opt_filetype" = "pythonloggingconfig" ]; then additional_keybindings="--expect alt-L --expect alt-q"; additional_message=$kak_opt_fzf_tag_pythonloggingconfig ; fi + if [ "$kak_opt_filetype" = "qemuhx" ]; then additional_keybindings="--expect alt-q --expect alt-i"; additional_message=$kak_opt_fzf_tag_qemuhx ; fi + if [ "$kak_opt_filetype" = "qtmoc" ]; then additional_keybindings="--expect alt-s --expect alt-S --expect alt-p"; additional_message=$kak_opt_fzf_tag_qtmoc ; fi + if [ "$kak_opt_filetype" = "r" ]; then additional_keybindings="--expect alt-f --expect alt-l --expect alt-s --expect alt-g --expect alt-v"; additional_message=$kak_opt_fzf_tag_r ; fi + if [ "$kak_opt_filetype" = "rspec" ]; then additional_keybindings="--expect alt-d --expect alt-c"; additional_message=$kak_opt_fzf_tag_rspec ; fi + if [ "$kak_opt_filetype" = "rexx" ]; then additional_keybindings="--expect alt-s"; additional_message=$kak_opt_fzf_tag_rexx ; fi + if [ "$kak_opt_filetype" = "robot" ]; then additional_keybindings="--expect alt-t --expect alt-k --expect alt-v"; additional_message=$kak_opt_fzf_tag_robot ; fi + if [ "$kak_opt_filetype" = "rpmspec" ]; then additional_keybindings="--expect alt-t --expect alt-m --expect alt-p --expect alt-g"; additional_message=$kak_opt_fzf_tag_rpmspec ; fi + if [ "$kak_opt_filetype" = "restructuredtext" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t --expect alt-T"; additional_message=$kak_opt_fzf_tag_restructuredtext ; fi + if [ "$kak_opt_filetype" = "ruby" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-m --expect alt-S"; additional_message=$kak_opt_fzf_tag_ruby ; fi + if [ "$kak_opt_filetype" = "rust" ]; then additional_keybindings="--expect alt-n --expect alt-s --expect alt-i --expect alt-c --expect alt-f --expect alt-g --expect alt-t --expect alt-v --expect alt-M --expect alt-m --expect alt-e --expect alt-P"; additional_message=$kak_opt_fzf_tag_rust ; fi + if [ "$kak_opt_filetype" = "scheme" ]; then additional_keybindings="--expect alt-f --expect alt-s"; additional_message=$kak_opt_fzf_tag_scheme ; fi + if [ "$kak_opt_filetype" = "sh" ]; then additional_keybindings="--expect alt-a --expect alt-f --expect alt-s --expect alt-h"; additional_message=$kak_opt_fzf_tag_sh ; fi + if [ "$kak_opt_filetype" = "slang" ]; then additional_keybindings="--expect alt-f --expect alt-n"; additional_message=$kak_opt_fzf_tag_slang ; fi + if [ "$kak_opt_filetype" = "sml" ]; then additional_keybindings="--expect alt-e --expect alt-f --expect alt-c --expect alt-s --expect alt-r --expect alt-t --expect alt-v"; additional_message=$kak_opt_fzf_tag_sml ; fi + if [ "$kak_opt_filetype" = "sql" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-f --expect alt-E --expect alt-l --expect alt-L --expect alt-P --expect alt-p --expect alt-r --expect alt-s --expect alt-t --expect alt-T --expect alt-v --expect alt-i --expect alt-e --expect alt-U --expect alt-R --expect alt-D --expect alt-V --expect alt-n --expect alt-x --expect alt-y --expect alt-z"; additional_message=$kak_opt_fzf_tag_sql ; fi + if [ "$kak_opt_filetype" = "systemdunit" ]; then additional_keybindings="--expect alt-u"; additional_message=$kak_opt_fzf_tag_systemdunit ; fi + if [ "$kak_opt_filetype" = "tcl" ]; then additional_keybindings="--expect alt-p --expect alt-n"; additional_message=$kak_opt_fzf_tag_tcl ; fi + if [ "$kak_opt_filetype" = "tcloo" ]; then additional_keybindings="--expect alt-c --expect alt-m"; additional_message=$kak_opt_fzf_tag_tcloo ; fi + if [ "$kak_opt_filetype" = "tex" ]; then additional_keybindings="--expect alt-p --expect alt-c --expect alt-s --expect alt-u --expect alt-b --expect alt-P --expect alt-G --expect alt-l --expect alt-i"; additional_message=$kak_opt_fzf_tag_tex ; fi + if [ "$kak_opt_filetype" = "ttcn" ]; then additional_keybindings="--expect alt-M --expect alt-t --expect alt-c --expect alt-d --expect alt-f --expect alt-s --expect alt-C --expect alt-a --expect alt-G --expect alt-P --expect alt-v --expect alt-T --expect alt-p --expect alt-m --expect alt-e"; additional_message=$kak_opt_fzf_tag_ttcn ; fi + if [ "$kak_opt_filetype" = "vera" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-i --expect alt-l --expect alt-m --expect alt-p --expect alt-P --expect alt-s --expect alt-t --expect alt-T --expect alt-v --expect alt-x --expect alt-h"; additional_message=$kak_opt_fzf_tag_vera ; fi + if [ "$kak_opt_filetype" = "verilog" ]; then additional_keybindings="--expect alt-c --expect alt-e --expect alt-f --expect alt-m --expect alt-n --expect alt-p --expect alt-r --expect alt-t --expect alt-b"; additional_message=$kak_opt_fzf_tag_verilog ; fi + if [ "$kak_opt_filetype" = "systemverilog" ]; then additional_keybindings="--expect alt-c --expect alt-e --expect alt-f --expect alt-m --expect alt-n --expect alt-p --expect alt-r --expect alt-t --expect alt-b --expect alt-A --expect alt-C --expect alt-V --expect alt-E --expect alt-I --expect alt-M --expect alt-K --expect alt-P --expect alt-Q --expect alt-R --expect alt-S --expect alt-T"; additional_message=$kak_opt_fzf_tag_systemverilog ; fi + if [ "$kak_opt_filetype" = "vhdl" ]; then additional_keybindings="--expect alt-c --expect alt-t --expect alt-T --expect alt-r --expect alt-e --expect alt-C --expect alt-d --expect alt-f --expect alt-p --expect alt-P --expect alt-l"; additional_message=$kak_opt_fzf_tag_vhdl ; fi + if [ "$kak_opt_filetype" = "vim" ]; then additional_keybindings="--expect alt-a --expect alt-c --expect alt-f --expect alt-m --expect alt-v --expect alt-n"; additional_message=$kak_opt_fzf_tag_vim ; fi + if [ "$kak_opt_filetype" = "windres" ]; then additional_keybindings="--expect alt-d --expect alt-m --expect alt-i --expect alt-b --expect alt-c --expect alt-f --expect alt-v --expect alt-a"; additional_message=$kak_opt_fzf_tag_windres ; fi + if [ "$kak_opt_filetype" = "yacc" ]; then additional_keybindings="--expect alt-l"; additional_message=$kak_opt_fzf_tag_yacc ; fi + if [ "$kak_opt_filetype" = "yumrepo" ]; then additional_keybindings="--expect alt-r"; additional_message=$kak_opt_fzf_tag_yumrepo ; fi + if [ "$kak_opt_filetype" = "zephir" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-f --expect alt-i --expect alt-l --expect alt-n --expect alt-t --expect alt-v --expect alt-a"; additional_message=$kak_opt_fzf_tag_zephir ; fi + if [ "$kak_opt_filetype" = "dbusintrospect" ]; then additional_keybindings="--expect alt-i --expect alt-m --expect alt-s --expect alt-p"; additional_message=$kak_opt_fzf_tag_dbusintrospect ; fi + if [ "$kak_opt_filetype" = "glade" ]; then additional_keybindings="--expect alt-i --expect alt-c --expect alt-h"; additional_message=$kak_opt_fzf_tag_glade ; fi + if [ "$kak_opt_filetype" = "maven2" ]; then additional_keybindings="--expect alt-g --expect alt-a --expect alt-p --expect alt-r"; additional_message=$kak_opt_fzf_tag_maven2 ; fi + if [ "$kak_opt_filetype" = "plistxml" ]; then additional_keybindings="--expect alt-k"; additional_message=$kak_opt_fzf_tag_plistxml ; fi + if [ "$kak_opt_filetype" = "relaxng" ]; then additional_keybindings="--expect alt-e --expect alt-a --expect alt-n"; additional_message=$kak_opt_fzf_tag_relaxng ; fi + if [ "$kak_opt_filetype" = "svg" ]; then additional_keybindings="--expect alt-i"; additional_message=$kak_opt_fzf_tag_svg ; fi + if [ "$kak_opt_filetype" = "xslt" ]; then additional_keybindings="--expect alt-s --expect alt-p --expect alt-m --expect alt-n --expect alt-v"; additional_message=$kak_opt_fzf_tag_xslt ; fi + if [ "$kak_opt_filetype" = "yaml" ]; then additional_keybindings="--expect alt-a"; additional_message=$kak_opt_fzf_tag_yaml ; fi + if [ "$kak_opt_filetype" = "ansibleplaybook" ]; then additional_keybindings="--expect alt-p"; additional_message=$kak_opt_fzf_tag_ansibleplaybook ; fi + echo "info -title '$title' '$message'" + [ ! -z "${kak_client_env_TMUX}" ] && additional_flags="--expect ctrl-v --expect ctrl-s" + eval echo 'fzf \"ctags-search \$1\" \"$cmd\" \"--expect ctrl-w $additional_flags\"' +}} + nop %sh{ - if [ "$kak_opt_filetype" = "ada" ]; then additional_keybindings="--expect alt-P --expect alt-p --expect alt-T --expect alt-t --expect alt-U --expect alt-u --expect alt-c --expect alt-l --expect alt-V --expect alt-v --expect alt-f --expect alt-n --expect alt-x --expect alt-R --expect alt-r --expect alt-K --expect alt-k --expect alt-O --expect alt-o --expect alt-E --expect alt-e --expect alt-b --expect alt-i --expect alt-a --expect alt-y --expect alt-S" - if [ "$kak_opt_filetype" = "ant" ]; then additional_keybindings="--expect alt-p --expect alt-t --expect alt-P --expect alt-i" - if [ "$kak_opt_filetype" = "asciidoc" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t --expect alt-T --expect alt-u --expect alt-a" - if [ "$kak_opt_filetype" = "asm" ]; then additional_keybindings="--expect alt-d --expect alt-l --expect alt-m --expect alt-t --expect alt-s" - if [ "$kak_opt_filetype" = "asp" ]; then additional_keybindings="--expect alt-d --expect alt-c --expect alt-f --expect alt-s --expect alt-v" - if [ "$kak_opt_filetype" = "autoconf" ]; then additional_keybindings="--expect alt-p --expect alt-t --expect alt-m --expect alt-w --expect alt-e --expect alt-s --expect alt-c --expect alt-d" - if [ "$kak_opt_filetype" = "autoit" ]; then additional_keybindings="--expect alt-f --expect alt-r --expect alt-g --expect alt-l --expect alt-S" - if [ "$kak_opt_filetype" = "automake" ]; then additional_keybindings="--expect alt-d --expect alt-P --expect alt-M --expect alt-T --expect alt-L --expect alt-S --expect alt-D --expect alt-c" - if [ "$kak_opt_filetype" = "awk" ]; then additional_keybindings="--expect alt-f" - if [ "$kak_opt_filetype" = "basic" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-l --expect alt-t --expect alt-v --expect alt-g" - if [ "$kak_opt_filetype" = "beta" ]; then additional_keybindings="--expect alt-f --expect alt-p --expect alt-s --expect alt-v" - if [ "$kak_opt_filetype" = "clojure" ]; then additional_keybindings="--expect alt-f --expect alt-n" - if [ "$kak_opt_filetype" = "cmake" ]; then additional_keybindings="--expect alt-f --expect alt-m --expect alt-t --expect alt-v --expect alt-D --expect alt-p --expect alt-r" - if [ "$kak_opt_filetype" = "c" ]; then additional_keybindings="--expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-z --expect alt-L" - if [ "$kak_opt_filetype" = "cpp" ]; then additional_keybindings="--expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-z --expect alt-L --expect alt-c --expect alt-n --expect alt-A --expect alt-N --expect alt-U" - if [ "$kak_opt_filetype" = "cpreprocessor" ]; then additional_keybindings="--expect alt-d --expect alt-h" - if [ "$kak_opt_filetype" = "css" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-i" - if [ "$kak_opt_filetype" = "c#" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-E --expect alt-f --expect alt-g --expect alt-i --expect alt-l --expect alt-m --expect alt-n --expect alt-p --expect alt-s --expect alt-t" - if [ "$kak_opt_filetype" = "ctags" ]; then additional_keybindings="--expect alt-l --expect alt-k" - if [ "$kak_opt_filetype" = "cobol" ]; then additional_keybindings="--expect alt-p --expect alt-d --expect alt-S --expect alt-f --expect alt-g --expect alt-P --expect alt-s --expect alt-D" - if [ "$kak_opt_filetype" = "cuda" ]; then additional_keybindings="--expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-z --expect alt-L" - if [ "$kak_opt_filetype" = "d" ]; then additional_keybindings="--expect alt-a --expect alt-c --expect alt-g --expect alt-e --expect alt-x --expect alt-f --expect alt-i --expect alt-l --expect alt-m --expect alt-X --expect alt-M --expect alt-n --expect alt-p --expect alt-s --expect alt-T --expect alt-u --expect alt-v --expect alt-V" - if [ "$kak_opt_filetype" = "diff" ]; then additional_keybindings="--expect alt-m --expect alt-n --expect alt-d --expect alt-h" - if [ "$kak_opt_filetype" = "dtd" ]; then additional_keybindings="--expect alt-E --expect alt-p --expect alt-e --expect alt-a --expect alt-n" - if [ "$kak_opt_filetype" = "dts" ]; then additional_keybindings="--expect alt-p --expect alt-l --expect alt-r" - if [ "$kak_opt_filetype" = "dosbatch" ]; then additional_keybindings="--expect alt-l --expect alt-v" - if [ "$kak_opt_filetype" = "eiffel" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-l" - if [ "$kak_opt_filetype" = "elm" ]; then additional_keybindings="--expect alt-m --expect alt-n --expect alt-p --expect alt-t --expect alt-c --expect alt-a --expect alt-f" - if [ "$kak_opt_filetype" = "erlang" ]; then additional_keybindings="--expect alt-d --expect alt-f --expect alt-m --expect alt-r --expect alt-t" - if [ "$kak_opt_filetype" = "falcon" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-m --expect alt-v --expect alt-i" - if [ "$kak_opt_filetype" = "flex" ]; then additional_keybindings="--expect alt-f --expect alt-c --expect alt-m --expect alt-p --expect alt-v --expect alt-x" - if [ "$kak_opt_filetype" = "fortran" ]; then additional_keybindings="--expect alt-b --expect alt-c --expect alt-e --expect alt-E --expect alt-f --expect alt-i --expect alt-k --expect alt-l --expect alt-L --expect alt-m --expect alt-M --expect alt-n --expect alt-N --expect alt-p --expect alt-P --expect alt-s --expect alt-t --expect alt-v --expect alt-S" - if [ "$kak_opt_filetype" = "fypp" ]; then additional_keybindings="--expect alt-m" - if [ "$kak_opt_filetype" = "gdbinit" ]; then additional_keybindings="--expect alt-d --expect alt-D --expect alt-t --expect alt-l" - if [ "$kak_opt_filetype" = "go" ]; then additional_keybindings="--expect alt-p --expect alt-f --expect alt-c --expect alt-t --expect alt-v --expect alt-s --expect alt-i --expect alt-m --expect alt-M --expect alt-u --expect alt-P" - if [ "$kak_opt_filetype" = "html" ]; then additional_keybindings="--expect alt-a --expect alt-h --expect alt-i --expect alt-j" - if [ "$kak_opt_filetype" = "iniconf" ]; then additional_keybindings="--expect alt-s --expect alt-k" - if [ "$kak_opt_filetype" = "itcl" ]; then additional_keybindings="--expect alt-c --expect alt-m --expect alt-v --expect alt-C --expect alt-p" - if [ "$kak_opt_filetype" = "java" ]; then additional_keybindings="--expect alt-a --expect alt-c --expect alt-e --expect alt-f --expect alt-g --expect alt-i --expect alt-l --expect alt-m --expect alt-p" - if [ "$kak_opt_filetype" = "javaproperties" ]; then additional_keybindings="--expect alt-k" - if [ "$kak_opt_filetype" = "javascript" ]; then additional_keybindings="--expect alt-f --expect alt-c --expect alt-m --expect alt-p --expect alt-C --expect alt-v --expect alt-g" - if [ "$kak_opt_filetype" = "json" ]; then additional_keybindings="--expect alt-o --expect alt-a --expect alt-n --expect alt-s --expect alt-b --expect alt-z" - if [ "$kak_opt_filetype" = "ldscript" ]; then additional_keybindings="--expect alt-S --expect alt-s --expect alt-v --expect alt-i" - if [ "$kak_opt_filetype" = "lisp" ]; then additional_keybindings="--expect alt-f" - if [ "$kak_opt_filetype" = "lua" ]; then additional_keybindings="--expect alt-f" - if [ "$kak_opt_filetype" = "m4" ]; then additional_keybindings="--expect alt-d --expect alt-I" - if [ "$kak_opt_filetype" = "man" ]; then additional_keybindings="--expect alt-t --expect alt-s" - if [ "$kak_opt_filetype" = "make" ]; then additional_keybindings="--expect alt-m --expect alt-t --expect alt-I" - if [ "$kak_opt_filetype" = "markdown" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t --expect alt-T --expect alt-u --expect alt-r" - if [ "$kak_opt_filetype" = "matlab" ]; then additional_keybindings="--expect alt-f --expect alt-v --expect alt-c" - if [ "$kak_opt_filetype" = "myrddin" ]; then additional_keybindings="--expect alt-f --expect alt-c --expect alt-v --expect alt-t --expect alt-r --expect alt-p" - if [ "$kak_opt_filetype" = "objectivec" ]; then additional_keybindings="--expect alt-i --expect alt-I --expect alt-P --expect alt-m --expect alt-c --expect alt-v --expect alt-E --expect alt-f --expect alt-p --expect alt-t --expect alt-s --expect alt-e --expect alt-M" - if [ "$kak_opt_filetype" = "oldc++ [disabled]" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-n --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-L" - if [ "$kak_opt_filetype" = "oldc [disabled]" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-h --expect alt-l --expect alt-m --expect alt-n --expect alt-p --expect alt-s --expect alt-t --expect alt-u --expect alt-v --expect alt-x --expect alt-L" - if [ "$kak_opt_filetype" = "ocaml" ]; then additional_keybindings="--expect alt-c --expect alt-m --expect alt-M --expect alt-v --expect alt-p --expect alt-t --expect alt-f --expect alt-C --expect alt-r --expect alt-e" - if [ "$kak_opt_filetype" = "passwd" ]; then additional_keybindings="--expect alt-u" - if [ "$kak_opt_filetype" = "pascal" ]; then additional_keybindings="--expect alt-f --expect alt-p" - if [ "$kak_opt_filetype" = "perl" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-l --expect alt-p --expect alt-s --expect alt-d" - if [ "$kak_opt_filetype" = "perl6" ]; then additional_keybindings="--expect alt-c --expect alt-g --expect alt-m --expect alt-o --expect alt-p --expect alt-r --expect alt-u --expect alt-b --expect alt-s --expect alt-t" - if [ "$kak_opt_filetype" = "php" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-f --expect alt-i --expect alt-l --expect alt-n --expect alt-t --expect alt-v --expect alt-a" - if [ "$kak_opt_filetype" = "pod" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t" - if [ "$kak_opt_filetype" = "protobuf" ]; then additional_keybindings="--expect alt-p --expect alt-m --expect alt-f --expect alt-e --expect alt-g --expect alt-s --expect alt-r" - if [ "$kak_opt_filetype" = "puppetmanifest" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-n --expect alt-r --expect alt-v" - if [ "$kak_opt_filetype" = "python" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-m --expect alt-v --expect alt-I --expect alt-i --expect alt-x --expect alt-z --expect alt-l" - if [ "$kak_opt_filetype" = "pythonloggingconfig" ]; then additional_keybindings="--expect alt-L --expect alt-q" - if [ "$kak_opt_filetype" = "qemuhx" ]; then additional_keybindings="--expect alt-q --expect alt-i" - if [ "$kak_opt_filetype" = "qtmoc" ]; then additional_keybindings="--expect alt-s --expect alt-S --expect alt-p" - if [ "$kak_opt_filetype" = "r" ]; then additional_keybindings="--expect alt-f --expect alt-l --expect alt-s --expect alt-g --expect alt-v" - if [ "$kak_opt_filetype" = "rspec" ]; then additional_keybindings="--expect alt-d --expect alt-c" - if [ "$kak_opt_filetype" = "rexx" ]; then additional_keybindings="--expect alt-s" - if [ "$kak_opt_filetype" = "robot" ]; then additional_keybindings="--expect alt-t --expect alt-k --expect alt-v" - if [ "$kak_opt_filetype" = "rpmspec" ]; then additional_keybindings="--expect alt-t --expect alt-m --expect alt-p --expect alt-g" - if [ "$kak_opt_filetype" = "restructuredtext" ]; then additional_keybindings="--expect alt-c --expect alt-s --expect alt-S --expect alt-t --expect alt-T" - if [ "$kak_opt_filetype" = "ruby" ]; then additional_keybindings="--expect alt-c --expect alt-f --expect alt-m --expect alt-S" - if [ "$kak_opt_filetype" = "rust" ]; then additional_keybindings="--expect alt-n --expect alt-s --expect alt-i --expect alt-c --expect alt-f --expect alt-g --expect alt-t --expect alt-v --expect alt-M --expect alt-m --expect alt-e --expect alt-P" - if [ "$kak_opt_filetype" = "scheme" ]; then additional_keybindings="--expect alt-f --expect alt-s" - if [ "$kak_opt_filetype" = "sh" ]; then additional_keybindings="--expect alt-a --expect alt-f --expect alt-s --expect alt-h" - if [ "$kak_opt_filetype" = "slang" ]; then additional_keybindings="--expect alt-f --expect alt-n" - if [ "$kak_opt_filetype" = "sml" ]; then additional_keybindings="--expect alt-e --expect alt-f --expect alt-c --expect alt-s --expect alt-r --expect alt-t --expect alt-v" - if [ "$kak_opt_filetype" = "sql" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-f --expect alt-E --expect alt-l --expect alt-L --expect alt-P --expect alt-p --expect alt-r --expect alt-s --expect alt-t --expect alt-T --expect alt-v --expect alt-i --expect alt-e --expect alt-U --expect alt-R --expect alt-D --expect alt-V --expect alt-n --expect alt-x --expect alt-y --expect alt-z" - if [ "$kak_opt_filetype" = "systemdunit" ]; then additional_keybindings="--expect alt-u" - if [ "$kak_opt_filetype" = "tcl" ]; then additional_keybindings="--expect alt-p --expect alt-n" - if [ "$kak_opt_filetype" = "tcloo" ]; then additional_keybindings="--expect alt-c --expect alt-m" - if [ "$kak_opt_filetype" = "tex" ]; then additional_keybindings="--expect alt-p --expect alt-c --expect alt-s --expect alt-u --expect alt-b --expect alt-P --expect alt-G --expect alt-l --expect alt-i" - if [ "$kak_opt_filetype" = "ttcn" ]; then additional_keybindings="--expect alt-M --expect alt-t --expect alt-c --expect alt-d --expect alt-f --expect alt-s --expect alt-C --expect alt-a --expect alt-G --expect alt-P --expect alt-v --expect alt-T --expect alt-p --expect alt-m --expect alt-e" - if [ "$kak_opt_filetype" = "vera" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-e --expect alt-f --expect alt-g --expect alt-i --expect alt-l --expect alt-m --expect alt-p --expect alt-P --expect alt-s --expect alt-t --expect alt-T --expect alt-v --expect alt-x --expect alt-h" - if [ "$kak_opt_filetype" = "verilog" ]; then additional_keybindings="--expect alt-c --expect alt-e --expect alt-f --expect alt-m --expect alt-n --expect alt-p --expect alt-r --expect alt-t --expect alt-b" - if [ "$kak_opt_filetype" = "systemverilog" ]; then additional_keybindings="--expect alt-c --expect alt-e --expect alt-f --expect alt-m --expect alt-n --expect alt-p --expect alt-r --expect alt-t --expect alt-b --expect alt-A --expect alt-C --expect alt-V --expect alt-E --expect alt-I --expect alt-M --expect alt-K --expect alt-P --expect alt-Q --expect alt-R --expect alt-S --expect alt-T" - if [ "$kak_opt_filetype" = "vhdl" ]; then additional_keybindings="--expect alt-c --expect alt-t --expect alt-T --expect alt-r --expect alt-e --expect alt-C --expect alt-d --expect alt-f --expect alt-p --expect alt-P --expect alt-l" - if [ "$kak_opt_filetype" = "vim" ]; then additional_keybindings="--expect alt-a --expect alt-c --expect alt-f --expect alt-m --expect alt-v --expect alt-n" - if [ "$kak_opt_filetype" = "windres" ]; then additional_keybindings="--expect alt-d --expect alt-m --expect alt-i --expect alt-b --expect alt-c --expect alt-f --expect alt-v --expect alt-a" - if [ "$kak_opt_filetype" = "yacc" ]; then additional_keybindings="--expect alt-l" - if [ "$kak_opt_filetype" = "yumrepo" ]; then additional_keybindings="--expect alt-r" - if [ "$kak_opt_filetype" = "zephir" ]; then additional_keybindings="--expect alt-c --expect alt-d --expect alt-f --expect alt-i --expect alt-l --expect alt-n --expect alt-t --expect alt-v --expect alt-a" - if [ "$kak_opt_filetype" = "dbusintrospect" ]; then additional_keybindings="--expect alt-i --expect alt-m --expect alt-s --expect alt-p" - if [ "$kak_opt_filetype" = "glade" ]; then additional_keybindings="--expect alt-i --expect alt-c --expect alt-h" - if [ "$kak_opt_filetype" = "maven2" ]; then additional_keybindings="--expect alt-g --expect alt-a --expect alt-p --expect alt-r" - if [ "$kak_opt_filetype" = "plistxml" ]; then additional_keybindings="--expect alt-k" - if [ "$kak_opt_filetype" = "relaxng" ]; then additional_keybindings="--expect alt-e --expect alt-a --expect alt-n" - if [ "$kak_opt_filetype" = "svg" ]; then additional_keybindings="--expect alt-i" - if [ "$kak_opt_filetype" = "xslt" ]; then additional_keybindings="--expect alt-s --expect alt-p --expect alt-m --expect alt-n --expect alt-v" - if [ "$kak_opt_filetype" = "yaml" ]; then additional_keybindings="--expect alt-a" - if [ "$kak_opt_filetype" = "ansibleplaybook" ]; then additional_keybindings="--expect alt-p" }