Commit graph

133 commits

Author SHA1 Message Date
Jabir Ali Ouassou fb9e418a34
Merge pull request #23 from clementnuss/feat/smartsplits
feat: add smartsplits support
2025-01-27 17:31:10 +01:00
Jabir Ali Ouassou 68e17cd66a clean: minor revisions 2025-01-27 17:30:13 +01:00
Clément Nussbaumer 8ee11d6913
docs: document smart-splits integration
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
2025-01-24 17:29:09 +01:00
Clément Nussbaumer 324d32c861
feat: add smartsplits support
when setting tilish-smartsplits=on, tilish will not register M-hjkl
bindings to move between panes. it'll need to be configured instead
according to smart-splits documentation:
https://github.com/mrjones2014/smart-splits.nvim?tab=readme-ov-file#tmux

Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
2025-01-24 17:14:19 +01:00
Jabir Ali Ouassou f55fac98c3
Merge pull request #22 from mechanicalamit/createauto
feat: `createauto` option
2025-01-22 16:00:45 +01:00
Amit Dhingra b5e67835c9 Add createauto option
Mod 0-9 creates a new workspace if one does not exist. Accidentally
hitting an incorrect number will create a new workspace. Add a new
option to silently ignore non-existing workspaces.
2025-01-09 17:19:04 -05:00
Jabir Ali Ouassou 766a089631
docs: improve readme 2024-10-10 14:35:01 +02:00
Jabir Ali Ouassou edc415ecb0 merge: branch 'master' of github.com:jabirali/tmux-tilish 2024-10-10 14:25:31 +02:00
Jabir Ali Ouassou 9efa142969 BREAKING CHANGE: changed where the dmenu emulation pops up 2024-10-10 14:25:20 +02:00
Jabir Ali Ouassou 36da3fdd50
docs: fix formatting 2024-10-10 14:14:58 +02:00
Jabir Ali Ouassou 1bb9bab7a7
docs: document project launcher 2024-10-10 14:14:04 +02:00
Jabir Ali Ouassou e4265a5ee5 feat: added a new project launcher 2024-10-10 13:53:12 +02:00
Jabir Ali Ouassou efb72ba61f merge: branch 'master' of github.com:jabirali/tmux-tilish 2024-10-03 21:27:47 +02:00
Jabir Ali Ouassou 8055727cbd fix: support for ~/.config/tmux/tmux.conf as config location 2024-10-03 21:27:36 +02:00
Jabir Ali Ouassou 228927c45a
docs: add link to tmux-normalmode 2024-10-03 21:19:26 +02:00
Jabir Ali Ouassou 9f929f8904 fix: dmenu implementation now works on macos too 2024-10-02 17:14:22 +02:00
Jabir Ali Ouassou e5b6883817 add: keybinding to cycle panes 2024-10-02 12:50:12 +02:00
Jabir Ali Ouassou f466cbc263
docs: fix readme 2024-10-02 12:30:31 +02:00
Jabir Ali Ouassou 1d4671929a feat: new implementation of key remapping 2024-10-02 12:24:28 +02:00
Jabir Ali Ouassou d3dc9aa785 revert: trying a new approach 2024-10-02 11:46:42 +02:00
Farzad Majidfayyaz 73b38717ee Allow disabling layout keys by setting them to underscore 2024-10-02 10:31:25 +02:00
Farzad Majidfayyaz 48fe1e4df4 merge: use 'layout_keys' and 'refresh_hooks' settings 2024-10-02 10:29:22 +02:00
Farzad Majidfayyaz b705b2ef9e merge: allow overriding some keys through options 2024-10-02 10:17:36 +02:00
Jabir Ali Ouassou 8f7aec5c1f feat: when switching workspaces (M-1 to M-0), repeat the keybinding to cycle 2024-09-27 14:14:39 +02:00
Jabir Ali Ouassou 66e69ebb1c clean: spaces vs. tabs 2024-09-25 11:19:05 +02:00
Jabir Ali Ouassou 946195cc4f feat: option @tilish-enforce to configure layout reapplication 2024-09-25 11:15:44 +02:00
Jabir Ali Ouassou 9333ec0998
Merge pull request #14 from augustfengd/keep-layout-on-refresh
fix: preserve pane arrangement on refresh
2024-09-25 10:31:30 +02:00
August Feng 5b2fd8e344 preserve pane arrangement on refresh
A fresh window is configured with an undefined layout, and `select-layout` is
basically a noop. However, once a preset layout is applied then `select-layout`
will re-apply the last layout.

This commit allows the user to continue modifying the pane arrangement after a
preset layout has been applied by removing the automatic `select-layout` from
the hook.
2024-08-04 18:31:24 -04:00
Jabir Ali Ouassou 6abf7be089
Merge pull request #19 from Nitemice/master
add: easy mode movement to using tmux-navigate
2024-06-03 11:42:10 +02:00
Nitemice 835d2ed846 Add easy mode movement to using tmux-navigate
It was already enabled for vim-tmux-navigator.
2024-06-03 19:27:56 +10:00
Jabir Ali Ouassou d51f7a9d1e add: keybinding mirroring the default ctrl-b o 2024-05-15 17:53:37 +02:00
Jabir Ali Ouassou 5a6316a340 docs: updated iterm2 instructions and email 2024-05-15 17:41:49 +02:00
Jabir Ali Ouassou 22f7920837
docs: updated readme with alacritty instructions 2023-09-20 17:04:20 +02:00
Jabir Ali Ouassou fef77c8c49
Merge pull request #10 from farzadmf/master
fix: use quotes for rename
2021-07-21 12:17:00 +02:00
Farzad Majidfayyaz 6d1dfc21aa Use quotes for rename 2021-07-20 16:07:30 -04:00
Jabir Ali Ouassou 732c7ef189
docs: updated macos documentation 2021-07-20 14:16:31 +00:00
Jabir Ali Ouassou 1c6c7eb493 BREAKING CHANGE: keybinding M-f -> M-z
It has come to my attention that the default fullscreen keybinding `M-f`
conflicts with the GNU Readline (and similar) keybindings for word
navigation in the shell (for those that don't use Fish).  Morover, some
terminals like the macOS default Terminal.app translates `M-right` into
`M-f` by default, causing issues with word navigation also when using
the arrow keys. This then affects basically most people who don't use
Vim keybindings for their shell and terminal apps.

As much as I'm reluctant to change the default keybindings of the
plugin, I think this will cause fewer compatibility headaches for users.
I'm therefore switching the default to `M-z` as suggested in issue #6,
which fits better with the default `tmux` name "zoom" for the feature.
2021-06-18 12:43:57 +02:00
Jabir Ali Ouassou aa54381020
docs: added terminal discussion to readme 2021-06-18 10:33:53 +00:00
Jabir Ali Ouassou 254c133d3e
fix: shellcheck options 2021-06-18 09:52:21 +00:00
Jabir Ali Ouassou e224cb8240
fix: regression related to quoting of $bind 2021-06-18 09:33:57 +00:00
Jabir Ali Ouassou 31c8b91ee5
Merge pull request #7 from epaulson10/fix-prefix-move
fix: moving panes to workspaces in prefix mode on strict posix shells
2021-06-18 09:23:54 +00:00
Jabir Ali Ouassou 9c77942123
Merge branch 'master' into fix-prefix-move 2021-06-18 09:13:17 +00:00
Jabir Ali Ouassou 2fe5fdb9a0
Merge pull request #8 from evanrelf/shellcheck
clean: apply suggestions from `shellcheck`
2021-06-18 09:08:11 +00:00
Evan Relf 32766ad8eb
Apply suggestions from shellcheck 2021-02-03 19:34:39 -08:00
Evan Relf 9503d69045
Strip trailing whitespace 2021-02-03 19:24:39 -08:00
Erik Paulson d35992ae68 Fix moving panes to workspaces in prefix mode on strict POSIX shells
The "expr substr" syntax used to return characters from a string is not defined
in the POSIX sh specication. Attempting to use that syntax on a Macbook led to
the bindings for moving panes between windows in prefix mode to fail to be
bound.

This patch addresses this by using a POSIX-compliant replacement for returning a
character from a string by index using the cut command.
2021-01-05 22:16:23 -08:00
Jabir Ali Ouassou 73d2404cdc Fix: Erroneous version detection. 2020-08-12 22:11:18 +02:00
Jabir Ali Ouassou 34178f60e1
Fix: Path to grep. 2020-08-12 21:56:39 +02:00
Jabir Ali Ouassou 0ab7d87719
Fix: Improved version detection.
This hopefully resolves a bug whereby some systems 
erroneously had legacy mode enabled under tmux 3.0.
2020-08-12 21:55:35 +02:00
Jabir Ali Ouassou 9459a59904 Fix: Bug when closing last pane with M-S-q.
Previously, the non-legacy binding of M-S-q ran `kill-pane` followed
by two `select-layout` commands. However, this apparently causes the
newest (v3.1) version of `tmux` to freeze, and has the side-effect
that it reapplies layouts in other workspaces when closing the last
pane in a given workspace. This commit should fix that behavior.
2020-05-10 12:51:14 +02:00