Module: VimBundle::Methods

Included in:
VimBundle
Defined in:
lib/vim_bundle/methods.rb

Instance Method Summary collapse

Instance Method Details

#commandsObject



21
22
23
# File 'lib/vim_bundle/methods.rb', line 21

def commands
  @commands ||= []
end

#configObject



17
18
19
# File 'lib/vim_bundle/methods.rb', line 17

def config
  @config ||= YAML.load_file(default_config_file)
end

#default_config_fileObject



13
14
15
# File 'lib/vim_bundle/methods.rb', line 13

def default_config_file
  File.join(self.vim_home, 'bundle.yml')
end

#dirObject



9
10
11
# File 'lib/vim_bundle/methods.rb', line 9

def dir
  File.join(self.vim_home, 'bundle')
end

#vim_homeObject



5
6
7
# File 'lib/vim_bundle/methods.rb', line 5

def vim_home
  File.join(ENV['HOME'], '.vim')
end