hiiro 0.1.103 → 0.1.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/h-window +44 -0
- data/lib/hiiro/version.rb +1 -1
- metadata +8 -8
- /data/{script → scripts}/compare +0 -0
- /data/{script → scripts}/install +0 -0
- /data/{script → scripts}/publish +0 -0
- /data/{script → scripts}/sync +0 -0
- /data/{script → scripts}/test +0 -0
- /data/{script → scripts}/update +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91b42e1f81626b60d53e555716eb8dd2f5ed78430150d5f459f057c1866c1fc5
|
|
4
|
+
data.tar.gz: 752c39ce5b291f32e23b5ad542f7b92659f65e3ace6290dbd014609113bca83e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d33442eb08708cd8a77e29c8e8534925951703ee158f81109d0137004d25facaa5640d2381679885f1e9cc1a9d78efba927af1fae7e71f742826adfc342c029
|
|
7
|
+
data.tar.gz: 6d8f6df9a92a723ebeee3c0bdb77b9d8260d538012e84aa391ac5aacf0b6ebe9f81770a159449bdaa39b20ebabe4326bee083e4eb6171d6c656ccc6e1cc0c992
|
data/bin/h-window
CHANGED
|
@@ -133,4 +133,48 @@ Hiiro.run(*ARGV, plugins: [Pins]) do
|
|
|
133
133
|
puts "Window not found"
|
|
134
134
|
end
|
|
135
135
|
}
|
|
136
|
+
|
|
137
|
+
add_subcmd(:vsplit) {
|
|
138
|
+
system('tmux', 'select-layout', 'even-horizontal')
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
add_subcmd(:hsplit) {
|
|
142
|
+
system('tmux', 'select-layout', 'even-vertical')
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
add_subcmd(:layout) { |q=nil|
|
|
146
|
+
layouts = {
|
|
147
|
+
mhorizontal: 'main-vertical',
|
|
148
|
+
main_horizontal: 'main-vertical',
|
|
149
|
+
ehorizontal: 'even-vertical',
|
|
150
|
+
horizontal: 'even-vertical',
|
|
151
|
+
even_horizontal: 'even-vertical',
|
|
152
|
+
|
|
153
|
+
even_vertical: 'even-horizontal',
|
|
154
|
+
evertical: 'even-horizontal',
|
|
155
|
+
vertical: 'even-horizontal',
|
|
156
|
+
main_vertical: 'main-horizontal',
|
|
157
|
+
mvertical: 'main-horizontal',
|
|
158
|
+
main_vertical_mirrored: 'main-horizontal-mirrored',
|
|
159
|
+
mmvertical: 'main-horizontal-mirrored',
|
|
160
|
+
|
|
161
|
+
tiled: 'tiled',
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if q.nil?
|
|
165
|
+
layout = fuzzyfind(layouts)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
if layouts.values.include?(q)
|
|
169
|
+
layout = q
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if layout.nil?
|
|
173
|
+
begin
|
|
174
|
+
_, layout = Hiiro::Matcher.resolve(layouts, q) { |k,v| k }
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
system('tmux', 'select-layout', layout)
|
|
179
|
+
}
|
|
136
180
|
end
|
data/lib/hiiro/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hiiro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.104
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Toyota
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -125,12 +125,12 @@ files:
|
|
|
125
125
|
- plugins/pins.rb
|
|
126
126
|
- plugins/project.rb
|
|
127
127
|
- plugins/tasks.rb
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
128
|
+
- scripts/compare
|
|
129
|
+
- scripts/install
|
|
130
|
+
- scripts/publish
|
|
131
|
+
- scripts/sync
|
|
132
|
+
- scripts/test
|
|
133
|
+
- scripts/update
|
|
134
134
|
homepage: https://github.com/unixsuperhero/hiiro
|
|
135
135
|
licenses:
|
|
136
136
|
- MIT
|
/data/{script → scripts}/compare
RENAMED
|
File without changes
|
/data/{script → scripts}/install
RENAMED
|
File without changes
|
/data/{script → scripts}/publish
RENAMED
|
File without changes
|
/data/{script → scripts}/sync
RENAMED
|
File without changes
|
/data/{script → scripts}/test
RENAMED
|
File without changes
|
/data/{script → scripts}/update
RENAMED
|
File without changes
|