/
README.md
24 lines (19 loc) · 829 Bytes
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
vim-cheat-sheet
===============
Yet another vim cheat sheet.
[http://vim.rtorr.com/](http://vim.rtorr.com/)
[:heart: Sponsor](https://github.com/sponsors/rtorr)
## Set up for development
1. Start app.
```sh
npm ci
npm start
```
2. Open http://localhost:3000/ in browser.
3. Edit [sheet.hbs](/views/partials/sheet.hbs) as desired (e.g. add new commands).
4. Reload page in browser (<kbd>Ctrl+r</kbd>) to generate the locales entries in English [en_us.json](/locales/en_us.json).
5. Stop the app (optional).
6. Describe the added commands in English [en_us.json](/locales/en_us.json) and move them to the corresponding position, equally as in [sheet.hbs](/views/partials/sheet.hbs).
7. Run `node postinstall.js` to copy the English entries to all other locales.
8. Translate all languages you know.
9. Commit.