Blog: 2023-07-10: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
https://superuser.com/questions/708245/re-compile-vim-with-options |
https://superuser.com/questions/708245/re-compile-vim-with-options |
||
Line 22: | Line 23: | ||
I tried this other terminal window manager zellij but its ui had these borders I couldn't figure out how to get rid of that were taking up a bunch of screen space. |
I tried this other terminal window manager zellij but its ui had these borders I couldn't figure out how to get rid of that were taking up a bunch of screen space. |
||
At long last I have figured out how to open vim into 2 splits: |
|||
vim '+term ++curwin' +term |
|||
Now to figure out how to open vim in the original vim session: |
Revision as of 22:37, 11 July 2023
Adding a control+b feature to fjord. As I do so I realize that the vim terminal opens a nested vim instance which makes the vim command line really confusing.
Looks like one way around this is to use the vim clientserver functionality. Also something like the :drop command could be useful
But my vim doesn't come with clientserver (vim --version) so I'm installing vim from source:
$ sudo apt-get build-dep vim-gnome
https://superuser.com/questions/708245/re-compile-vim-with-options
Meanwhile I have neovim installed, but it doesn't have a termwinkey option. Huh...
Ok so here's the flow I want to be able to do. It's using my old tmux habits. Looks like this
- start terminal and cd into project
- open editor / tmux
- open file in editor
- switch to terminal and build
- switch back to file and edit
etc.
I tried this other terminal window manager zellij but its ui had these borders I couldn't figure out how to get rid of that were taking up a bunch of screen space.
At long last I have figured out how to open vim into 2 splits:
vim '+term ++curwin' +term
Now to figure out how to open vim in the original vim session: