exactly. imo running a terminal is not a text editor concern. heck, even tmux/zellij is the “incorrect” solution. preference of course, but i’ll have my window manager or terminal emulator handle that, thank you.
Would love to hear more about floating windows, yeah. Especially around Telescope, but also being able to run a command, close the floaty, and be able to come back to it. I'm imagining a case where you ran a test library in watch mode.
I love the builtin terminal. Been using it for years. The only thing that annoys me is when I have a long line wrapped, selected, yanked, then I paste it into a file buffer and voila the linebreak has been yanked too from the line break. That's it, everything else is cool as a freezer!
You can probably create an autocommand that when you yank and your inside a terminal buffer, it will automatically set opts to not wrap, yank, and then set opts back to wrap. Could look janky tho, haven’t tried…
I use this kind of workflow for building docs, which takes 10-30 seconds. During the build I can keep editing. If successful the terminal window auto-closes. If there's an error it stays. Terminal has the benefit that you get color coding. To get the window to auto-close on success I set up an extremely convoluted on_lines callback. Probably there's an easier way?
Hi @TJ, loving these videos. One of the things that is keeping me from switching to Neovim is, the lack of a Command Palette. Sometimes I just want to execute a command on VScode, like for example, closing other open editors, or switching to a different project/workspace. I don't need to define keymaps for those things, I just bring up palette, fuzzy search for the command and hit Enter. Is there a way to create a similar experience using Neovim?
I used to think I had to have tmux because of all this important imaginary things I was doing with it. Now I just fire it up if I have something that needs to be back there and just dump it to the back ground. I feel like everything is slightly more responsive outside of tmux. I setup my neovim terminal to behave like vscode and cmd-t opens, focus and the same toggles and hides it
is there a way to somehow set what will be run everytime i do example??? It would be great when you start your workflow to set the compile command and have it easily accessed.
The example in the help said it joins the commands in the table with a new line, and had an empty string as the last part, I wonder if that would also work. Looks strange to me though, kind of makes more sense I guess
Maybe to get more content out of the floating windows make it be always the same term buffer? Not because I want to put that into my config and I'm too lazy to do it by myself... Not because of that at all...
Yes, video on floating windows please 🥺
you won't convince me to run a shell in a terminal emulator in a text editor within a terminal emulator !
And if you git commit it will open new editor, that is in shell of a terminal emulator in editor itself in a terminal emulator
In a docker container being ran with poweshell in a windows terminal
Did I catch a WSL-2-niner in there?
@@epotnwarlockover vnc on my android
exactly. imo running a terminal is not a text editor concern. heck, even tmux/zellij is the “incorrect” solution. preference of course, but i’ll have my window manager or terminal emulator handle that, thank you.
Would love to hear more about floating windows, yeah. Especially around Telescope, but also being able to run a command, close the floaty, and be able to come back to it. I'm imagining a case where you ran a test library in watch mode.
Same here, gotta see how to setup a test workflow.
Appreciate these videos @TJ. Please keep them coming!
Another video I never knew I needed 🙌
I really like these videos.
Quality content
I might have to switch from toggle term
Terminal in a text editor is a mistake. Love these videos though! You're a super star Teej ❤️
reasonable opinion :)
why?
You forgot to mention the nvim paradox. Opening multiple nested nvim instances
i just learned that nvim has a terminal, pretty cool to see more about this tbh
Nice videos , explanations are spot on vs trying to fill in the gaps when i listen to the prime 😂
Yes!! Floating windows video please, I'm learning how to use NVIM API this vacations
Thank you. Please more! 😄
I love the builtin terminal. Been using it for years. The only thing that annoys me is when I have a long line wrapped, selected, yanked, then I paste it into a file buffer and voila the linebreak has been yanked too from the line break. That's it, everything else is cool as a freezer!
I have the same issue 😅
You can probably create an autocommand that when you yank and your inside a terminal buffer, it will automatically set opts to not wrap, yank, and then set opts back to wrap. Could look janky tho, haven’t tried…
Floating windows is a great idea!
This is what I use to run `emacs -nw` in case I need to edit text while I'm in Neovim
Any chance you can upload the output from the lessons to the github so I can study these a little slower. Thank you.
We want everything you know about nvim!
Could you share a video demonstrating how you use Neovim to set up a terminal multiplexing workflow, such as with tmux?
I am enjoying this
How about zoom in and out a window , like if we compile something in a term window and many errors appear and we want to see the error clearly
What used to drive me crazy about the nvim terminal was that it did not source my custom functiins.
I use this kind of workflow for building docs, which takes 10-30 seconds. During the build I can keep editing. If successful the terminal window auto-closes. If there's an error it stays.
Terminal has the benefit that you get color coding.
To get the window to auto-close on success I set up an extremely convoluted on_lines callback. Probably there's an easier way?
Hi @TJ, loving these videos. One of the things that is keeping me from switching to Neovim is, the lack of a Command Palette.
Sometimes I just want to execute a command on VScode, like for example, closing other open editors, or switching to a different project/workspace.
I don't need to define keymaps for those things, I just bring up palette, fuzzy search for the command and hit Enter.
Is there a way to create a similar experience using Neovim?
from now on i will call
as registered nurse instead of Carriage Return + Line Feed!
I used to think I had to have tmux because of all this important imaginary things I was doing with it. Now I just fire it up if I have something that needs to be back there and just dump it to the back ground. I feel like everything is slightly more responsive outside of tmux. I setup my neovim terminal to behave like vscode and cmd-t opens, focus and the same toggles and hides it
the only problem that i have with this is that it doesnt scroll to the bottom after it runs the command is there a way to do that?
Yea I also noticed the terminal is kinda weird how it doesn't always scroll with the output
Add a call to vim.cmd.startinsert() to the end of the auto command and you should start right on the terminal prompt.
is there a way to somehow set what will be run everytime i do example??? It would be great when you start your workflow to set the compile command and have it easily accessed.
floating windows will be cool.
I'd also be interested to know what process you go through to write a plugin?
Floating windows is coo coo cool 🙊
is there any option, once i am in a term, lets say run make. have a keybind to jump to a error line on the code itself?
I used to think i was really smart for making basically almost hte exact same setup on my vim when i first started....
why do i not have vim logo beside where normal /insert is written
Please make the float window video.
Yo, is it possible to get the std out/error from a terminal buffer?
OK that's so cool
I would love to see floating windows.
Floating windows would be cool, may replace dependency on toggle term from my config
The example in the help said it joins the commands in the table with a new line, and had an empty string as the last part, I wonder if that would also work. Looks strange to me though,
kind of makes more sense I guess
What is the undefined global?
Is it possible to open an interpreter in the terminal and send selected text to it?
make one on floating window where we can keep our backend server running
Woah i didn't know that 👍 thanks
Maybe to get more content out of the floating windows make it be always the same term buffer? Not because I want to put that into my config and I'm too lazy to do it by myself... Not because of that at all...
Or... tmux, I do like having it in a buffer though.
Yeah. Make a video about floating window.
Holy how !! you tell me that there is a terminal inside texteditor based on terminal ???
Why nvim take to long to open file
yes show me videos on everything
It actually says in the docs, at 7:37 , that sending an empty string sends a newline
1st
0 views in 1min
No views 27s ago fell off