Skip to content

Just like how Vim, Neovim, and Emacs users have a jump list for different navigation, now Zellij users can have that as well!

License

Notifications You must be signed in to change notification settings

blank2121/zellij-jump-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zellij Jump List

A Zellij plugin for navigating your motions from pane-to-pane.

Inspired by the jump list commonly in editors like vim, nvim, emacs.

usage

Usage

  • Up and Down or j and k to cycle through the jump pane list
  • Enter to go back to the selected pane
  • Esc to exit

Why?

Briefly: to quickly go to previous panes.

  • Can jump to old panes from different tabs.
  • Easy to use.

Installation

Requires Zellij 0.38.0 or newer.

Note: you will need to have wasm32-wasi added to rust as a target to build the plugin. This can be done with rustup target add wasm32-wasi.

git clone https://github.com/blank2121/zellij-jump-list.git
cd zellij-jump-list
./install.sh

If install.sh does not run or does not have the permission to run, run chmod +x ./install.sh

All ./install.sh does is compile it and move the .wasm to ~/.config/zellij/plugins/

Keybinding

Add the following to your zellij config somewhere inside the keybinds section:

shared_except "locked" {
    bind "Ctrl y" {
        LaunchOrFocusPlugin "file:~/.config/zellij/plugins/zellij-jump-list.wasm" {
            floating true; move_to_focused_tab true;
        }
    }
}

You likely already have a shared_except "locked" section in your configs. Feel free to add bind there.

Contributing

If you find any issues or want to suggest ideas please open an issue.

About

Just like how Vim, Neovim, and Emacs users have a jump list for different navigation, now Zellij users can have that as well!

Topics

Resources

License

Stars

Watchers

Forks