karabiner 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -1
- data/{dotremap.gemspec → karabiner.gemspec} +0 -0
- data/lib/karabiner/key.rb +1 -0
- data/lib/karabiner/version.rb +1 -1
- data/spec/lib/{dotremap → karabiner}/appdef_spec.rb +0 -0
- data/spec/lib/{dotremap → karabiner}/karabiner_spec.rb +0 -0
- data/spec/lib/{dotremap → karabiner}/key_spec.rb +1 -0
- data/spec/lib/{dotremap → karabiner}/remap_spec.rb +0 -0
- data/spec/lib/{dotremap_spec.rb → karabiner_spec.rb} +0 -0
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6223024f8b78b87a4cbd11281079f7a5d6db04e
|
4
|
+
data.tar.gz: ccf5792596a2e20b69251d8b63f53e305651b98a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06936969d2a768b44d5e778b99ec1d06685aae82c56568e57a436cdc9578bf586e8c1d2e3c3662bbb7fe1d701c15fa60520c71bd9bfb01c681c6f07dacb4761f
|
7
|
+
data.tar.gz: 659c1acc3a4cb3b4e7bb39e00ea7268952c4bc650132fcb0020ad51d3f5c7e38e74bcd36016ae73f05db0b3820fa8ad872509984a500e4e7ae7d8482de2e8b87
|
data/README.md
CHANGED
@@ -103,7 +103,7 @@ You have to write "key expression" to specify keys to remap.
|
|
103
103
|
a b c ... x y z
|
104
104
|
0 1 2 ... 7 8 9
|
105
105
|
F1 F2 ... F11 F12
|
106
|
-
\ [ ] ; ' , . / - =
|
106
|
+
\ [ ] ; ' ` , . / - =
|
107
107
|
Up Down Right Left
|
108
108
|
space tab delete forward_delete capslock
|
109
109
|
|
@@ -113,6 +113,33 @@ Cmd_R Cmd_L
|
|
113
113
|
Shift_R Shift_L
|
114
114
|
```
|
115
115
|
|
116
|
+
## Sample
|
117
|
+
|
118
|
+
```rb
|
119
|
+
item "Application shortcuts" do
|
120
|
+
remap "C-o", to: invoke("YoruFukurou")
|
121
|
+
remap "C-u", to: invoke("Google Chrome")
|
122
|
+
remap "C-h", to: invoke("iTerm")
|
123
|
+
end
|
124
|
+
|
125
|
+
item "Control+PNBF to Up/Down/Left/Right" do
|
126
|
+
remap "C-p", to: "Up"
|
127
|
+
remap "C-n", to: "Down"
|
128
|
+
remap "C-b", to: "Left"
|
129
|
+
remap "C-f", to: "Right"
|
130
|
+
end
|
131
|
+
|
132
|
+
appdef "HIPCHAT", equal: "com.hipchat.HipChat"
|
133
|
+
item "HipChat Room Change", only: "HIPCHAT" do
|
134
|
+
remap "Cmd-K", to: "Cmd-Shift-["
|
135
|
+
remap "Cmd-J", to: "Cmd-Shift-]"
|
136
|
+
end
|
137
|
+
|
138
|
+
item "Window change in the same app" do
|
139
|
+
remap "Opt-tab", to: "Cmd-F1"
|
140
|
+
end
|
141
|
+
```
|
142
|
+
|
116
143
|
## Contributing
|
117
144
|
|
118
145
|
1. Fork it ( https://github.com/k0kubun/karabiner-dsl/fork )
|
File without changes
|
data/lib/karabiner/key.rb
CHANGED
data/lib/karabiner/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karabiner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,9 +98,9 @@ files:
|
|
98
98
|
- Rakefile
|
99
99
|
- bin/karabiner
|
100
100
|
- bin/karabiner-dsl
|
101
|
-
- dotremap.gemspec
|
102
101
|
- img/disabled.png
|
103
102
|
- img/enabled.png
|
103
|
+
- karabiner.gemspec
|
104
104
|
- lib/karabiner.rb
|
105
105
|
- lib/karabiner/appdef.rb
|
106
106
|
- lib/karabiner/cli.rb
|
@@ -119,11 +119,11 @@ files:
|
|
119
119
|
- lib/karabiner/version.rb
|
120
120
|
- lib/karabiner/vkopenurldef.rb
|
121
121
|
- lib/karabiner/xml_tree.rb
|
122
|
-
- spec/lib/
|
123
|
-
- spec/lib/
|
124
|
-
- spec/lib/
|
125
|
-
- spec/lib/
|
126
|
-
- spec/lib/
|
122
|
+
- spec/lib/karabiner/appdef_spec.rb
|
123
|
+
- spec/lib/karabiner/karabiner_spec.rb
|
124
|
+
- spec/lib/karabiner/key_spec.rb
|
125
|
+
- spec/lib/karabiner/remap_spec.rb
|
126
|
+
- spec/lib/karabiner_spec.rb
|
127
127
|
- spec/spec_helper.rb
|
128
128
|
homepage: https://github.com/k0kubun/karabiner-dsl
|
129
129
|
licenses:
|
@@ -145,14 +145,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.5
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Lightweight keyremap configuration DSL
|
152
152
|
test_files:
|
153
|
-
- spec/lib/
|
154
|
-
- spec/lib/
|
155
|
-
- spec/lib/
|
156
|
-
- spec/lib/
|
157
|
-
- spec/lib/
|
153
|
+
- spec/lib/karabiner/appdef_spec.rb
|
154
|
+
- spec/lib/karabiner/karabiner_spec.rb
|
155
|
+
- spec/lib/karabiner/key_spec.rb
|
156
|
+
- spec/lib/karabiner/remap_spec.rb
|
157
|
+
- spec/lib/karabiner_spec.rb
|
158
158
|
- spec/spec_helper.rb
|
159
|
+
has_rdoc:
|