Class VimMate::Config
In: lib/vimmatelib/config.rb
Parent: Object

Holds the configurations for VimMate. Also read and write this configuration so the user can change it.

Methods

[]   config   lib_path   new  

Included Modules

NiceSingleton

Constants

BASE_FILENAME = '.vimmaterc'
DEFAULT_CONFIG = { :window_title => 'VimMate', :window_width => 950, :window_height => 600, :layout_big_terminals => false, :files_opened_width => 250, :files_closed_width => 25, :files_expanded => true, :file_headers_visible => false, :file_hover_selection => false, :file_directory_separator => true, :files_filter_active => true, :files_auto_expand_on_filter => false, :files_refresh_interval => 10, :files_default_open_in_tabs => true, :files_use_ellipsis => true, :files_use_search => true, :files_search_ignore_case => true, :files_search_separator_position => 400, :files_warn_too_many_files => 300, :files_warn_too_many_files_each_step => true, :files_show_status => true, :terminals_enabled => true, :terminals_height => 50, :terminals_font => "10", :terminals_foreground_color => "#000000", :terminals_background_color => "#FFFFDD", :terminals_audible_bell => false, :terminals_visible_bell => false, :terminals_autoexec => "", :terminals_login_shell => false, :subversion_enabled => true, }.freeze

Public Class methods

Create the Config class. Cannot be called directly

Public Instance methods

Easy access to the configuration hash

Access the configuration hash

Get the lib path

[Validate]