File tree Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 8
8
- add ` .gitattributes ` file that forces linefeed characters (classic ` \n ` ) as
9
9
line endings - helps with misconfigured git on windows/cygwin
10
10
- readme update: announce Cygwin support
11
+ - un-deprecate old plugin definition syntax: ` set -g @tpm_plugins `
11
12
12
13
### v3.0.0, 2015-08-03
13
14
- refactor ` shared_set_tpm_path_constant ` function
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ Reload TMUX environment so TPM is sourced:
35
35
36
36
That's it!
37
37
38
- (** Note:** using ` set -g @tpm_plugins ` is deprecated, but still works alongside
39
- new syntax.)
40
-
41
38
### Installing plugins
42
39
43
40
1 . Add new plugin to ` ~/.tmux.conf ` with ` set -g @plugin '...' `
Original file line number Diff line number Diff line change @@ -14,6 +14,32 @@ Here's the list of issues users had with `tpm`:
14
14
- ZSH tmux plugin might be causing issues.<br />
15
15
If you have it installed, try disabling it and see if ` tpm ` works then.
16
16
17
+ > Help, I'm using ` tmux -f /path/to/my_tmux.conf ` option to start Tmux and for
18
+ some reason plugins aren't loaded!?
19
+
20
+ [ Issue #57 ] ( https://github.com/tmux-plugins/tpm/issues/57 )
21
+
22
+ ` tpm ` has a known issue when using alternative config file with ` -f ` option.
23
+ The solution is to use alternative plugin definition. Here are the steps to
24
+ make it work:
25
+
26
+ 1 . remove all ` set -g @plugin ` lines from tmux config file
27
+ 2 . in the config file define the plugins in the following way:
28
+
29
+ # List of plugins
30
+ set -g @tpm_plugins ' \
31
+ tmux-plugins/tpm \
32
+ tmux-plugins/tmux-sensible \
33
+ tmux-plugins/tmux-resurrect \
34
+ '
35
+
36
+ # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
37
+ run '~/.tmux/plugins/tpm/tpm'
38
+
39
+ 3 . Reload TMUX environment so TPM is sourced: ` $ tmux source /path/to/my_tmux.conf `
40
+
41
+ The plugins should now be working.
42
+
17
43
> Weird sequence of characters show up when installing or updating plugins
18
44
19
45
[ Issue #25 ] ( https://github.com/tmux-plugins/tpm/issues/25 )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ tpm_path() {
38
38
}
39
39
40
40
tpm_plugins_list_helper () {
41
- # DEPRECATED: lists plugins from @tpm_plugins option
41
+ # lists plugins from @tpm_plugins option
42
42
echo " $( tmux start-server\; show-option -gqv " $tpm_plugins_variable_name " ) "
43
43
44
44
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
You can’t perform that action at this time.
0 commit comments