All Projects → fdw → ranger-autojump

fdw / ranger-autojump

Licence: MIT License
The combined magic of autojump, ranger and zsh

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to ranger-autojump

Z.lua
⚡ A new cd command that helps you navigate faster by learning your habits.
Stars: ✭ 2,164 (+3567.8%)
Mutual labels:  zsh, zsh-plugin, autojump
czmod
🚀 Native Module Written in C to Boost z.lua !!
Stars: ✭ 35 (-40.68%)
Mutual labels:  zsh, autojump
zsh-poetry
🐚 Simple ZSH plugin for automatically activating and deactivating Poetry-created virtualenvs. 🐍
Stars: ✭ 43 (-27.12%)
Mutual labels:  zsh, zsh-plugin
git-prompt.zsh
A fast, customizable, pure-shell, asynchronous Git prompt for Zsh
Stars: ✭ 139 (+135.59%)
Mutual labels:  zsh, zsh-plugin
ranger-archives
Ranger Plugin for Creating and Extracting Archives
Stars: ✭ 68 (+15.25%)
Mutual labels:  ranger, ranger-plugin
ranger-cmus
Ranger Plugin for Integration with Cmus Audio Player
Stars: ✭ 20 (-66.1%)
Mutual labels:  ranger, ranger-plugin
dotfiles
cross-platform (linux (arch), macos, android (termux), windows (WSL)) dotfiles and scripts, using yadm
Stars: ✭ 17 (-71.19%)
Mutual labels:  zsh, ranger
Enhancd
🚀 A next-generation cd command with your interactive filter
Stars: ✭ 2,049 (+3372.88%)
Mutual labels:  zsh, autojump
aterminal
🎉 An oh-my-zsh plugin for show platform versions
Stars: ✭ 31 (-47.46%)
Mutual labels:  zsh, zsh-plugin
dotfiles
My Linux settings and configs
Stars: ✭ 33 (-44.07%)
Mutual labels:  zsh, ranger
config-public
Linux/WSL config to optimize ergonomics, security, and productivity: vim/neovim, zsh, tmux, i3, emacs, vscode, ipython, jupyter, ranger, fzf, kitty, xkb, selfquant, firejail, systemd, etc
Stars: ✭ 14 (-76.27%)
Mutual labels:  zsh, ranger
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+7394.92%)
Mutual labels:  zsh, autojump
Zsh Vi Mode
💻 A better and friendly vi(vim) mode plugin for ZSH.
Stars: ✭ 181 (+206.78%)
Mutual labels:  zsh, zsh-plugin
gitignore.plugin.zsh
ZSH plugin for creating .gitignore files.
Stars: ✭ 44 (-25.42%)
Mutual labels:  zsh, zsh-plugin
zhooks
Display Zsh hook functions and arrays
Stars: ✭ 36 (-38.98%)
Mutual labels:  zsh, zsh-plugin
zsh-titles
Terminal/tmux titles based on current location and task
Stars: ✭ 46 (-22.03%)
Mutual labels:  zsh, zsh-plugin
History Sync
An oh-my-zsh plugin for GPG encrypted internet synchronised Zsh history, with Git.
Stars: ✭ 135 (+128.81%)
Mutual labels:  zsh, zsh-plugin
Quiver
Quiver is the tool to manage all of your tools for bug bounty hunting and penetration testing.
Stars: ✭ 140 (+137.29%)
Mutual labels:  zsh, zsh-plugin
zsh-ssh-agent
Ssh-agent management for zsh
Stars: ✭ 19 (-67.8%)
Mutual labels:  zsh, zsh-plugin
dotfiles
dotfiles of my linux setup
Stars: ✭ 25 (-57.63%)
Mutual labels:  zsh, ranger

Ranger & Autojump

This plugin for ranger adds complete support for autojump to ranger: Whenever a new directory is opened in ranger, autojump is notified and can change the weights accordingly. Using :j you can use autojump to jump to a directory. This is made even better by adding map cj console j%space to your rc.conf. Thus typing cj dirname will let you jump to dirname.

As an added bonus, there is a zsh plugin introducing a new function called r. Without arguments, it just opens ranger. If you supply an argument that is a directory, ranger is opened in that directory. But if you supply anything else as an argument, autojump is called with the argument and ranger is opened there 🧙

If you want similar functionality for zoxide, you can try ranger-zoxide.

Maintenance Mode

As autojump seems to be unmaintained and there's not really any features missing, this repo exists as-is. I will still look at PRs and issues, but don't expect too much.

If you want similar functionality for zoxide, you can try ranger-zoxide.

Installation

Ranger plugin

  • Copy autojump.py to ${XDG_CONFIG_HOME}/ranger/plugins.
  • Add the following mapping to your rc.conf for convenience:
     map cj console j%space
    

vim plugin (optional extra)

  • To use autojump with vim, the autojump.vim plugin can be installed. This can also be integrated with ZSH as shown below.

zsh plugin

  • Install the zsh plugin using your favorite plugin manager, e.g.:
    • zgen:
      • zgen load fdw/ranger_autojump
    • antigen:
      • antigen bundle fdw/ranger_autojump@main
    • oh-my-zsh:
      1. Clone this repository into oh-my-zsh's plugin directory:
        git clone https://github.com/fdw/ranger-autojump ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/ranger-autojump
        
      2. Activate the plugin in ~/.zshrc:
        plugins=( [plugins...] ranger-autojump)
        
  • (Optional) For vim integration add the following convenience function to your .zshrc:
function jvim { file="$(AUTOJUMP_DATA_DIR=~/.autojump.vim/global autojump $@)"; if [ -n "$file" ]; then vim "$file"; fi }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].