Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 47 additions & 45 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,52 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Author</key>
<string>Mutwin Kraus, Jannik Nielsen</string>
<key>CFBundleDisplayName</key>
<string>vim</string>
<key>CFBundleIdentifier</key>
<string>com.mutwinkraus.vim</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
<string>0.6</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>Chrome</key>
<dict>
<key>Database Quota</key>
<real>1048576</real>
<key>Global Page</key>
<string>globalpage.html</string>
</dict>
<key>Content</key>
<dict>
<key>Scripts</key>
<dict>
<key>End</key>
<array>
<string>overlay.js</string>
</array>
<key>Start</key>
<array>
<string>vim-keybindings.js</string>
</array>
</dict>
</dict>
<key>ExtensionInfoDictionaryVersion</key>
<string>1.0</string>
<key>Permissions</key>
<dict>
<key>Website Access</key>
<dict>
<key>Include Secure Pages</key>
<true/>
<key>Level</key>
<string>All</string>
</dict>
</dict>
<key>Author</key>
<string>Mutwin Kraus, Jannik Nielsen, Khaled Hussein</string>
<key>Builder Version</key>
<string>7534.57.2</string>
<key>CFBundleDisplayName</key>
<string>Vim Bindings</string>
<key>CFBundleIdentifier</key>
<string>com.mutwinkraus.vim</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
<string>0.6</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>Chrome</key>
<dict>
<key>Database Quota</key>
<real>1048576</real>
<key>Global Page</key>
<string>globalpage.html</string>
</dict>
<key>Content</key>
<dict>
<key>Scripts</key>
<dict>
<key>End</key>
<array>
<string>overlay.js</string>
</array>
<key>Start</key>
<array>
<string>vim-keybindings.js</string>
</array>
</dict>
</dict>
<key>ExtensionInfoDictionaryVersion</key>
<string>1.0</string>
<key>Permissions</key>
<dict>
<key>Website Access</key>
<dict>
<key>Include Secure Pages</key>
<true/>
<key>Level</key>
<string>All</string>
</dict>
</dict>
</dict>
</plist>
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
Vim Keybindings for Safari
--------------------------
# Vim Keybindings for Safari

Currently supported keys:
## Currently supported keys:

* gg, G
* h, j, k, l
* ^D, ^U, ^F, ^B
* esc, i, dd
* gt, gT, <number>gt
* t -- starts a new tab
* d -- closes a tab

Currently supported commands:
## Currently supported commands:

* :q, :q!, :tabnew
* :tabn, :tabp, :tabfir, :tabfirst, :tablast
Expand All @@ -21,14 +22,15 @@ Currently supported commands:

In the preferences for the extension, it is possible to give a list of sites, where the extension should not be loaded. Separate sites by , (comma). Spaces are allowed.

Known issues
------------
## Known issues

* Some pages takes over the keyboard just as this extension does. That means that on some pages the overlay wont show up and wont recieve key strokes.
* Some pages makes the gt and gT combos jump past it.

Contributors
============
# AUTHORS

- Mutwin Kraus
- Jason Green
- Jannik Nielsen
- Khaled Hussein <[email protected]>

Mutwin Kraus
Jason Green
Jannik Nielsen
16 changes: 8 additions & 8 deletions Settings.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Key</key>
<string>disabledsites</string>
<key>Title</key>
<string>Disabled sites</string>
<key>Type</key>
<string>TextField</string>
</dict>
<dict>
<key>Key</key>
<string>disabledsites</string>
<key>Title</key>
<string>Disabled sites</string>
<key>Type</key>
<string>TextField</string>
</dict>
</array>
</plist>
Loading