Skip to content

Tmux plugin to show current keyboard layout

License

Notifications You must be signed in to change notification settings

imomaliev/tmux-keyboard-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tmux Keyboard Layout plugin

Plugin that shows current keyboard layout.

Usage

set -g status-right '#{keyboard_layout}'

Installation with Tmux Plugin Manager (recommended)

Add plugin to the list of TPM plugins:

set -g @plugin 'imomaliev/tmux-keyboard-layout'

Press prefix + I to install it.

Manual Installation

Clone the repo:

$ git clone https://github.com/imomaliev/tmux-keyboard-layout.git ~/clone/path

Add this line to your .tmux.conf:

run-shell ~/clone/path/keyboard-layout.tmux

Reload TMUX environment with:

$ tmux source-file ~/.tmux.conf

Configurations

Change option scope (default g - global)

Follows same rules as set-option

Special case: To set scope to session use '-', because by default session scope used when no param is provided.

set -g @keyboard_layout:option_scope '-'

Change output length (default 16)

Make output length equal to 2

set -g @keyboard_layout:length 2

License

MIT

About

Tmux plugin to show current keyboard layout

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages