Code Monkey home page Code Monkey logo

session-finder's Introduction

session-finder

Commands for session related tasks.

asciicast

Install

mkdir -p ~/.tmux/
git clone https://github.com/siadat/session-finder ~/.tmux/session-finder
~/.tmux/session-finder/install.bash

Usage

M-p       Open session finder (uses fzf)
M-`	      Go to next session
M-~	      Go to previous session
M-q       Go to the last session (toggle back and forth)

Usage without install.bash

Print a pretty list of session names to be used by status-left:

./session-finder.bash status

Start fzf and find or create a named sessions:

./session-finder.bash finder

Switch to the last session:

./session-finder.bash last

Switch to the next session:

./session-finder.bash next

Switch to the previous session:

./session-finder.bash prev

Suggested config:

set-option -g status-left ' #(./session-finder.bash status) '
bind-key -n 'M-p' new-window './session-finder.bash finder'
bind-key -n 'M-`' run -b     './session-finder.bash next'
bind-key -n 'M-~' run -b     './session-finder.bash prev'
bind-key -n 'M-q' run -b     './session-finder.bash last'

Read my blog post for more information.

session-finder's People

Contributors

siadat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

session-finder's Issues

Remove non-session related keybindings

Hi, I am enjoying your session-finder plugin! However, some of the keybindings are clobbering my existing keybindings and I don't feel that bindings like: bind-key -n 'M-l' select-window -t +1 belong in a "session-finder" plugin. Is it possible for those to be removed or made optional?

support tpm

It seems to me that your installation procedure is quite manual, it would be nice if this plugin supported tpm in order to integrate nicely with an already established flow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.