kassio / neoterm

Wrapper of some vim/neovim's :terminal functions.
Other
1.32k stars 117 forks source link

Size option relationship to default mod? #202

Closed codeinabox closed 6 years ago

codeinabox commented 6 years ago

How does the size option now work in relation to g:neoterm_default_mod? I have the following settings but I noticed the size option no longer has any effect.

let g:neoterm_size = 10
let g:neoterm_default_mod = 'split'
kassio commented 6 years ago

Actually the g:neoterm_size still working. It took me a while to realize, split is not a vim mods (see :help mods for the list of valid mods). If you want a split you can use the g:neoterm_default_mod = 'botright' or g:neoterm_default_mod = 'vertical' for a vertical split.

codeinabox commented 6 years ago

That makes sense but how do I get it behave like it did with splitbelow? I am struggling to find an option that just does below horizontal splits

kassio commented 6 years ago

have you tried belowright ? (:help belowright) I think this will do the trick. 😄

codeinabox commented 6 years ago

Thank you