Two quick questions

Post Reply
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Two quick questions

Post by tmsg »

1. I like the way Options>>Settings - default/user opens the two settings files next to each other in a atb... but I haven't found a way of achieving this for any my files, say a .h and a .c file.

2. I have not found a way to print/copy a list of all commands and their keyboard shortcuts (if any). A quick and dirty way to get such a list would be to copy the contents of the F1 command palette window... but how?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

1. possible via API only, in Console enter:
from cudatext import *
file_open(('~/url.md', '~/wrapmode.py'))

so you can make a plugin.
2. plugin exists for that. Configure Hotkeys. is it OK?
EDIT. plugin has a problem,
https://github.com/Alexey-T/CudaText/issues/2590
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

I'll check that hotkey plugin once it works :D

Here's a small correction for the Wiki: the link to the regex docs (in https://wiki.freepascal.org/CudaText#Re ... xpressions ) doesn't work. I assume it is this library: https://regex.sorokin.engineer/en/lates ... sions.html ?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

yes, it is this library. will fix the link, ASAP.
Post Reply