Add 'smartcase' option

This commit is contained in:
jazzpi 2016-08-15 23:47:34 +02:00
parent 6bb9c45793
commit c6efc0d46c
2 changed files with 26 additions and 0 deletions

View file

@ -44,4 +44,16 @@ class VimOption
nosb: =>
@nosplitbelow()
smartcase: =>
atom.config.set("vim-mode.useSmartcaseForSearch", true)
scs: =>
@smartcase()
nosmartcase: =>
atom.config.set("vim-mode.useSmartcaseForSearch", false)
noscs: =>
@nosmartcase()
module.exports = VimOption