Add splitbelow and splitright options to :set
This commit is contained in:
parent
a59a6f9364
commit
7bec719a6f
2 changed files with 52 additions and 0 deletions
|
|
@ -20,4 +20,28 @@ class VimOption
|
|||
nonu: =>
|
||||
@nonumber()
|
||||
|
||||
splitright: =>
|
||||
atom.config.set("ex-mode.splitright", true)
|
||||
|
||||
spr: =>
|
||||
@splitright()
|
||||
|
||||
nosplitright: =>
|
||||
atom.config.set("ex-mode.splitright", false)
|
||||
|
||||
nospr: =>
|
||||
@nosplitright()
|
||||
|
||||
splitbelow: =>
|
||||
atom.config.set("ex-mode.splitbelow", true)
|
||||
|
||||
sb: =>
|
||||
@splitbelow()
|
||||
|
||||
nosplitbelow: =>
|
||||
atom.config.set("ex-mode.splitbelow", false)
|
||||
|
||||
nosb: =>
|
||||
@nosplitbelow()
|
||||
|
||||
module.exports = VimOption
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue