lib/textbringer/commands/windows.rb in textbringer-0.1.7 vs lib/textbringer/commands/windows.rb in textbringer-0.1.8
- old
+ new
@@ -33,9 +33,13 @@
define_command(:other_window) do
Window.other_window
end
+ define_command(:enlarge_window) do |n = number_prefix_arg|
+ Window.current.enlarge(n)
+ end
+
define_command(:switch_to_buffer) do
|buffer_name = read_buffer("Switch to buffer: ")|
if buffer_name.is_a?(Buffer)
buffer = buffer_name
else