Skip to content

Commit 1ec9ab2

Browse files
committed
cmd/profile: Update help
1 parent 540ccf7 commit 1ec9ab2

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

cmd/profile.go

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,26 +70,29 @@ Usage
7070
Set vimrc / gvimrc flag to true or false.
7171
7272
Quick example
73-
$ volt profile list
73+
$ volt profile list # default profile is "default"
7474
* default
75-
$ volt profile new foo # will create profile "foo"
75+
$ volt profile new foo # will create profile "foo"
7676
$ volt profile list
7777
* default
7878
foo
79-
$ volt profile set foo # will switch profile to "foo"
79+
$ volt profile set foo # will switch profile to "foo"
8080
$ volt profile list
8181
default
8282
* foo
8383
84-
$ volt profile use -current vimrc false # Disable installing vimrc on current active profile on "volt rebuild"
85-
$ volt profile use default gvimrc true # Enable installing gvimrc on profile default on "volt rebuild"
84+
$ volt profile set default # on profile "default"
85+
86+
$ volt enable tyru/caw.vim # enable loading tyru/caw.vim on current profile
87+
$ volt profile add foo tyru/caw.vim # enable loading tyru/caw.vim on "foo" profile
88+
89+
$ volt disable tyru/caw.vim # disable loading tyru/caw.vim on current profile
90+
$ volt profile rm foo tyru/caw.vim # disable loading tyru/caw.vim on "foo" profile
91+
92+
$ volt profile destroy foo # will delete profile "foo"
8693
87-
$ volt profile set default # will switch profile to "default"
88-
$ volt profile rm foo tyru/caw.vim # will disable loading tyru/caw.vim plugin on profile "foo"
89-
$ volt disable tyru/open-browser.vim # if profile name is current active profile, you can also use "volt disable" command instead
90-
$ volt profile add foo tyru/caw.vim # will enable loading tyru/caw.vim plugin on profile "foo"
91-
$ volt enable tyru/open-browser.vim
92-
$ volt profile destroy foo # will delete profile "foo"` + "\n\n")
94+
$ volt profile use -current vimrc false # Disable installing vimrc on current active profile on "volt rebuild"
95+
$ volt profile use default gvimrc true # Enable installing gvimrc on profile default on "volt rebuild"` + "\n\n")
9396
profileFlags.helped = true
9497
}
9598

0 commit comments

Comments
 (0)