You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+14-7
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@
6
6
7
7
-**push**: Quickly send text to the `vimbin` server from the command line. This allows for easy integration with other tools and scripts, streamlining the process of sharing content through `vimbin`.
8
8
9
+
## Themes
10
+
11
+
For the editor you can chooe between the catppuchin themes `latte`, `mocha`, `frappe` or `macchiato`. If theme is set to `auto`, it gets system preference.
12
+
13
+
Themes are borrowed from [here](https://github.com/catppuccin/codemirror).
|`-d`, `--directory``DIRECTORY`| The path to the storage directory. (default `$(pwd)`) |
40
+
|`-a`, `--listen-address``ADDRESS:PORT`| The address to listen on for HTTP requests. (default `:8080`) |
41
+
|`-n`, `--name` string | The name of the file to save. (default ".vimbin") |
42
+
|`--theme` THEME | The theme to use. Can be `auto`, `light` or `dark`. (default `auto`). Can also be set with the environment variable `VIMBIN_THEME`|
43
+
|`--dark-theme` THEME | When `theme` set to `auto`, use this as dark theme. Can be `mocha`, `frappe`, `macchiato`. (default `frappe`). Can also be set with the environment variable `VIMBIN_DARK_THEME`|
serveCmd.PersistentFlags().StringVarP(&config.App.Server.Web.Theme, "dark-theme", "", "frappe", fmt.Sprintf("When theme set to auto, use this as dark theme. Can be %s.", config.DarkThemes))
serveCmd.PersistentFlags().StringVarP(&config.App.Storage.Directory, "directory", "d", "$(pwd)", "The path to the storage directory. Defaults to the current working directory.")
79
83
serveCmd.PersistentFlags().StringVarP(&config.App.Storage.Name, "name", "n", ".vimbin", "The name of the file to save.")
0 commit comments