Comments (3)
I have since found the word_separators
option, my apologies.
I have since set the following.
word_separators: [" ", ",", ".", "?", "!", "\r", "\n", "\r\n", "\t", "}", "]", ">", "%", ")", 22]
in my defaults.yml
This allows the use of TAB โฅ
for expanding, however this still results in the erroneous addition of two whitespace after pressing TAB โฅ
unless replace:
field.
I believe it would be helpful if word_separators
would/could be divided into separators for before and after the trigger.
I have since added replace:
fields.
PS: What does 22 mean in the word_separators:
?
from espanso.
PS: What does 22 mean in the word_separators: ?
Got curious so I checked. In code it seems to be 22u8 as char
:
espanso/espanso-config/src/legacy/config.rs
Lines 73 to 75 in 3f6444c
So - raw ASCII codes in case you want an invisible space seperator or something weird like that ig
from espanso.
Thank you.
Most of your issues are addressed by adjusting the list of word_separators:
, as you suggest, and we're in the process of updating the code and documentation to add ", ', \t, and form-feed as defaults. The newline issue is not a problem with the current release.
Regarding item 4, most of us would use a prefix or suffix character or other workaround.
Thank you very much for your suggestion to include closing parentheses - I've added a comment to the pending pull request.
I'll close this for now, if that's OK.
from espanso.
Related Issues (20)
- Weird tiny, unusable, blocking mid-screen box / popup / widget apparing since espanso upgrade on Ubuntu 22.04.3 / wayland HOT 15
- Rust `as_` methods are probably misinterpreted
- xdotool commands require extra key commands HOT 2
- Compile error on aarch64-darwin HOT 1
- unused crates
- ยง (section sign) doesn't trigger HOT 2
- Espanso Wayland Turkish F keyboard problem HOT 3
- Issue with replacing strings (Win 11) HOT 3
- Operation not permitted by the OS (application error code: 100001). HOT 3
- Clipboard data truncated to 2047 characters if trigger initiated with data in clipboard over 2047 characters HOT 10
- Espanso under Wayland on KDE Neon not starting HOT 12
- Arch wayland weird visual bug on boot HOT 2
- Still problems with German Umlaute in Thunderbird HOT 4
- unused file `/snap/hooks/remove` HOT 1
- Close this repository's wiki HOT 4
- Pasting into regex match not working HOT 1
- add quotes (apostrophe) "\u0027", double-quotes "\u0022", Form Feed "\u000c", and "\t" to `word_separators:` HOT 1
- We could rework the exit codes
- error: use of undeclared identifier 'DEFAULT_STYLE' HOT 2
- espanso package list not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espanso.