Currently, my setup includes tmux with various tabs and windows/panes for the terminal, editor, logs, etc. It really works well for me.

That being said, I love neovim and would love to try to bring it all under a single program. My issue is that I can’t get used to the terminal in Neovim. One thing I like about the tmux panes is that they are distinctly different in color schemes - the terminal being darker and with much more contrast. But from what I can tell, even if I use folke’s styler, I don’t think the terminal counts for a filetype, so it will revert to my default.

Some other items I wish I could improve with neovim’s terminal are the line numbers, I would rather they be removed.

I’ve tried a few plugins, but nothing really tickled my fancy. Would be curious if anyone else feels the same way or has found a solution?

  • tadpuen@open-source.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    The terminal does not have a filetype, but it does has buftype=terminal. There is also a dedicated autocmd TermOpen where you can set up your settings as you want.

  • wilriker@open-source.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I feel somehow similar, also using tmux (in my case inside st terminal) and neovim. I tried various times combining the features of the terminal and tmux but I am so used to the very specific workflows I developed over the years that I’ve thus far always come back to that setup.

    And here is the part that might relate to you: is there any explicit pain you experience with your current setup or would it be just nice/cool/nerdy to be able to combine things? In the latter case my experience is: leave it as it is and save this time for some more productive improvements. :-)

    • normanras@open-source.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Hit the nail on the head - it’s more the “playing with the config” and “see what’s possible” type of interest. My current setup is perfect for my workflow and use case and relying on a new tmux pane/window for the terminal works as I’d like. Complete navigation between tmux and neovim with the keyboard; I have no need at all to combine things. Thanks for cutting right through me! 😆

  • le_christmas@open-source.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I use neovim-session-manager plus lspsaga’s floating terminal window that opens a terminal in pwd together to do that kinda stuff, plus remapping some commands in terminal mode to help me exit easily because the default command is awkward for me to hit. Here’s my config, lmk if you want to be pointed at any specific part cause it’s kinda funky https://github.com/avegancafe/Juliet

  • solid-snail@open-source.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I also use tmux and neovim in my workflow, but I actually prefer it that way.

    I think it’s good to have that separation of responsibility.
    Tmux handles the work sessions, nvim handles text editing.