Method: VMAgui#set_one_column
- Defined in:
- lib/vimamsa/gui.rb
#set_one_column ⇒ Object
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/vimamsa/gui.rb', line 689 def set_one_column return if !@two_column #This always closes the leftmost column/window #TODO: close rightmost column if left active set_active_window(1) @windows[2][:sw].set_child(nil) @windows.delete(2) w1 = @windows[1] @pane.set_start_child(nil) @pane.set_end_child(nil) @vbox.remove(@pane) @vbox.attach(w1[:overlay], 0, 2, 2, 1) # @vbox.attach(@statbox, 1, 1, 1, 1) @two_column = false end |