On Sat, Jul 21, 2018 at 3:58 PM Tank Panzer <technikma...@gmail.com> wrote:
> In LyX one can configure the shortcuts and even add new ones under > preferences. > Like I was able to add a new shortcut by typing "math-insert \bullet" and > passing a shortcut to it > > I would like to know if it is possible to add shortcuts to normal symbols > in text, like "\textbullet" which i am able to add through the UI with > mouse. > I tryed to type "insert \textbullet" and few others, but it said "wrong > LyX function". > Do you know what i need to type? > I don't believe there is any way to insert symbols with a shortcut outside of math mode (though I could be wrong). If you're running LyX under Windows, you can use the scripting utility AutoHotKey to get this functionality. Just create a file called, e.g., macros.ahk and, to get your desired functionality, add the line :*:\textbullet::⦁ where ⦁ is the unicode bullet; you can of course add as many such lines as you please to insert all the symbols you want. (Be sure to save the file with UTF-8 encoding.) To activate the script, right click on it and select *Run Script*. (I think if you drop it into your Documents directory it will run by default at startup.) I reckon you could use Applescript on a Mac to do something similar. Dunno about Linux. -chris