When I moved from Ubuntu to Kubuntu I attempted to move from gedit to Kate but I struggled to get the snippets that I use constantly thru the day in Kate. Almost all of the tutorials are poorly written.
In gedit (which Im still using years later on Kubuntu) I have tab trigger of q, (QUOTE)$1(/QUOTE) and that is all it is. Same for tab trigger of t, $(1:date +%H%M" "). Has anyone found some decent, clear tutorials for Kate?
While both programs have the term snippets - they do not work the same. In gedit I type capital T and Tab and it inserts the time - which is important in my daily work. In Kate, while the button to the right says you can create an input short cut like capital T + Tab, I do not see how that is actually done as the button itself does nothing and just hitting the required keys also does nothing. So I do not see how to use this code.
On my side, as this is the only one snippet for which function name start with T I don’t need to select function: it’s the selected one, then just T followed by TAB is enough to insert current time, without need to do anything else
When you have Input... , just press CTRLT or any combination key you want to use as shorctut, then it will be taken in account; once you’ve pressed the shortcut you want to use, wait 1~2seconds and that ok
Hit F7, then type date with the format that you want. Bit cumbersome if you have to type in the format all the time so you can just write your own script with the format you want and invoke that script form the F7 command line.
When Im writing documentation I have to two 2 things: Time and Quote. For every single entry I have to put in the time and I have to put in multiple quotes. So, for example, when Im writing I hit t+tab to write the time and then q+tab to insert [QUOTE] $[/QUOTE] and where the $ is, that is my cursor and Im quoting comment.