An open API service indexing awesome lists of open source software.

https://github.com/dynamotn/tmux-config

My tmux configuration, mirror from Gitlab
https://github.com/dynamotn/tmux-config

Last synced: over 1 year ago
JSON representation

My tmux configuration, mirror from Gitlab

Awesome Lists containing this project

README

          


Logo

Dynamo's tmux configuration



Stargazers


Issues

Features
========

* Easy navigation
* Smoothly navigation with vim
* Automatically set title of window
* Automatically start, save, restore tmux session
* Easy to search text, copy and paste text
* Easymotion navigation to select text
* POMODORO timer

Requirements
============

* [tmux](https://github.com/tmux/tmux): v3.2+
* [fzf](https://github.com/junegunn/fzf)
* xsel

Installation
============

Clone this repository to `~/.config/tmux`, and link config file to `~/.tmux.conf`
```bash
rm -rf ~/.config/tmux
git clone https://gitlab.com/dynamo-config/tmux ~/.config/tmux
ln -sf ~/.config/tmux/config ~/.tmux.conf
```

Keybindings
===========
- On my PC at home: `prefix` is `Ctrl-a`
- On my tablet: `prefix` is `Ctrl-x`
- On my PC at office: `prefix` is `Ctrl-s`
- Otherwise: `prefix` is `Ctrl-b`

I use `vi` mode keys for tmux.
Here is some keybindings that I changed versus tmux default configuration:

| Key | Mode | Description |
|:----|:----:|:------------|
|`prefix + Escape`|normal|Go to copy mode|
|`v`|copy|Select text in pan|
|`prefix + c`|normal|Create new window from current folder|
|`Ctrl-Down`|normal|Create new window from current folder|
|`Ctrl-Right`|normal|Move to next window|
|`Ctrl-Left`|normal|Move to previous window|
|`Ctrl-Up`|normal|Rename window|
|`prefix + \|`|normal|Split window horizontal (right)|
|`prefix + -`|normal|Split window vertical (down)|
|`Shift-Left`|normal|Move to left pane|
|`Shift-Right`|normal|Move to right pane|
|`Shift-Up`|normal|Move to up pane|
|`Shift-Down`|normal|Move to up pane|
|`C-\`|normal|Move to last pane|
|`prefix + Ctrl-I`|normal|Install all plugins of this configuration|
|`prefix + Tab`|normal|Select text in window by fzf|
|`prefix + /`|normal|Search text with regex|
|`prefix + Ctrl-f`|normal|Search text that represent file|
|`prefix + Alt-i`|normal|Search text that represent ip|
|`prefix + Alt-i`|normal|Search text that represent ip|
|`prefix + y`|normal|Copy current command line to clipboard|
|`prefix + Y`|normal|Copy curent pane's current working directory to clipboard|
|`prefix + y`|copy|Copy selection text to clipboard|
|`prefix + Y`|copy|Copy selection text to clipboard, and paste it to command line|
|`prefix + p`|normal|Start a POMODORO timer|
|`prefix + j`|normal|Easymotion navigation to select text|

License
========

Copyright © 2019 Tran Duc Nam

The project is licensed under GPLv3.
You can read it online at [here](https://choosealicense.com/licenses/gpl-3.0/).