|
|
@ -255,10 +255,8 @@ bat --list-themes | fzf --preview="bat --theme={} --color=always /path/to/file"
|
|
|
|
構文定義ファイルを入れておくためのフォルダを作る:
|
|
|
|
構文定義ファイルを入れておくためのフォルダを作る:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
BAT_CONFIG_DIR="$(bat cache --config-dir)"
|
|
|
|
mkdir -p "$(bat cache --config-dir)/syntaxes"
|
|
|
|
|
|
|
|
cd "$(bat cache --config-dir)/syntaxes"
|
|
|
|
mkdir -p "$BAT_CONFIG_DIR/syntaxes"
|
|
|
|
|
|
|
|
cd "$BAT_CONFIG_DIR/syntaxes"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Put new '.sublime-syntax' language definition files
|
|
|
|
# Put new '.sublime-syntax' language definition files
|
|
|
|
# in this folder (or its subdirectories), for example:
|
|
|
|
# in this folder (or its subdirectories), for example:
|
|
|
@ -284,10 +282,8 @@ bat cache --clear
|
|
|
|
|
|
|
|
|
|
|
|
まず、新しいシンタックスハイライトのテーマのフォルダを作ります:
|
|
|
|
まず、新しいシンタックスハイライトのテーマのフォルダを作ります:
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
BAT_CONFIG_DIR="$(bat cache --config-dir)"
|
|
|
|
mkdir -p "$(bat cache --config-dir)/themes"
|
|
|
|
|
|
|
|
cd "$(bat cache --config-dir)/themes"
|
|
|
|
mkdir -p "$BAT_CONFIG_DIR/themes"
|
|
|
|
|
|
|
|
cd "$BAT_CONFIG_DIR/themes"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Download a theme in '.tmTheme' format, for example:
|
|
|
|
# Download a theme in '.tmTheme' format, for example:
|
|
|
|
git clone https://github.com/greggb/sublime-snazzy
|
|
|
|
git clone https://github.com/greggb/sublime-snazzy
|
|
|
|