Permalinks for substrings in various documents
The idea is I select some text and press g y
and emacs or vim will provide me with a
command to go to that section of that file.
example usage of results
|
|
|
|
|
|
emacs functions
|
|
vim functions and binding
|
|
demonstrations
emacs info
|
|
eww browser
|
|
|
|
Interesting. The braces are interpreted by PCRE. Not sure if that’s worth fixing at this point.
man pages
|
|
|
|
Because vim is running inside emacs in this one, I needed to create the vim bindings above.
vim help
|
|
|
|
regular files
|
|
|
|
emacshelp
This script relies on tcl/expect
to decorate
my emacs wrapper with a parameter to search
inside the file once emacs has opened.
Create the ems
script
This script will give any emacs
command a
cli parameter +/"pattern"
and automatically
send the C-s
<pattern>
C-m
.
|
|
The emacshelp
command
Without ems
, the pattern
would not be interpretted.
|
|
Thanks for reading!
If this article appears incomplete, it may be intentional. Try prompting for a continuation.
If this article appears incomplete, it may be intentional. Try prompting for a continuation.