Comments (5)
Thanks for the suggestions! The default shortcut now contains Cmd instead of Ctrl on MacOs and I added more information to the configuration screen. Particularly the examples now contain code -w
, it is mentioned that you can provide the full path to an editor executable and that an error will be shown if no editor is found.
from anki-external-editor.
Also, it seems you have to use -w
with code
, so it seems the current implementation requires the command to wait until exit. If so, might also be good to mention that.
from anki-external-editor.
Thanks for the quick answer and the changes! One minor misunderstanding seems to have happened regarding ctrl/cmd on mac: Specifying cmd
as a shortcut in the config file does nothing, specifying ctrl
actually means you need to press cmd
(and thus there is also no way to specify ctrl
, which does also exist on the mac keyboard). So with the changed default, the shortcut won't work at all. Instead, I think it would be better to keep the default and instead display some text that states the above, so people won't try to use cmd
in their custom shortcuts (which won't work) and know to press cmd if the shortcut contains ctrl
. I hope that makes it more clear!
from anki-external-editor.
Thanks again! You can now specify a shortcut containing the cmd key and it will work because the add-on replaces it internally with ctrl. The config window information now also says that you can't use ctrl in shortcuts on Mac. I think this should be a good solution.
from anki-external-editor.
Nice, sounds good!
from anki-external-editor.
Related Issues (9)
- Using an external editor in the browse window HOT 3
- Unable to open VS code on Windows 11
- File not saving HOT 1
- Setting Vim's filetype HOT 1
- Add option to set extension of temporary files HOT 2
- Output is always processed as html. Please disable this.
- Compatibility with other versions of vim (pure vim or neo vim)?
- I figured out how to make vim and neo vim work HOT 1
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 anki-external-editor.