The macro tag has no wiki summary.
1
vote
1answer
20 views
Emacs: mode-local macro with dashes and dots
In Emacs, how can I make a macro, that is local to the HTML mode, and uses dashes and dots? Take a look at the Elisp below:
(define-abbrev-table 'html-mode-abbrev-table
'(("..." "…") ...
2
votes
1answer
64 views
Expand pattern under cursor to all files matching it
Is there anyway to let VIM expand the glob pattern to all files that match it?
e.g when I type *.c, and press some key, it would become a.c b.c
2
votes
0answers
33 views
Handle local links to local files in emacs
I have a LaTeX document where I often have to insert pathnames of files on my machine of other LaTeX files. Is there a way in emacs do get the following:
A command which opens a file selection ...
2
votes
1answer
317 views
Keyboard Shortcut To Send Text Strings To Program
How can I configure a shortcut key to send a text string to the current program?
The purpose is to type common entries quicker (email address, street address, phone number, username, favorite quote, ...
1
vote
1answer
98 views
Is it possible to have a screen macro for this?
Here's my .screenrc:
defscrollback 5000
vbell on
vbell_msg " dierre!!! ---- Wuff!! "
screen -t GRINDER ssh dierre@grinder.dierre.lan
screen -t TRUNK
attrcolor b ".I"
termcap xterm ...
4
votes
3answers
116 views
Making shortcuts cross desktop environment, possible?
I'm a big fan of keyboards, so a lot of thing a done by combination of keys, like open a file browser, web browser etc.
Is there some daemon that can monitor my key presses, and launch some program ...
2
votes
2answers
90 views
Vim markers and macros
Is there a way to make a macro operate up to a marker? I know if I do 5@a my macro will operate on 5 lines. Example:
set marker with `mc`
record a macro with `qa`
... now what?
Obviously 'c@a just ...
10
votes
4answers
251 views
Is there a vim shortcut for <name of current file>?
In vim, if I'm working on a Python script, I will commonly type:
:! python this_script.py
to execute the script. Is there a shortcut for the name of the current file? If not, can I easily make one? ...
3
votes
1answer
596 views
Automating typing strings in xmacro
Could you show me how to write macro in xmacro (that will work in whole desktop environement) that is able to expand strings?
e.g. I will type thx and it will expand to "thank you".
10
votes
2answers
2k views
How to invoke an Openoffice macro from the Linux command line
I have an OpenOfice macro that I want to use to process the contents of an OpenOffice file. I am able to do this by opening the file with OpenOffice and then running the macro. How do I invoke the ...
