Comments (6)
Interestingly apple does not implement the required accessibility features for their mail compose window because it
is a HTML content editable field, even when selecting plain text as a format.
I believe this is an oversight on their part, as I can happily use svim in my webmail plain text client.
from sketchyvim.
It's so bad that there is no access to Mail compose window. I do most my writing in Mail:(
from sketchyvim.
Thats why I have moved to Mailspring. In mailspring the "rich text and advanced editor features" can be switched off, this will give a monospaced plain text view for mail composing. Since mailspring is an electron app, svim needs to be compiled with -DMANUAL_AX
to work with this app.
from sketchyvim.
Hi, FelixKratz
Many thanks for the info about Mailspring. I would like to try it.
I don't know so much about programming, so I didn't figure out how to do it. Here is what I tried.
- git clone svim repository to my mac;
- uncommented -DMANUAL_AX in the makefile
- make
- Since svim is already installed with brew, I copied the svim binary to where brew placed it
- brew services restart svim
the above didn't work. and the compiled binary size is only half of brew installed binary.
Would you please help me out?
from sketchyvim.
Hi, FelixKratz
Many thanks for the info about Mailspring. I would like to try it.
I don't know so much about programming, so I didn't figure out how to do it. Here is what I tried.
- git clone svim repository to my mac;
- uncommented -DMANUAL_AX in the makefile
- make
- Since svim is already installed with brew, I copied the svim binary to where brew placed it
- brew services restart svim
the above didn't work. and the compiled binary size is only half of brew installed binary.
Would you please help me out?
You steps are perfectly fine, except one critical detail that revolves around code signature and the macOS gatekeeper:
You can create the full bundle I use for the releases by running:
make bundle
it properly signs the binary for gatekeeper if you have a certificate called 'svim-cert' here:
Lines 39 to 41 in 010426a
If you don't want to bother with creating this certificate you can simply swap out the signature command with an ad-hoc certificate:
codesign --force -s - $(ODIR)/svim
If you now run make bundle
it should create a bundle_$(VERSION).tgz
file in the folder where the full binary with proper code signature can be found. If you swap this with the homebrew binary it should work fine. You might need to focus Mailspring twice initially such that it sets the manual ax flag and then is recognized as supported.
Alternatively it should also be enough to run:
make
codesign --force -s - bin/svim
this binary only contains one instruction set, i.e. x86 or arm64 depending on the system you compile it on, thats why it is half the size of the release binary, which contains both.
from sketchyvim.
Many thanks for your very detailed instructions and explanation.
But after more than years working with Mail, I am afraid the pain of changing.
BTW, svim doesn't support multi-key mapping. So we can't map jk to escape insert mode. There is a workaround by using Karabinar.
2022-12-17.13.14.08.mov
from sketchyvim.
Related Issues (19)
- Not working in slack HOT 21
- Is there a way to change shortcut to normal mode? HOT 3
- CotEditor visual mode cursor out of screen instead of scroll to correct position HOT 1
- Keeps On Asking For Perms For Acsessbillity even when given HOT 1
- abbreviations expands on insert mode exit HOT 2
- Having `" comments` in `svimrc` breaks the config HOT 2
- Blacklisting Alfred does not work HOT 6
- Any nonbrew installation? HOT 1
- app doesn't work HOT 4
- svim ignores configs after restart, and is unstartable after reinstall HOT 2
- FR: Support for `gj` and `gk` HOT 2
- Bug: deletion of lock-file needed after every restart of the device HOT 12
- Notes app reformats whole document HOT 4
- Disable for certain apps HOT 1
- Will it be possible using neovim instead of libvim? HOT 1
- 【some thoughts】black-list & white-list & Application Bundle ID HOT 6
- similar tools HOT 3
- Issues in iTerm HOT 2
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 sketchyvim.