How to go back to Yazi from Nvim w/o closing Nvim? #3251
              
                Unanswered
              
          
                  
                    
                      sunbearc22
                    
                  
                
                  asked this question in
                1. Q&A
              
            Replies: 2 comments 9 replies
-
| 
         If you prefer to remain in   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| 
         Yazi just launches Neovim as a subprocess and transfers the complete terminal control to Neovim. To achieve what you described, Neovim would need to somehow return control back to Yazi (the parent process) without exiting, but I'm not sure if that's possible.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    8 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
Yazi 25.9.15 (46569a1 2025-10-16)
yazi --debugoutputYazi Version: 25.9.15 (46569a1 2025-10-16) Debug : false Triple : x86_64-unknown-linux-gnu (linux-x86_64) Rustc : 1.90.0 (1159e78c 2025-09-14) Ya Version: 25.9.15 (46569a1 2025-10-16) Emulator TERM : Some("xterm-256color") TERM_PROGRAM : Some("WezTerm") TERM_PROGRAM_VERSION: Some("20251014-193657-64f2907c") Brand.from_env : Some(WezTerm) Emulator.detect : Emulator { kind: Left(WezTerm), light: false, csi_16t: (10, 30), force_16t: false } Adapter Adapter.matches : Iip Dimension.available: Dimension { rows: 33, columns: 190, width: 1900, height: 990 } Desktop XDG_SESSION_TYPE : Some("x11") WAYLAND_DISPLAY : None DISPLAY : Some(":1") SWAYSOCK : None HYPRLAND_INSTANCE_SIGNATURE: None WAYFIRE_SOCKET : None SSH shared.in_ssh_connection: false WSL WSL: false Variables SHELL : Some("/bin/bash") EDITOR : Some("nvim") VISUAL : None YAZI_FILE_ONE : None YAZI_CONFIG_HOME : None YAZI_ZOXIDE_OPTS : None FZF_DEFAULT_OPTS : None FZF_DEFAULT_COMMAND: None Text Opener default : Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-create: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-rename: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) Multiplexers TMUX : false tmux version : 3.4 tmux build flags : enable-sixel=Unknown ZELLIJ_SESSION_NAME: None Zellij version : No such file or directory (os error 2) Dependencies file : 5.45 ueberzugpp : 2.9.7 ffmpeg/ffprobe: 6.1.1-3 / 6.1.1-3 pdftoppm : 24.02.0 magick : No such file or directory (os error 2) fzf : 0.65.2 fd/fdfind : No such file or directory (os error 2) / 9.0.0 rg : 14.1.1 chafa : 1.14.0 zoxide : 0.9.8 7zz/7z : No such file or directory (os error 2) / 23.01 resvg : No such file or directory (os error 2) jq : 1.7 Clipboard wl-copy/paste: No such file or directory (os error 2) / No such file or directory (os error 2) xclip : 0.13 xsel : No such file or directory (os error 2) Routine `file -bL --mime-type`: text/plainDescribe the question
From the terminal, I first ran Yazi. I call up a few tabs to do different file/directory stuff. I then open a file from one of these opened tabs. Nvim is called up because I have configured Yazi to use nvim as Editor. So the file is opened in nvim. While working in nvim, I now I want to return to one of the tabs opened in Yazi to do some other file/folder stuff. How do I go back to the same Yazi object that opened the nvim object? If I use yazi.nvim now, it will call up a totally new yazi object which is not the first Yazi object that I had started out with.
To return to the original Yazi object, so far I only know of quiting nvim by doing
:q. But what is I don't want to quit nvim? I just want to return to the first Yazi object to do some file-folder stuff and then return back to nvim to continue with my file editing tasks. How do I return to the same Yazi object and then back again to nvim? Is this workflow possible/allowed?Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions