Blog: 2023-07-10: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
Line 14: Line 14:
Ok so here's the flow I want to be able to do. It's using my old tmux habits. Looks like this
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
* start terminal and cd into project
- open editor / tmux
* open editor / tmux
- open file in editor
* open file in editor
- switch to terminal and build
* switch to terminal and build
- switch back to file and edit
* switch back to file and edit
etc.
etc.



Revision as of 17:30, 10 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.