Skip to content

Commit b67d390

Browse files
authored
Merge pull request #198 from televator-apps/updated-readme
Update README v2.1
2 parents 919d245 + d7cee6f commit b67d390

File tree

2 files changed

+84
-8
lines changed

2 files changed

+84
-8
lines changed

DEVELOPERS.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Developers
2+
3+
## Setup
4+
5+
### Local setup
6+
7+
1. Clone the repository:
8+
```bash
9+
git clone [email protected]:televator-apps/vimari.git
10+
```
11+
2. Open `Vimari.xcodeproj` with Xcode.
12+
3. [Set your signing team](https://help.apple.com/xcode/mac/current/#/dev23aab79b4) for both targets (Vimari and Vimari Extension).
13+
4. Run the project (<kbd>⌘</kbd>+<kbd>R</kbd>).
14+
15+
You might have to reload the website you had open for the changes to take effect. Also check your configuration file as it currently does not get upgraded automatically.
16+
17+
### Linting & Formatting
18+
19+
Code linting and formatting will be implemented in [#193](https://github.com/televator-apps/vimari/pull/193).
20+
21+
## Contributing
22+
23+
If you'd like to contribute to the development of Vimari you can help us out through several means:
24+
25+
1. Create bug reports for issues you encounter, or look trough existing bug reports and try to reproduce their problems.
26+
2. Try out the latest beta version (if there is one) and report issues back to us.
27+
3. Contribute ideas, if you'd like something to be added to Vimari you can create an issue describing exactly what you have in mind. Together we can help form the idea and get it into Vimari.
28+
4. Contribute code, if you find a bug or issue that you think you can help us solve you are more than welcome to do so.
29+
30+
### Contributing Code
31+
32+
If you want to contribute to Vimari through coding you have to start by selecting an issue to work on. If you'd like to contribute something new, make an issue first to discuss the idea.
33+
34+
You can fork the Vimari source code and make the changes to implement your feature or solve a bug. Once finished you can create a pull request back into the Vimari repository where it can be reviewed.
35+
36+
After a successful review your code will be merged with the master branch and released to Vimari users in the next release. Pretty cool!

README.md

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
# Vimari - Keyboard Shortcuts extension for Safari
1+
<img align="left" width=160 style="padding: 10px" src="assets/logo.svg"></img>
22

3-
[![Actions Status](https://github.com/danielcompton/vimari/workflows/Node%20CI/badge.svg)](https://github.com/danielcompton/vimari/actions)
3+
## Vimari
4+
_Keyboard Shortcuts extension for Safari_
45

56
[![Download on the Mac App Store](assets/Download_on_the_Mac_App_Store_Badge_US.svg)](https://apps.apple.com/us/app/vimari/id1480933944?ls=1&mt=12)
67

8+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/televator-apps/vimari)
9+
![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/televator-apps/vimari?include_prereleases&label=pre%20release)
10+
711
Vimari is a Safari extension that provides keyboard based navigation.
812
The code is heavily based on [vimium](https://github.com/philc/vimium), a
913
Chrome extension that provides much more extensive features.
1014

1115
Vimari attempts to provide a lightweight port of vimium to Safari, taking the
1216
best components of vimium and adapting them to Safari.
1317

14-
![Screenshot](assets/screenshot.png)
18+
<img src="assets/screenshot.png"></img>
1519

1620
## Releases
1721

18-
### Safari 12 and 13
22+
### Safari 12 and above
1923

2024
[![Download on the Mac App Store](assets/Download_on_the_Mac_App_Store_Badge_US.svg)](https://apps.apple.com/us/app/vimari/id1480933944?ls=1&mt=12)
2125

@@ -28,13 +32,13 @@ best components of vimium and adapting them to Safari.
2832

2933
## Installation
3034

31-
### Safari 12 and 13 (macOS Mojave and Catalina)
35+
### Safari 12 and above (macOS Mojave or above)
3236

3337
#### Mac App Store
3438

3539
1. [Download Vimari](https://apps.apple.com/us/app/vimari/id1480933944?ls=1&mt=12) for free from the Mac App Store
3640
2. Launch Vimari.app
37-
3. Click "Open in Safari Extensions Preferences...", Safari's Extension Preferences should open
41+
3. Click "Open in Safari Extensions Preferences", Safari's Extension Preferences should open
3842
4. Make sure that the checkbox for the Vimari extension is ticked
3943
5. Go back to Vimari.app and press the reload button to check the status of the app. If it says "Enabled" then it is ready.
4044
6. You may need to relaunch Safari for the extension to work
@@ -60,7 +64,7 @@ the file.
6064
## Usage
6165

6266
### Settings
63-
**Command Prefix** - Modifier key to hold down with your action key. If
67+
**Modifier** - Modifier key to hold down with your action key. If
6468
you leave it blank you don't need to hold down anything (default
6569
setting).
6670

@@ -77,10 +81,28 @@ for HTML elements having cursor style set to "pointer".
7781

7882
**Scroll Size** - How much each scroll will move on the page.
7983

80-
**Transparent Bindings** - Instead of fully isolating all keybindings in normal mode, the transparent bindings setting (when enabled) allows you to use all non-Vimari-bound keys to interact with the web page as if you were in insert mode.
84+
`Vimari v2.1+`
85+
86+
**Smooth Scroll** - Scroll smoothly through the page.
87+
88+
**Normal vs Insert mode** - Isolate website keybindings from the
89+
Vimari keybindings. In normal mode you can use the Vimari keybindings
90+
while in insert mode you can use the websites own keybindings.
91+
92+
**Transparent Bindings** - Full keybinding isolation might not
93+
be your style, instead the transparent bindings setting (when enabled)
94+
allows you to use all **non-Vimari-bound** keys to interact with the web
95+
page as if you were in insert mode.
96+
97+
**Multiple Bindings** - You can bind multiple keybindings to a Vimari
98+
action. This is done by specifying an array of bindings in the
99+
configuration file, like so: `"goToPageTop": ["g g", "shift+k"]`.
100+
81101

82102
### Keyboard Bindings
83103

104+
These bindings are the ones set by default, however you are able to change them in the settings.
105+
84106
#### In-page navigation
85107
f Toggle links
86108
F Toggle links (open link in new tab)
@@ -92,6 +114,7 @@ for HTML elements having cursor style set to "pointer".
92114
d Scroll down half page
93115
g g Go to top of page
94116
G Go to bottom of page
117+
g i Go to first input
95118

96119
#### Page/Tab navigation
97120
H History back
@@ -102,6 +125,23 @@ for HTML elements having cursor style set to "pointer".
102125
x Close current tab
103126
t Open new tab
104127

128+
`Vimari v2.1+`
129+
130+
#### Vimari Modes
131+
i Enter insert mode
132+
ESC Enter normal mode
133+
CTRL+[ Enter normal mode
134+
135+
### Tips & Tricks
136+
137+
Vimari is built as a Safari Extension, this poses some limits on what is possible through the extension. However default Safari shortcuts can help you keep your hands at the keyboard. Some helpful ones are listed here:
138+
139+
- **Focus URL Bar** <kbd>⌘</kbd><kbd>l</kbd> - This is a feature not available in Vimari, it is also helpful where extensions are not loaded (for example on `topsites://`). By focusing the URL Bar you can go to a website where the extension is loaded.
140+
141+
- **Reader mode** <kbd>⇧</kbd><kbd>⌘</kbd><kbd>R</kbd> - Currently Vimari does not support entering Reader mode (due to API limitations), also navigation inside reader mode (for example using <kbd>j</kbd> or <kbd>k</kbd>) is not supported.
142+
143+
- **Re-open last closed tab** <kbd>⇧</kbd><kbd>⌘</kbd><kbd>T</kbd> - Allows you to reopen a recently closed tab.
144+
105145
## License
106146

107147
Copyright (C) 2011 Guy Halford-Thompson. See [LICENSE](LICENSE) for details.

0 commit comments

Comments
 (0)