]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/packages/ex-mode/lib/vim-option.coffee
Fixes submodule names for paths
[rbdr/dotfiles] / atom / packages / ex-mode / lib / vim-option.coffee
CommitLineData
455f099b
BB
1class 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
23module.exports = VimOption