Skip to content

Commit 7c1fc61

Browse files
weiwendaWeiWenda
weiwenda
authored andcommitted
Release 0.1.0
1 parent 185b06f commit 7c1fc61

File tree

3,125 files changed

+1420024
-16995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,125 files changed

+1420024
-16995
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/build/
33
.sass-cache
44

5+
/.idea
56
node_modules/
67
npm-debug.log
78

@@ -18,3 +19,5 @@ npm-debug.log
1819
*-v8.log
1920

2021
.eslintcache
22+
23+
out/

docs/plugins.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A plugin registers using
2626
Plugins.register(metadata, enable: fn, disable: ?fn)
2727
```
2828
where
29-
- `metadata`: For the detailed format, read the type definitions in [plugins.ts](../src/assets/ts/plugins.ts)
29+
- `metadata`: For the detailed format, read the type definitions in [plugins.ts](../src/ts/plugins.ts)
3030
- name: string
3131
This will be displayed to the user in options. It should not be changed!
3232
- version: number
@@ -44,7 +44,7 @@ where
4444
Plugins are generally disabled by default.
4545

4646
In the UI, you can enable your plugin from the plugins section of the Settings menu.
47-
You can make it enabled by default, in [settings.ts](../src/assets/ts/settings.ts).
47+
You can make it enabled by default, in [settings.ts](../src/ts/settings.ts).
4848

4949
## Using the API
5050

@@ -74,7 +74,7 @@ Actions may optionally accept motions and do something with the motion
7474
(e.g. move the cursor according to the movement, or delete text according to the movement).
7575
To accept a motion, an action's mapping must have a special key '<motion>' which means any sequence for a motion.
7676

77-
For other example usages, see the folder [`src/assets/ts/definitions`](../src/assets/ts/definitions), and the easy-motion plugin.
77+
For other example usages, see the folder [`src/assets/ts/definitions`](../src/ts/definitions), and the easy-motion plugin.
7878

7979
```
8080
api.registerMode(metadata) -> mode
@@ -95,7 +95,7 @@ You can also manually call each deregister, but this is not recomended
9595
api.deregisterDefaultMappings(mode, mappings)
9696
```
9797

98-
See [`keyDefinitions.ts`](../src/assets/ts/keyDefinitions.ts) for detailed schema for the metadata of each of these.
98+
See [`keyDefinitions.ts`](../src/ts/keyDefinitions.ts) for detailed schema for the metadata of each of these.
9999

100100
#### vimflowy internals
101101

forge.config.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
packagerConfig: {
3+
icon: './public/images/icon',
4+
ignore: [
5+
"^\\/src$",
6+
"^\\/server$",
7+
"^\\/test$",
8+
"^\\/docs$",
9+
"^\\/[.].+",
10+
// [...]
11+
]
12+
},
13+
rebuildConfig: {},
14+
makers: [
15+
{
16+
name: '@electron-forge/maker-squirrel',
17+
config: {},
18+
},
19+
{
20+
name: '@electron-forge/maker-zip',
21+
platforms: ['darwin'],
22+
}
23+
],
24+
};

0 commit comments

Comments
 (0)