I use many times the item from menu Edit-> Insert from -> Latex. Is it possible to make a hotkey for this? For example Shift+Ctrl+V ? I did not find this possibility in the manual and in the menu.
How to make hotkey for action from menu?
I believe putting the following code in ~/.TeXmacs/progs/my-init-texmacs.scm
(kbd-map
("S-C-v" (clipboard-paste-import "latex" "primary"))
)
should do the trick.
Do not work. Nothing happened.
I’m not sure why that doesn’t work. It works for Ctrl+F5 if you use “C-F5”.
Another option is to use the built-in keyboard shortcut tool. This puts
(("C-V"
"(clipboard-paste-import \"latex\" \"primary\")"))
in ~/.TeXmacs/system/shortcuts.scm
.
1 Like
For C-F5 it is working for me too. I changed for C-. and it works now for Ctr+. Thank you. COmbination S-C-V is already defined. See Edit->Past->Secondary. Maybe this is the reason that this combination does not work. In any case, thank you, once more. Now I have the combination.