diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-17 12:02:16 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-17 12:02:24 -0400 |
| commit | 6b4a6779c95ca3166fb85d1f21b329c7acb95b30 (patch) | |
| tree | 463f098fcd2c20ccb8b846bd014d2947c734a478 | |
| parent | Fix plugin install path (diff) | |
| download | tmux-toggle-term-6b4a6779c95ca3166fb85d1f21b329c7acb95b30.zip | |
Rename `toggle_term_float_key` and `toggle_term_split_key`v0.2.0
| -rw-r--r-- | CHANGELOG.md | 7 | ||||
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | plugin.tmux | 12 |
3 files changed, 16 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index fbba6ed..7c1cf66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.0] - 2025-08-17 + +### Changed + +- Renamed `toggle_term_float_key` and `toggle_term_split_key` to + `toggle-term-float-key` and `toggle-term-split-key` + ## [0.1.0] - 2025-08-16 ### Added @@ -29,10 +29,10 @@ Reload tmux and press prefix + I to install. ### Customization If needed, you can override the default keybindings by setting the -`toggle_term_split_key` and `toggle_term_float_key` options. +`toggle-term-split-key` and `toggle-term-float-key` options. ```tmux -set -g @toggle_term_split_key 'M-t' -set -g @toggle_term_float_key 'M-f' +set -g @toggle-term-split-key 'M-t' +set -g @toggle-term-float-key 'M-f' ``` diff --git a/plugin.tmux b/plugin.tmux index c768ec9..0f64cb6 100644 --- a/plugin.tmux +++ b/plugin.tmux @@ -1,7 +1,7 @@ -if -n "#{==:#{@toggle_term_split_key},}" \ - set -g @toggle_term_split_key 'C-;' -if -n "#{==:#{@toggle_term_float_key},}" \ - set -g @toggle_term_float_key 'C-f' +if -n "#{==:#{@toggle-term-split-key},}" \ + set -g @toggle-term-split-key 'C-;' +if -n "#{==:#{@toggle-term-float-key},}" \ + set -g @toggle-term-float-key 'C-f' -bind-key -n "#{@toggle_term_split_key}" run-shell -b "#{sourcedir}/scripts/toggle-term.sh split" -bind-key -n "#{@toggle_term_float_key}" run-shell -b "#{sourcedir}/scripts/toggle-term.sh float" +bind-key -n "#{@toggle-term-split-key}" run-shell -b "#{sourcedir}/scripts/toggle-term.sh split" +bind-key -n "#{@toggle-term-float-key}" run-shell -b "#{sourcedir}/scripts/toggle-term.sh float" |