kassio/neoterm

TREPLSend{Line,File} does not respect mods

jonathf opened this issue · 1 comments

Describe the bug
TREPLSendLine and TREPLSendFile does not respect vert mod when opening a new buffer.

To Reproduce
Steps to reproduce the behavior:

  1. Opened a neoterm with :vert TREPLSendLine

Expected behavior
Buffer open to the side like :vert T does.

Versions:

  • OS: Manjaro Linux
  • neoterm commit master/1283da9
  • Add all the configuration you have for neoterm
    call plug#begin()
    Plug 'kassio/neoterm'
    call plug#end()
    let g:neoterm_default_mod = 'botright'
  • Neovim Version v0.4.4

So what I was actually looking for here was to get the split to default to go right. I got that g:neoterm_default_mod was the variable that should control this, but 'vertical' went left and 'botright' went below.

So the solution for this, as I am figuring things out, is to pass multiple commands in space seperated list:

let g:neoterm_default_mod = 'botright vertical'

In other words, I am closing this, as the it is no longer a problem for me.

Note though, I stumbled upon this possibility in the docs in other unrelated sections. Perhaps it is worth mentioning this feature in the help text for g:neoterm_default_mod so others don't make the same mistake.