]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/ex-mode/lib/vim-option.coffee
Update prompt to show ruby & node envs
[rbdr/dotfiles] / atom / packages / ex-mode / lib / vim-option.coffee
1 class VimOption
2 @singleton: =>
3 @option ||= new VimOption
4
5 list: =>
6 atom.config.set("editor.showInvisibles", true)
7
8 nolist: =>
9 atom.config.set("editor.showInvisibles", false)
10
11 number: =>
12 atom.config.set("editor.showLineNumbers", true)
13
14 nu: =>
15 @number()
16
17 nonumber: =>
18 atom.config.set("editor.showLineNumbers", false)
19
20 nonu: =>
21 @nonumber()
22
23 module.exports = VimOption