Git Product home page Git Product logo

maglev's Introduction

Maglev

A Tmux theme made to work together with Bullet train.

Screenshot

The annotated screenshot:

Installing

This plugin depends on the following tmux plugins:

This plugin has the following optional dependencies:

See installing TPM plugins.

You will have to declare the plugins and the theme on your .tmux.conf:

# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1

set-option -g status-position top

set-option -g repeat-time 0

# Removes ESC delay
set -sg escape-time 0

# List of plugins
set -g @tpm_plugins '                     \
    caiogondim/maglev                     \
    tmux-plugins/tpm                      \
    tmux-plugins/tmux-sensible            \
    tmux-plugins/tmux-resurrect           \
    tmux-plugins/tmux-continuum           \
    tmux-plugins/tmux-yank                \
    tmux-plugins/tmux-pain-control        \
    tmux-plugins/tmux-copycat             \
    tmux-plugins/tmux-open                \
    tmux-plugins/tmux-battery             \
    tmux-plugins/tmux-cpu                 \
    tmux-plugins/tmux-prefix-highlight    \
'

# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'

This Tmux theme was made to work with Bullet train ZSH theme.

Some dependencies:

Donating

If you found this library useful and are willing to donate, transfer some bitcoins to 1BqqKiZA8Tq43CdukdBEwCdDD42jxuX9UY or through the URL https://www.coinbase.com/caiogondim

Or via PayPal.me https://www.paypal.me/caiogondim.

Credits

maglev's People

Contributors

caiogondim avatar danielfgray avatar faceleg avatar nocttuam 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  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  avatar  avatar

Watchers

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

maglev's Issues

cannot install

when I run make install the next error appears

~/maglev(branch:master) » make install
mv ~/.tmux.conf ~/.tmux.conf.bak
cp `pwd`/.tmux.conf ~/.tmux.conf
sed -i '' 's|{{pwd}}|'`pwd`'|g' ~/.tmux.conf
sed: can't read s|{{pwd}}|/home/phi/maglev|g: No such file or directory
Makefile:2: recipe for target 'install' failed
make: *** [install] Error 2

Custom binding for new-window is not working

I have the following bindings in my ~/.tmux.conf.local

bind-key c command-prompt -p "Name of new window: " "new-window -n '%%'"
bind-key r command-prompt -p "New name for window: " "rename-window '%%'"

The first prompts me for a name before creating a new tmux window.

After installing maglev, this binding doesn't work, Prefix+C creates a new window with no prompt.

status bar line break

I have an issue where the status bar does not properly aligns itself into the top line but breaks a new line instead. Could this issue be caused due to two internal batteries? Even deleting the CPU and/or time/date line this issue still persists.

Fedora 23, tmux-2.1-3.fc23.x86_64, oh-my-zsh, gnome terminal 3.18.3

screenshot from 2016-06-02 21-07-14

Color Scheme?

Could you post the color scheme/palette for this? I'd like to use the colors in Windows Terminal.

Colors issue

Hello, I use base16 colors for zsh, bullet-train theme and vim. Everything looks similar on those but it's off on maglev, sometimes unreadable (orange over yellow etc). How could i get the maglev bars to have a similar color to the bullet-train bars ?

TMP installation instructions

Do the current instructions work?

I use:

set -g @tpm_plugins '                \                                                                            
    tmux-plugins/tpm                 \                                                                            
    tmux-plugins/tmux-sensible       \                                                                            
    tmux-plugins/tmux-resurrect      \                                                                            
    tmux-plugins/tmux-continuum      \                                                                            
    tmux-plugins/tmux-yank           \                                                                            
    tmux-plugins/tmux-pain-control   \                                                                            
    tmux-plugins/tmux-copycat        \                                                                            
    tmux-plugins/tmux-open           \                                                                            
    tmux-plugins/tmux-battery        \                                                                            
    tmux-plugins/tmux-cpu            \                                                                            
    caiogondim/maglev                \
'

Support for color customisation

Because I am using a different zsh theme than the bullet train, it doesn't match well with yours. Possible to customise some color values with overrides?

Status bar on bottom

In my previous installation, it worked perfectly.

I reinstalled it with same instructions shown in the README. There were few isuues.

  • status bar appears in the bottom instead of the usual top.
  • Date and time on the left side of status bar are not clearly visible
  • When new panes are created, Line separating them are only partially visible.

tmux

Colors intefere with vim-airline under monokai

Without tmux, my vim session looks like the following:
image
which is well readable and comfortable.

When inside tmux with maglev, the vim session looks like this:
image
You can see that the texts in the vim statusline are barely readable.

Maybe we can adjust the colors a little? Or restrict the color themes to the tmux statuslines only?

Zoom indicator

This theme currently does not indicate window zoom status. Would be great to see this in the status line :)

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.