lintalist
lintalist copied to clipboard
No trigger or end-keys (regular expressions)?
Consider a method to allow shorthand to work without a trigger or endkey such as space or tab similar to AutoExecuteOne https://github.com/lintalist/lintalist/issues/10
LLShorthand: abbrev[n]
where [n] stands for [n]o-trigger - this could be extended to specific trigger keys [e]nter [t]ab [s]pace and possibly others should the need arise.
Maybe: [r] for regular expression? e.g. c.de[r]
will make code
cade
c1de
etc trigger the snippet? or allow for a list of abbreviations code|edoc
Changes:
- ObjectBundles.ahk (parsing of bundle & snippets. Introduce new array to be able to check these, set global variable to be able to use in checktyped function)
- Lintalist.ahk (checktyped function)
dsewq1LYJ @ http://www.autohotkey.com/board/topic/107687-lintalist-searchable-interactive-lists-to-copy-paste-text/?p=688199
As of AutoHotkey v1.28.0.0 there is the https://autohotkey.com/docs/commands/Hotstring.htm function which should be used to replace the "shorthand" function - this will allow for more flexibility in how to define hotstrings using more of AHKs standard features.