vimamsa 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/vimamsa +4 -2
- data/lib/vimamsa/ack.rb +0 -4
- data/lib/vimamsa/actions.rb +20 -32
- data/lib/vimamsa/buffer.rb +23 -16
- data/lib/vimamsa/buffer_list.rb +3 -3
- data/lib/vimamsa/debug.rb +6 -6
- data/lib/vimamsa/easy_jump.rb +129 -125
- data/lib/vimamsa/editor.rb +29 -28
- data/lib/vimamsa/file_finder.rb +2 -2
- data/lib/vimamsa/file_history.rb +12 -5
- data/lib/vimamsa/gui.rb +561 -0
- data/lib/vimamsa/gui_gtk_sourceview.rb +294 -0
- data/lib/vimamsa/gui_menu.rb +100 -0
- data/lib/vimamsa/gui_select_window.rb +177 -0
- data/lib/vimamsa/gui_sourceview.rb +294 -0
- data/lib/vimamsa/{default_key_bindings.rb → key_actions.rb} +64 -189
- data/lib/vimamsa/key_binding_tree.rb +21 -9
- data/lib/vimamsa/key_bindings_vimlike.rb +259 -0
- data/lib/vimamsa/macro.rb +1 -1
- data/lib/vimamsa/main.rb +1 -2
- data/lib/vimamsa/rbvma.rb +16 -1023
- data/lib/vimamsa/search.rb +0 -4
- data/lib/vimamsa/search_replace.rb +1 -2
- data/lib/vimamsa/version.rb +1 -1
- metadata +9 -3
data/lib/vimamsa/search.rb
CHANGED
@@ -115,7 +115,7 @@ def gui_replace_callback(vals)
|
|
115
115
|
search_str = vals["search"]
|
116
116
|
replace_str = vals["replace"]
|
117
117
|
puts "gui_replace_callback: #{search_str} => #{replace_str}"
|
118
|
-
|
118
|
+
gui_select_window_close(0)
|
119
119
|
buf_replace(search_str, replace_str)
|
120
120
|
end
|
121
121
|
|
@@ -152,7 +152,6 @@ def buf_replace(search_str, replace_str)
|
|
152
152
|
else
|
153
153
|
$buffer.set_content(repbuf)
|
154
154
|
$buffer.set_pos(tmppos)
|
155
|
-
# $do_center = 1 #TODO
|
156
155
|
message("Replacing #{search_str} with #{replace_str}.")
|
157
156
|
end
|
158
157
|
end
|
data/lib/vimamsa/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vimamsa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sami Sieranoja
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -192,16 +192,22 @@ files:
|
|
192
192
|
- lib/vimamsa/buffer_list.rb
|
193
193
|
- lib/vimamsa/constants.rb
|
194
194
|
- lib/vimamsa/debug.rb
|
195
|
-
- lib/vimamsa/default_key_bindings.rb
|
196
195
|
- lib/vimamsa/easy_jump.rb
|
197
196
|
- lib/vimamsa/editor.rb
|
198
197
|
- lib/vimamsa/encrypt.rb
|
199
198
|
- lib/vimamsa/file_finder.rb
|
200
199
|
- lib/vimamsa/file_history.rb
|
201
200
|
- lib/vimamsa/file_manager.rb
|
201
|
+
- lib/vimamsa/gui.rb
|
202
|
+
- lib/vimamsa/gui_gtk_sourceview.rb
|
203
|
+
- lib/vimamsa/gui_menu.rb
|
204
|
+
- lib/vimamsa/gui_select_window.rb
|
205
|
+
- lib/vimamsa/gui_sourceview.rb
|
202
206
|
- lib/vimamsa/hook.rb
|
203
207
|
- lib/vimamsa/hyper_plain_text.rb
|
208
|
+
- lib/vimamsa/key_actions.rb
|
204
209
|
- lib/vimamsa/key_binding_tree.rb
|
210
|
+
- lib/vimamsa/key_bindings_vimlike.rb
|
205
211
|
- lib/vimamsa/macro.rb
|
206
212
|
- lib/vimamsa/main.rb
|
207
213
|
- lib/vimamsa/rbvma.rb
|