Giter VIP home page Giter VIP logo

better-tmux's People

Contributors

fdaciuk avatar vmarcosp avatar

Stargazers

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

Watchers

 avatar  avatar

better-tmux's Issues

Initial support for custom bindings

In addition to supporting UI customizations, we plan to offer a basic way to create custom bindings:

export default {
   bindings: [
    {
      key:  'C-c',
      command: 'new-window',
   },
   {
     key: 'h',
     command: 'select-pane',
     options: ['-L']
    }
}
# tmux.conf
bind C-c new-window -L
bind h select-pane -L

Initial version of documentation

We're currently lacking documentation. Since it's crucial for the developer experience (DX), we need to create comprehensive documentation, tutorials, and examples. We can start by creating a docs/ directory and adding some .md files.

For this initial version, we should document:

  • Motivation
  • Installation / Update
  • Basic usage
  • API Reference:
    • widgets
    • hooks
    • better-tmux exported functions, objects, etc

Suggestion: Installation Instructions for users that uses "oh-my-tmux" in Documentation

As I have been using tmux for a long time, I have configured oh-my-tmux on my machine. I think many users will have this pre-configured. The idea would be to have instructions in the documentation on how to install better-tmux for those who already have oh-my-zsh configured.

In this case, I managed to remove it here by removing the oh-my-tmux repo from my environment, but it may be recurring for other users.

Reference:
gpakosz/.tmux#678 (comment)

feat: Presets (pre-built configurations with widgets)

Since the configurations are simply objects exported and read by the CLI, we could offer pre-built configurations with various options for the status bar (left), window management, theming, and more.

import { minimal } from 'better-tmux/presets''

export default minimal

Customizing:

import { minimal } from 'better-tmux/presets'

export default {
  ...minimal, 
  theme: 'nord'
}

Initial support for global options

We plan to offer a way to modify global options with the following API:

export default {
  options: {
    prefix: 'C-a',
    baseIndex: 1,
    historyLimit: 10000,
    defaultTerminal: 'screen-256color',
    mouse: true,
    renumberWindows: true,
    aggressiveResize: true,
  }
}

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.