jEdit Community - Resources for users of the jEdit Text Editor
how to assign shortcuts to user-defined actions?
Submitted by uhuebner on Tuesday, 18 May, 2004 - 10:17
Hello,

I have two questions.

1. I want to set the edit mode (highlighting) to pl-sql with a shortcut. Entering buffer options and scrolling down to the edit mode is a bit laborious.
How can I do this? I found out that I can do this by entering "buffer.mode=pl-sql" in the action bar. So I think i must be possible to create an action with it an assign a shortcut to it. But I have no clue how to do this and the help is a bit confusing.

2. Almost the same as the above. I want to insert text templates using shortcuts. Right now I use "abbreviations" or the Template plug-in but it would be much faster if I could use shortcuts (e.g. ALT+number). Is it possible to assing shortcuts to certain templates?

Can anybody help me out?
Kind regards
uhuebner
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
macros
by lturner on Tue, 18/05/2004 - 14:57
Macros are probably your best bet for number 1. Not sure about number 2. I think there was a new macro with pre 13 called Mode Switcher under the Macros > Editing menu. That might be a bit quicker for you than using the action bar. Why is it that you want to do this anyway. If you have a file that you want recognised by the pl-sql mode, you could change the pl-sql mode settings in Global Options to recognise your file type.

Cheers
Lee
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293