-
Your
hookworks for me for.txtfiles once I addplainto the regex. -
Already answered. I want to point out to mawww’s kakrc, from where this was taken, in case you wanna take a look: great kakrc’s.
-
I use
kittytoo. If you just want to open a new kitty window, checkout the commands:terminal,:terminal-taband:new. You can do:terminal nnnfor your used case. Kakoune will recognize if you are usingtmux,kittyor other terminals and map:terminalto the appropriate command (commands for other terminals don’t get sourced). So, basically, in you case:terminalis an alias for:kitty-terminal. To make use of them, you need to enable inkitty's configuration file remote control. And if you are interested in implementing more functionality (likesplitwith special parameters) you could check how the command is implemented.By the way, take a look at the plugin connect.kak if you want to open files from
nnnto your kakoune window easily.
1 Like