Compare commits

...

27 Commits

Author SHA1 Message Date
Jason Swank
7877c99dd9 git: ignore local claude config 2026-01-29 07:48:03 -05:00
Jason Swank
5367cf1492 zsh: ctrl-x edits command line 2026-01-29 07:47:31 -05:00
Jason Swank
1204bace2c update direnv config 2026-01-23 13:20:05 -05:00
Jason Swank
e7549d483b aichat config 2026-01-14 13:14:53 -05:00
Jason Swank
fd47330e6d vim: add ctrl-b to create backticks 2026-01-13 13:05:08 -05:00
Jason Swank
9ec3e1124b zsh: add aws-get-bedrock-profile 2026-01-13 13:00:39 -05:00
Jason Swank
c36d1fa1f8 add aws-sso-login 2026-01-12 23:29:03 -05:00
Jason Swank
a7804cc129 zk: update daily template 2026-01-12 12:25:38 -05:00
Jason Swank
983a7abab8 ssh: update local net detection to use nc 2026-01-12 12:25:18 -05:00
aef5a71ea1 vim: colorscheme & minor tweaks (#1) 2026-01-12 17:24:02 +00:00
Jason Swank
ade5ab61ba aws-get-secret: add comments 2026-01-10 22:44:07 +00:00
Jason Swank
1078045906 bat: change default theme to Nord 2026-01-10 16:34:42 +00:00
Jason Swank
5136fe2604 vim: better glyph for linewrapping 2026-01-10 09:45:33 -05:00
Jason Swank
9c0ad024a3 improve line wrapping 2026-01-10 14:27:22 +00:00
Jason Swank
c008ad9e3c vim/zk: minor tweaks 2026-01-09 17:29:41 -05:00
Jason Swank
cec2462d8b ssh: simplify 2026-01-09 17:29:41 -05:00
Jason Swank
29747c49a6 fix clipboard for sway 2026-01-08 01:20:24 +00:00
Jason Swank
a8b2252b40 88->89 2026-01-07 00:44:30 +00:00
Jason Swank
0fdc0903db vim config updates 2026-01-07 00:43:18 +00:00
Jason Swank
c3becf1566 add moonshot 2026-01-04 22:39:21 -05:00
Jason Swank
da19218b33 zsh: ignore files, improve secrets mgmt 2026-01-04 22:35:40 -05:00
Jason Swank
19ced517f3 foot: use solarized theme 2026-01-04 22:31:07 -05:00
Jason Swank
e0c651da62 docs: update README 2026-01-04 22:30:29 -05:00
Jason Swank
898ee818e8 sway: poweroff monitor 2026-01-04 22:29:44 -05:00
Jason Swank
45aeff98d0 run ping w/ sudo 2026-01-04 14:47:27 -05:00
Jason Swank
f71d579f0e update TZ 2026-01-04 14:47:06 -05:00
Jason Swank
f1aff7ad00 use 4 spaces for gh-md-toc 2026-01-04 14:46:25 -05:00
25 changed files with 1122 additions and 674 deletions

View File

@@ -5,7 +5,7 @@ Clone this repo:
$ git clone --recurse-submodules https://git.sr.ht/~jswank/dotfiles $ git clone --recurse-submodules https://git.sr.ht/~jswank/dotfiles
``` ```
But since you forgot to grab the submodules, get them now: But since you cloned the repo and forgot to grab the submodules, get them now:
``` ```
$ git submodule update --init --recursive $ git submodule update --init --recursive
``` ```
@@ -15,18 +15,17 @@ Install my dotfiles:
$ ./install.sh $ ./install.sh
``` ```
This will install most common dotfiles: if you want to install a set, provide This will install dotfiles for commonly used apps: if you want to install for an app not
that as an argument: included, provide that as an argument:
```console ```console
$ ./install.sh i3 # installed i3 dotfiles $ ./install.sh i3 # installed i3 dotfiles
``` ```
There are two potential gotchas: There are two potential gotchas:
1. `stow` is not installed on the system. There is a bash equivalent that is 1. There are submodules in this repo (mostly vim/neovim plugins) which didn't get
close enough for most purposes in this repo that the install script will populated when you cloned the repo. See above.
use.
2. There submodules in this repo (mostly neovim plugins) and they didn't get 2. `stow` is not installed on the system. There is a bash equivalent that is close
populated when you cloned the repo. See above. enough in this repo that the install script will automatically use.

View File

@@ -4,9 +4,15 @@
# environment variables for aichat can be set at ~/.config/aichat/.env # environment variables for aichat can be set at ~/.config/aichat/.env
#model: claude:claude-sonnet-4-5-20250929 #model: claude:claude-sonnet-4-5-20250929
model: gemini:gemini-3-flash-preview #model: gemini:gemini-3-flash-preview
keybindings: vi keybindings: vi
repl_prelude: role:cloudops repl_prelude: role:cloudops
clients: clients:
- type: bedrock
name: aws
- type: claude - type: claude
- type: gemini - type: gemini
#- type: openai
#- type: openai-compatible
# name: moonshot
# api_base: https://api.moonshot.ai/v1

View File

@@ -2,19 +2,11 @@ version: 0.30.0
list: list:
- provider: openai - provider: openai
models: models:
- name: gpt-5.1 - name: gpt-5.2
type: chat type: chat
max_input_tokens: 400000 max_input_tokens: 400000
input_price: 1.25 input_price: 1.75
output_price: 10.0 output_price: 14.0
max_output_tokens: 128000
supports_vision: true
supports_function_calling: true
- name: gpt-5.1-chat-latest
type: chat
max_input_tokens: 400000
input_price: 1.25
output_price: 10.0
max_output_tokens: 128000 max_output_tokens: 128000
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
@@ -26,14 +18,6 @@ list:
max_output_tokens: 128000 max_output_tokens: 128000
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gpt-5-chat-latest
type: chat
max_input_tokens: 400000
input_price: 1.25
output_price: 10.0
max_output_tokens: 128000
supports_vision: true
supports_function_calling: true
- name: gpt-5-mini - name: gpt-5-mini
type: chat type: chat
max_input_tokens: 400000 max_input_tokens: 400000
@@ -58,22 +42,6 @@ list:
max_output_tokens: 32768 max_output_tokens: 32768
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gpt-4.1-mini
type: chat
max_input_tokens: 1047576
input_price: 0.4
output_price: 1.6
max_output_tokens: 32768
supports_vision: true
supports_function_calling: true
- name: gpt-4.1-nano
type: chat
max_input_tokens: 1047576
input_price: 0.1
output_price: 0.4
max_output_tokens: 32768
supports_vision: true
supports_function_calling: true
- name: gpt-4o - name: gpt-4o
type: chat type: chat
max_input_tokens: 128000 max_input_tokens: 128000
@@ -82,98 +50,6 @@ list:
max_output_tokens: 16384 max_output_tokens: 16384
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gpt-4o-mini
type: chat
max_input_tokens: 128000
input_price: 0.15
output_price: 0.6
max_output_tokens: 16384
supports_vision: true
supports_function_calling: true
- name: o4-mini
type: chat
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o4-mini-high
type: chat
real_name: o4-mini
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3
type: chat
max_input_tokens: 200000
input_price: 2.0
output_price: 8.0
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3-high
type: chat
real_name: o3
max_input_tokens: 200000
input_price: 2.0
output_price: 8.0
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3-mini
type: chat
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3-mini-high
type: chat
real_name: o3-mini
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: gpt-4-turbo - name: gpt-4-turbo
type: chat type: chat
max_input_tokens: 128000 max_input_tokens: 128000
@@ -203,22 +79,6 @@ list:
max_batch_size: 100 max_batch_size: 100
- provider: gemini - provider: gemini
models: models:
- name: gemini-3-flash-preview
type: chat
max_input_tokens: 1048576
input_price: 0.0
output_price: 0.0
max_output_tokens: 65536
supports_vision: true
supports_function_calling: true
- name: gemini-3-pro-preview
type: chat
max_input_tokens: 1048576
input_price: 0.0
output_price: 0.0
max_output_tokens: 65536
supports_vision: true
supports_function_calling: true
- name: gemini-2.5-flash - name: gemini-2.5-flash
type: chat type: chat
max_input_tokens: 1048576 max_input_tokens: 1048576
@@ -243,6 +103,16 @@ list:
max_output_tokens: 64000 max_output_tokens: 64000
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gemini-3-pro-preview
type: chat
max_input_tokens: 1048576
supports_vision: true
supports_function_calling: true
- name: gemini-3-flash-preview
type: chat
max_input_tokens: 1048576
supports_vision: true
supports_function_calling: true
- name: gemini-2.0-flash - name: gemini-2.0-flash
type: chat type: chat
max_input_tokens: 1048576 max_input_tokens: 1048576
@@ -439,6 +309,13 @@ list:
supports_function_calling: true supports_function_calling: true
- provider: mistral - provider: mistral
models: models:
- name: mistral-large-latest
type: chat
input_price: 0.5
output_price: 1.5
max_output_tokens: 262144
supports_vision: true
supports_function_calling: true
- name: mistral-medium-latest - name: mistral-medium-latest
type: chat type: chat
max_input_tokens: 131072 max_input_tokens: 131072
@@ -455,32 +332,38 @@ list:
supports_function_calling: true supports_function_calling: true
- name: magistral-medium-latest - name: magistral-medium-latest
type: chat type: chat
max_input_tokens: 40960 max_input_tokens: 131072
input_price: 2.0 input_price: 2.0
output_price: 5.0 output_price: 5.0
- name: magistral-small-latest - name: magistral-small-latest
type: chat type: chat
max_input_tokens: 40960 max_input_tokens: 131072
input_price: 0.5 input_price: 0.5
output_price: 1.5 output_price: 1.5
- name: devstral-medium-latest - name: devstral-medium-latest
type: chat type: chat
max_input_tokens: 256000 max_input_tokens: 262144
input_price: 0.4 input_price: 0.4
output_price: 2.0 output_price: 2.0
supports_function_calling: true supports_function_calling: true
- name: devstral-small-latest - name: devstral-small-latest
type: chat type: chat
max_input_tokens: 256000 max_input_tokens: 262144
input_price: 0.1 input_price: 0.1
output_price: 0.3 output_price: 0.3
supports_function_calling: true supports_function_calling: true
- name: codestral-latest - name: codestral-latest
type: chat type: chat
max_input_tokens: 256000 max_input_tokens: 262144
input_price: 0.3 input_price: 0.3
output_price: 0.9 output_price: 0.9
supports_function_calling: true supports_function_calling: true
- name: ministral-14b-latest
type: chat
max_input_tokens: 262144
input_price: 0.2
output_price: 0.2
supports_function_calling: true
- name: mistral-embed - name: mistral-embed
type: embedding type: embedding
max_input_tokens: 8092 max_input_tokens: 8092
@@ -558,42 +441,24 @@ list:
max_input_tokens: 4096 max_input_tokens: 4096
- provider: xai - provider: xai
models: models:
- name: grok-4 - name: grok-4-1-fast-non-reasoning
type: chat
max_input_tokens: 256000
input_price: 3.0
output_price: 15.0
supports_function_calling: true
- name: grok-4-fast-non-reasoning
type: chat type: chat
max_input_tokens: 2000000 max_input_tokens: 2000000
input_price: 0.2 input_price: 0.2
output_price: 0.5 output_price: 0.5
supports_function_calling: true supports_function_calling: true
- name: grok-4-fast-reasoning - name: grok-4-1-fast-reasoning
type: chat type: chat
max_input_tokens: 2000000 max_input_tokens: 2000000
input_price: 0.2 input_price: 0.2
output_price: 0.5 output_price: 0.5
supports_function_calling: true supports_function_calling: true
- name: grok-code-fast - name: grok-code-fast-1
type: chat type: chat
max_input_tokens: 256000 max_input_tokens: 256000
input_price: 0.2 input_price: 0.2
output_price: 1.5 output_price: 1.5
supports_function_calling: true supports_function_calling: true
- name: grok-3
type: chat
max_input_tokens: 131072
input_price: 3.0
output_price: 15.0
supports_function_calling: true
- name: grok-3-mini
type: chat
max_input_tokens: 131072
input_price: 0.3
output_price: 0.5
supports_function_calling: true
- provider: perplexity - provider: perplexity
models: models:
- name: sonar-pro - name: sonar-pro
@@ -611,11 +476,6 @@ list:
max_input_tokens: 128000 max_input_tokens: 128000
input_price: 2.0 input_price: 2.0
output_price: 8.0 output_price: 8.0
- name: sonar-reasoning
type: chat
max_input_tokens: 128000
input_price: 1.0
output_price: 5.0
- name: sonar-deep-research - name: sonar-deep-research
type: chat type: chat
max_input_tokens: 128000 max_input_tokens: 128000
@@ -702,6 +562,16 @@ list:
max_output_tokens: 65536 max_output_tokens: 65536
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gemini-3-pro-preview
type: chat
max_input_tokens: 1048576
supports_vision: true
supports_function_calling: true
- name: gemini-3-flash-preview
type: chat
max_input_tokens: 1048576
supports_vision: true
supports_function_calling: true
- name: gemini-2.0-flash-001 - name: gemini-2.0-flash-001
type: chat type: chat
max_input_tokens: 1048576 max_input_tokens: 1048576
@@ -877,18 +747,6 @@ list:
require_max_tokens: true require_max_tokens: true
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: mistral-small-2503
type: chat
max_input_tokens: 32000
input_price: 0.1
output_price: 0.3
supports_function_calling: true
- name: codestral-2501
type: chat
max_input_tokens: 256000
input_price: 0.3
output_price: 0.9
supports_function_calling: true
- name: text-embedding-005 - name: text-embedding-005
type: embedding type: embedding
max_input_tokens: 20000 max_input_tokens: 20000
@@ -1336,32 +1194,23 @@ list:
max_batch_size: 10 max_batch_size: 10
- provider: hunyuan - provider: hunyuan
models: models:
- name: hunyuan-turbos-latest - name: hunyuan-2.0-instruct-20251111
type: chat type: chat
max_input_tokens: 28000 max_input_tokens: 131072
input_price: 0.112 input_price: 0.112
output_price: 0.28 output_price: 0.28
supports_function_calling: true supports_function_calling: true
- name: hunyuan-t1-latest - name: hunyuan-2.0-thinking-20251109
type: chat type: chat
max_input_tokens: 28000 max_input_tokens: 131072
input_price: 0.14 input_price: 0.14
output_price: 0.56 output_price: 0.56
- name: hunyuan-lite
type: chat
max_input_tokens: 250000
input_price: 0.0
output_price: 0.0
supports_function_calling: true supports_function_calling: true
- name: hunyuan-turbos-vision - name: hunyuan-vision-1.5-instruct
type: chat type: chat
max_input_tokens: 6144 max_input_tokens: 24576
input_price: 0.42 input_price: 0.42
output_price: 0.84 output_price: 1.26
supports_vision: true
- name: hunyuan-t1-vision
type: chat
max_input_tokens: 24000
supports_vision: true supports_vision: true
- name: hunyuan-embedding - name: hunyuan-embedding
type: embedding type: embedding
@@ -1414,65 +1263,29 @@ list:
max_output_tokens: 32768 max_output_tokens: 32768
- provider: zhipuai - provider: zhipuai
models: models:
- name: glm-4.6 - name: glm-4.7
type: chat type: chat
max_input_tokens: 202752 max_input_tokens: 202752
input_price: 0.28
output_price: 1.12
supports_function_calling: true
- name: glm-4.5
type: chat
max_input_tokens: 131072
input_price: 0.28
output_price: 1.12
- name: glm-4.5-x
type: chat
max_input_tokens: 131072
input_price: 1.12
output_price: 4.48
supports_function_calling: true
- name: glm-4.5-air
type: chat
max_input_tokens: 131072
input_price: 0.084
output_price: 0.56
- name: glm-4.5-airx
type: chat
max_input_tokens: 131072
input_price: 0.56 input_price: 0.56
output_price: 2.24 output_price: 2.24
supports_function_calling: true supports_function_calling: true
- name: glm-4.5-flash - name: glm-4.7:instruct
type: chat type: chat
max_input_tokens: 131072 real_name: glm-4.7
input_price: 0.0 max_input_tokens: 202752
output_price: 0.0 input_price: 0.56
- name: glm-4.5v output_price: 2.24
patch:
body:
thinking:
type: disabled
supports_function_calling: true
- name: glm-4.6v
type: chat type: chat
max_input_tokens: 65536 max_input_tokens: 65536
input_price: 0.56 input_price: 0.28
output_price: 1.68 output_price: 0.84
supports_vision: true supports_vision: true
- name: glm-z1-air
type: chat
max_input_tokens: 131072
input_price: 0.07
output_price: 0.07
- name: glm-z1-airx
type: chat
max_input_tokens: 131072
input_price: 0.7
output_price: 0.7
- name: glm-z1-flashx
type: chat
max_input_tokens: 131072
input_price: 0.014
output_price: 0.014
- name: glm-z1-flash
type: chat
max_input_tokens: 131072
input_price: 0.0
output_price: 0.0
- name: embedding-3 - name: embedding-3
type: embedding type: embedding
max_input_tokens: 8192 max_input_tokens: 8192
@@ -1485,27 +1298,25 @@ list:
input_price: 0.112 input_price: 0.112
- provider: minimax - provider: minimax
models: models:
- name: minimax-m2 - name: minimax-m2.1
type: chat type: chat
max_input_tokens: 204800 max_input_tokens: 204800
input_price: 0.294 input_price: 0.294
output_price: 1.176 output_price: 1.176
supports_function_calling: true supports_function_calling: true
- name: minimax-m2.1-lightning
type: chat
max_input_tokens: 204800
input_price: 0.294
output_price: 2.352
supports_function_calling: true
- provider: openrouter - provider: openrouter
models: models:
- name: openai/gpt-5.1 - name: openai/gpt-5.2
type: chat type: chat
max_input_tokens: 400000 max_input_tokens: 400000
input_price: 1.25 input_price: 1.75
output_price: 10.0 output_price: 14.0
max_output_tokens: 128000
supports_vision: true
supports_function_calling: true
- name: openai/gpt-5.1-chat
type: chat
max_input_tokens: 400000
input_price: 1.25
output_price: 10.0
max_output_tokens: 128000 max_output_tokens: 128000
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
@@ -1517,14 +1328,6 @@ list:
max_output_tokens: 128000 max_output_tokens: 128000
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: openai/gpt-5-chat
type: chat
max_input_tokens: 400000
input_price: 1.25
output_price: 10.0
max_output_tokens: 128000
supports_vision: true
supports_function_calling: true
- name: openai/gpt-5-mini - name: openai/gpt-5-mini
type: chat type: chat
max_input_tokens: 400000 max_input_tokens: 400000
@@ -1549,22 +1352,6 @@ list:
max_output_tokens: 32768 max_output_tokens: 32768
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: openai/gpt-4.1-mini
type: chat
max_input_tokens: 1047576
input_price: 0.4
output_price: 1.6
max_output_tokens: 32768
supports_vision: true
supports_function_calling: true
- name: openai/gpt-4.1-nano
type: chat
max_input_tokens: 1047576
input_price: 0.1
output_price: 0.4
max_output_tokens: 32768
supports_vision: true
supports_function_calling: true
- name: openai/gpt-4o - name: openai/gpt-4o
type: chat type: chat
max_input_tokens: 128000 max_input_tokens: 128000
@@ -1572,91 +1359,6 @@ list:
output_price: 10.0 output_price: 10.0
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: openai/gpt-4o-mini
type: chat
max_input_tokens: 128000
input_price: 0.15
output_price: 0.6
supports_vision: true
supports_function_calling: true
- name: openai/o4-mini
type: chat
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: openai/o4-mini-high
type: chat
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: openai/o3
type: chat
max_input_tokens: 200000
input_price: 2.0
output_price: 8.0
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: openai/o3-high
type: chat
real_name: openai/o3
max_input_tokens: 200000
input_price: 2.0
output_price: 8.0
patch:
body:
reasoning_effort: high
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: openai/o3-mini
type: chat
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: openai/o3-mini-high
type: chat
max_input_tokens: 200000
input_price: 1.1
output_price: 4.4
patch:
body:
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: openai/gpt-oss-120b - name: openai/gpt-oss-120b
type: chat type: chat
max_input_tokens: 131072 max_input_tokens: 131072
@@ -1790,6 +1492,12 @@ list:
max_input_tokens: 131072 max_input_tokens: 131072
input_price: 0.12 input_price: 0.12
output_price: 0.3 output_price: 0.3
- name: mistralai/mistral-large-2512
type: chat
max_input_tokens: 262144
input_price: 0.5
output_price: 1.5
supports_function_calling: true
- name: mistralai/mistral-medium-3.1 - name: mistralai/mistral-medium-3.1
type: chat type: chat
max_input_tokens: 131072 max_input_tokens: 131072
@@ -1803,26 +1511,11 @@ list:
input_price: 0.1 input_price: 0.1
output_price: 0.3 output_price: 0.3
supports_vision: true supports_vision: true
- name: mistralai/magistral-medium-2506 - name: mistralai/devstral-2512
type: chat type: chat
max_input_tokens: 40960 max_input_tokens: 262144
input_price: 2.0
output_price: 5.0
- name: mistralai/magistral-medium-2506:thinking
type: chat
max_input_tokens: 40960
input_price: 2.0
output_price: 5.0
- name: mistralai/magistral-small-2506
type: chat
max_input_tokens: 40960
input_price: 0.5 input_price: 0.5
output_price: 1.5 output_price: 0.22
- name: mistralai/devstral-medium
type: chat
max_input_tokens: 131072
input_price: 0.4
output_price: 2.0
supports_function_calling: true supports_function_calling: true
- name: mistralai/devstral-small - name: mistralai/devstral-small
type: chat type: chat
@@ -1836,6 +1529,12 @@ list:
input_price: 0.3 input_price: 0.3
output_price: 0.9 output_price: 0.9
supports_function_calling: true supports_function_calling: true
- name: mistralai/ministral-14b-2512
type: chat
max_input_tokens: 262144
input_price: 0.2
output_price: 0.2
supports_function_calling: true
- name: ai21/jamba-large-1.7 - name: ai21/jamba-large-1.7
type: chat type: chat
max_input_tokens: 256000 max_input_tokens: 256000
@@ -1860,29 +1559,11 @@ list:
input_price: 0.0375 input_price: 0.0375
output_price: 0.15 output_price: 0.15
max_output_tokens: 4096 max_output_tokens: 4096
- name: deepseek/deepseek-v3.2-exp - name: deepseek/deepseek-v3.2
type: chat type: chat
max_input_tokens: 163840 max_input_tokens: 163840
input_price: 0.27 input_price: 0.25
output_price: 0.4 output_price: 0.38
- name: deepseek/deepseek-v3.1-terminus
type: chat
max_input_tokens: 163840
input_price: 0.23
output_price: 0.9
- name: deepseek/deepseek-chat-v3.1
type: chat
max_input_tokens: 163840
input_price: 0.2
output_price: 0.8
- name: deepseek/deepseek-r1-0528
type: chat
max_input_tokens: 128000
input_price: 0.5
output_price: 2.15
patch:
body:
include_reasoning: true
- name: qwen/qwen3-max - name: qwen/qwen3-max
type: chat type: chat
max_input_tokens: 262144 max_input_tokens: 262144
@@ -1982,13 +1663,7 @@ list:
input_price: 0.29 input_price: 0.29
output_price: 1.15 output_price: 1.15
supports_function_calling: true supports_function_calling: true
- name: x-ai/grok-4 - name: x-ai/grok-4.1-fast
type: chat
max_input_tokens: 256000
input_price: 3.0
output_price: 15.0
supports_function_calling: true
- name: x-ai/grok-4-fast
type: chat type: chat
max_input_tokens: 2000000 max_input_tokens: 2000000
input_price: 0.2 input_price: 0.2
@@ -2044,14 +1719,6 @@ list:
patch: patch:
body: body:
include_reasoning: true include_reasoning: true
- name: perplexity/sonar-reasoning
type: chat
max_input_tokens: 127000
input_price: 1.0
output_price: 5.0
patch:
body:
include_reasoning: true
- name: perplexity/sonar-deep-research - name: perplexity/sonar-deep-research
type: chat type: chat
max_input_tokens: 200000 max_input_tokens: 200000
@@ -2060,17 +1727,24 @@ list:
patch: patch:
body: body:
include_reasoning: true include_reasoning: true
- name: minimax/minimax-m2 - name: minimax/minimax-m2.1
type: chat type: chat
max_input_tokens: 196608 max_input_tokens: 196608
input_price: 0.15 input_price: 0.12
output_price: 0.45 output_price: 0.48
- name: z-ai/glm-4.6 supports_function_calling: true
- name: z-ai/glm-4.7
type: chat type: chat
max_input_tokens: 202752 max_input_tokens: 202752
input_price: 0.5 input_price: 0.16
output_price: 1.75 output_price: 0.8
supports_function_calling: true supports_function_calling: true
- name: z-ai/glm-4.6v
type: chat
max_input_tokens: 131072
input_price: 0.3
output_price: 0.9
supports_vision: true
- provider: github - provider: github
models: models:
- name: gpt-5 - name: gpt-5
@@ -2079,12 +1753,6 @@ list:
max_output_tokens: 128000 max_output_tokens: 128000
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gpt-5-chat
type: chat
max_input_tokens: 400000
max_output_tokens: 128000
supports_vision: true
supports_function_calling: true
- name: gpt-5-mini - name: gpt-5-mini
type: chat type: chat
max_input_tokens: 400000 max_input_tokens: 400000
@@ -2103,100 +1771,11 @@ list:
max_output_tokens: 32768 max_output_tokens: 32768
supports_vision: true supports_vision: true
supports_function_calling: true supports_function_calling: true
- name: gpt-4.1-mini
type: chat
max_input_tokens: 1047576
max_output_tokens: 32768
supports_vision: true
supports_function_calling: true
- name: gpt-4.1-nano
type: chat
max_input_tokens: 1047576
max_output_tokens: 32768
supports_vision: true
supports_function_calling: true
- name: gpt-4o - name: gpt-4o
type: chat type: chat
max_input_tokens: 128000 max_input_tokens: 128000
max_output_tokens: 16384 max_output_tokens: 16384
supports_function_calling: true supports_function_calling: true
- name: gpt-4o-mini
type: chat
max_input_tokens: 128000
max_output_tokens: 16384
supports_function_calling: true
- name: o4-mini
type: chat
max_input_tokens: 200000
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o4-mini-high
type: chat
real_name: o4-mini
max_input_tokens: 200000
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3
type: chat
max_input_tokens: 200000
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3-high
type: chat
real_name: o3
max_input_tokens: 200000
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3-mini
type: chat
max_input_tokens: 200000
patch:
body:
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: o3-mini-high
type: chat
real_name: o3-mini
max_input_tokens: 200000
patch:
body:
reasoning_effort: high
max_tokens: null
temperature: null
top_p: null
supports_vision: true
supports_function_calling: true
system_prompt_prefix: Formatting re-enabled
- name: text-embedding-3-large - name: text-embedding-3-large
type: embedding type: embedding
max_tokens_per_chunk: 8191 max_tokens_per_chunk: 8191
@@ -2338,26 +1917,12 @@ list:
input_price: 0.18 input_price: 0.18
output_price: 0.69 output_price: 0.69
supports_vision: true supports_vision: true
- name: deepseek-ai/DeepSeek-V3.2-Exp - name: deepseek-ai/DeepSeek-V3.2
type: chat type: chat
max_input_tokens: 163840 max_input_tokens: 163840
input_price: 0.27 input_price: 0.26
output_price: 0.4 output_price: 0.39
- name: deepseek-ai/DeepSeek-V3.1-Terminus supports_function_calling: true
type: chat
max_input_tokens: 163840
input_price: 0.27
output_price: 1.0
- name: deepseek-ai/DeepSeek-V3.1
type: chat
max_input_tokens: 163840
input_price: 0.3
output_price: 1.0
- name: deepseek-ai/DeepSeek-R1-0528
type: chat
max_input_tokens: 163840
input_price: 0.5
output_price: 2.15
- name: google/gemma-3-27b-it - name: google/gemma-3-27b-it
type: chat type: chat
max_input_tokens: 131072 max_input_tokens: 131072
@@ -2380,12 +1945,24 @@ list:
input_price: 0.55 input_price: 0.55
output_price: 2.5 output_price: 2.5
supports_function_calling: true supports_function_calling: true
- name: zai-org/GLM-4.6 - name: MiniMaxAI/MiniMax-M2.1
type: chat
max_input_tokens: 262144
input_price: 0.28
output_price: 1.2
supports_function_calling: true
- name: zai-org/GLM-4.7
type: chat type: chat
max_input_tokens: 202752 max_input_tokens: 202752
input_price: 0.6 input_price: 0.43
output_price: 1.9 output_price: 1.75
supports_function_calling: true supports_function_calling: true
- name: zai-org/GLM-4.6V
type: chat
max_input_tokens: 131072
input_price: 0.3
output_price: 0.9
supports_vision: true
- name: BAAI/bge-large-en-v1.5 - name: BAAI/bge-large-en-v1.5
type: embedding type: embedding
input_price: 0.01 input_price: 0.01

View File

@@ -4,8 +4,9 @@
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes` # Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
# for a list of all available themes # for a list of all available themes
--theme="ansi" #--theme="ansi"
#--theme="base16" #--theme="base16"
--theme="Nord"
# Enable this to use italic text on the terminal. This is not supported on all # Enable this to use italic text on the terminal. This is not supported on all
# terminal emulators (like tmux, by default): # terminal emulators (like tmux, by default):

View File

@@ -1,15 +1,4 @@
export_secret() { # Source library files in alphabetical order
local name="$1" for lib in ~/.config/direnv/lib/*.sh; do
local file="/run/secrets/${name}" [[ -f "$lib" ]] && source "$lib"
done
if [[ ! -f "$file" ]]; then
printf "secret file not found: %s\n" $file >&2
return 1
fi
# Read first line, remove trailing spaces/tabs, convert nulls to newlines
local value
value=$(head -n1 "$file" | sed 's/[ \t]*$//' | tr '\0' '\n')
export "${name}=${value}"
}

View File

@@ -0,0 +1,16 @@
# Exports a Podman / Docker secret as an environment variable
export-secret() {
local name="$1"
local file="/run/secrets/${name}"
if [[ ! -f "$file" ]]; then
printf "secret file not found: %s\n" $file >&2
return 1
fi
# Read first line, remove trailing spaces/tabs, convert nulls to newlines
local value
value=$(head -n1 "$file" | sed 's/[ \t]*$//' | tr '\0' '\n')
export "${name}=${value}"
}

View File

@@ -0,0 +1,73 @@
#!/usr/bin/env bash
# repo_overlay - a direnv function to copy files from centralized overlays directory
#
# Set REPO_OVERLAY_DIR to customize the overlays base directory (default: $HOME/overlays)
#
# Usage: Add 'repo_overlay' to your .envrc file
repo-overlay() {
# Get the repo URL from git remote
local repo_url
repo_url=$(git config --get remote.origin.url 2>/dev/null)
if [ -z "$repo_url" ]; then
echo "repo_overlay: Not a git repository or no origin remote configured"
return 1
fi
# Extract owner and repo name from URL
# Handles both SSH (git@github.com:owner/repo.git) and HTTPS (https://github.com/owner/repo.git)
local owner_repo
if [[ "$repo_url" =~ ^git@[^:]+:(.+)\.git$ ]] || \
[[ "$repo_url" =~ ^https?://[^/]+/(.+)\.git$ ]] || \
[[ "$repo_url" =~ ^git@[^:]+:(.+)$ ]] || \
[[ "$repo_url" =~ ^https?://[^/]+/(.+)$ ]]; then
owner_repo="${BASH_REMATCH[1]}"
else
echo "repo_overlay: Could not parse repository URL: $repo_url"
return 1
fi
# Determine overlay source directory
local overlay_base="${REPO_OVERLAY_DIR:-$HOME/overlays}"
local overlay_source="${overlay_base}/${owner_repo}"
if [ ! -d "$overlay_source" ]; then
echo "repo_overlay: No overlay directory found at ${overlay_source}"
return 0
fi
# Copy files from overlay directory
local copied_count=0
local skipped_count=0
# Find all files in overlay directory (excluding directories)
while IFS= read -r -d '' source_file; do
# Get relative path from overlay source
local rel_path="${source_file#$overlay_source/}"
local dest_file="./${rel_path}"
if [ -f "$dest_file" ]; then
echo "repo_overlay: Skipping ${rel_path} (already exists)"
((skipped_count++))
else
# Create parent directory if needed
local dest_dir
dest_dir=$(dirname "$dest_file")
mkdir -p "$dest_dir"
# Copy the file
cp "$source_file" "$dest_file"
echo "repo_overlay: Copied ${rel_path}"
((copied_count++))
fi
done < <(find "$overlay_source" -type f -print0)
# Summary
if [ $copied_count -eq 0 ] && [ $skipped_count -eq 0 ]; then
echo "repo_overlay: No files found in ${overlay_source}"
else
echo "repo_overlay: Complete (${copied_count} copied, ${skipped_count} skipped)"
fi
}

View File

@@ -1,2 +1,5 @@
[main] [main]
font=droid Sans Mono:size=13 font=droid Sans Mono:size=13
include=/usr/share/foot/themes/solarized
#include=/usr/share/foot/themes/selenized
#include=/usr/share/foot/themes/jetbrains-darcula

1
git/.config/git/ignore Normal file
View File

@@ -0,0 +1 @@
**/.claude/settings.local.json

117
nvim/.config/nvim/init.lua Normal file
View File

@@ -0,0 +1,117 @@
-- Basic settings
vim.cmd('syntax on')
vim.opt.smarttab = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.softtabstop = 2
vim.opt.expandtab = true
vim.opt.autoindent = true
vim.opt.backspace = 'indent,eol,start'
vim.opt.background = 'dark'
vim.cmd('colorscheme theunixzoo')
-- vim.cmd('colorscheme solarized8')
-- vim.opt.guifont = 'Droid Sans Mono 10'
vim.opt.guifont = 'Inconsolata 12'
vim.opt.guioptions:remove('T')
-- Use semicolon as colon for commands
vim.keymap.set('n', ';', ':')
-- Disable mouse support
vim.opt.mouse = ''
-- Filetype settings
vim.cmd('filetype plugin on')
vim.cmd('filetype indent on')
vim.opt.omnifunc = 'syntaxcomplete#Complete'
-- Python-specific settings
vim.api.nvim_create_autocmd('FileType', {
pattern = 'python',
callback = function()
vim.opt_local.tabstop = 4
vim.opt_local.expandtab = true
vim.opt_local.shiftwidth = 4
vim.opt_local.softtabstop = 4
end,
})
-- UltiSnips settings
vim.g.UltiSnipsExpandTrigger = '<tab>'
vim.g.UltiSnipsListSnippets = '<c-l>'
-- Insert current date with idate
vim.cmd([[iab idate <c-r>=strftime("%Y-%m-%d")<cr>]])
-- Leader key mappings
vim.keymap.set('n', '<leader>toc', "<cmd>.put =execute('.,$write !gh-md-toc --hide-header --hide-footer')<cr>")
vim.keymap.set('n', '<leader>tf', '<cmd>% !tofu fmt -no-color -<cr>')
vim.keymap.set('n', '<leader>jn', '<cmd>% !jsonnetfmt -<cr>')
vim.keymap.set('n', '<leader>js', '<cmd>% !jq . -<cr>')
-- Display settings
vim.opt.lazyredraw = true
vim.opt.wildmenu = true
vim.opt.showmatch = true
vim.opt.cursorline = true
-- Search down into subfolders
vim.opt.path:append('**')
-- netrw config
vim.g.netrw_banner = 0
vim.g.netrw_browse_split = 0
vim.g.netrw_altv = 1
vim.g.netrw_liststyle = 3
vim.g.netrw_list_hide = ',\\(^\\|\\s\\s\\)\\zs\\.\\S\\+'
-- fzf-lua keymaps
vim.keymap.set('n', '<c-p>', "<cmd>lua require('fzf-lua').files()<CR>")
vim.keymap.set('n', '<c-\\>', "<cmd>lua require('fzf-lua').buffers()<CR>")
vim.keymap.set('n', '<c-g>', "<cmd>lua require('fzf-lua').grep()<CR>")
-- Github Copilot
vim.g.copilot_enabled = 0
vim.keymap.set('n', '<leader>cp', ':let g:copilot_enabled = 1<CR>')
-- GO settings
vim.g.go_fmt_command = 'goimports'
vim.g.go_highlight_functions = 1
vim.g.go_highlight_methods = 1
vim.g.go_highlight_structs = 1
vim.g.go_highlight_interfaces = 1
vim.g.go_highlight_operators = 1
vim.g.go_highlight_build_constraints = 1
-- Markdown settings
vim.g.vim_markdown_folding_disabled = 1
-- vim.pack.add({
-- "https://github.com/ibhagwan/fzf-lua.git",
-- "https://github.com/fatih/vim-go.git",
-- "https://github.com/github/copilot.vim.git",
-- })
require("fzf-lua").setup {
-- winopts = { ... }, -- UI Options
-- keymap = { ... }, -- Neovim keymaps / fzf binds
-- actions = { ... }, -- Fzf "accept" binds
-- fzf_opts = { ... }, -- Fzf CLI flags
-- fzf_colors = { ... }, -- Fzf `--color` specification
-- hls = { ... }, -- Highlights
previewers = {
builtin = {
treesitter = false
}
}, -- Previewers options
-- SPECIFIC COMMAND/PICKER OPTIONS, SEE BELOW
-- files = { ... },
}
-- HCL/Terraform/Nomad settings
-- vim.g.hcl_fmt_autosave = 1
-- vim.g.tf_fmt_autosave = 1
-- vim.g.nomad_fmt_autosave = 1

View File

@@ -1,25 +1,23 @@
# local network -> local port # local network -> local port
Match Host tuulikki.scalene.net exec "ping -c 1 192.168.101.1 -W 1 -q" Match Host tuulikki.scalene.net exec "nc -w 1 192.168.101.1 22"
User jswank
Port 22 Port 22
Host tuulikki.scalene.net Host tuulikki.scalene.net
User jswank
Port 22022 Port 22022
# local network -> local port # local network -> local port
Match Host tonttu.scalene.net exec "ping -c 1 192.168.101.1 -W 1 -q" Match Host tonttu.scalene.net exec "nc -w 1 192.168.101.1 22"
User jswank
Port 22 Port 22
Host tonttu.scalene.net Host tonttu.scalene.net
User jswank
Port 22024 Port 22024
Host www.scalene.net Host www.scalene.net
User scalene User scalene
Port 22022 Port 22022
Match Host git.scalene.net exec "ping -c 1 192.168.101.1 -W 1 -q" Match Host git.scalene.net exec "nc -w 1 192.168.101.1 22"
User jswank
Hostname tonttu.scalene.net Hostname tonttu.scalene.net
Host *.scalene.net
User jswank

View File

@@ -39,14 +39,20 @@ font Droid Sans Mono Bold 10
# #
# Example configuration: # Example configuration:
# #
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off # This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when # your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep. # resumed. It will also lock your screen before your computer goes to sleep.
#
#exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
exec swayidle -w \
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
# exec dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP=sway SWAYSOCK I3SOCK
#
### Input configuration ### Input configuration
# #

View File

@@ -19,4 +19,5 @@ set-environment -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
set -g escape-time 10 set -g escape-time 10
set -g set-clipboard # maybe?
set-option -g set-clipboard external

1
vim/.config/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.netrwhist

View File

@@ -0,0 +1,534 @@
" Name: chill
" Description: A customized version of 'quiet' from https://github.com/vim/colorschemes
" License: Vim License (see `:help license`)`
" Last Change: 2026-01-10
" Generated by Colortemplate v3.0.0-beta10
hi clear
let g:colors_name = 'quiet'
let s:t_Co = has('gui_running') ? 16777216 : str2nr(&t_Co)
let s:tgc = has('termguicolors') && &termguicolors
hi! link Added Normal
hi! link Boolean Constant
hi! link Changed Normal
hi! link Character Constant
hi! link Conditional Statement
hi! link Debug Special
hi! link Define PreProc
hi! link Delimiter Special
hi! link Exception Statement
hi! link Float Constant
hi! link Function Identifier
hi! link Include PreProc
hi! link Keyword Statement
hi! link Label Statement
hi! link Macro PreProc
hi! link MessageWindow Pmenu
hi! link Number Constant
hi! link Operator Statement
hi! link PopupNotification Todo
hi! link PreCondit PreProc
hi! link Removed Normal
hi! link Repeat Statement
hi! link SpecialChar Special
hi! link SpecialComment Special
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi! link StorageClass Type
hi! link String Constant
hi! link Structure Type
hi! link Tag Special
hi! link Terminal Normal
hi! link Typedef Type
hi! link debugBreakpoint ModeMsg
hi! link debugPC CursorLine
hi! link lCursor Cursor
" Inline code: `code`
hi markdownCode gui=italic cterm=italic
" Multiline fenced code blocks: ```code```
hi markdownCodeBlock gui=italic cterm=italic
if &background == 'dark'
let g:terminal_ansi_colors = ['#000000', '#d7005f', '#00af5f', '#d78700', '#0087d7', '#d787d7', '#00afaf', '#dadada', '#707070', '#ff005f', '#00d75f', '#ffaf00', '#5fafff', '#ff87ff', '#00d7d7', '#ffffff']
" use the default / current terminal background color for ctermbg
" hi Normal guifg=#dadada guibg=#000000 guisp=NONE gui=NONE ctermfg=253 ctermbg=16 cterm=NONE term=NONE
hi Normal guifg=#dadada guibg=#000000 guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi ColorColumn guifg=NONE guibg=#1c1c1c guisp=NONE gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE term=reverse
hi Comment guifg=#707070 guibg=NONE guisp=NONE gui=bold ctermfg=242 ctermbg=NONE cterm=bold term=bold
hi Conceal guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE term=NONE
hi Constant guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi CurSearch guifg=#ff5fff guibg=#000000 guisp=NONE gui=reverse ctermfg=207 ctermbg=16 cterm=reverse term=reverse
hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse term=reverse
hi CursorColumn guifg=NONE guibg=#303030 guisp=NONE gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE term=NONE
hi CursorIM guifg=#000000 guibg=#afff00 guisp=NONE gui=NONE ctermfg=16 ctermbg=154 cterm=NONE term=NONE
hi CursorLine guifg=NONE guibg=#303030 guisp=NONE gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE term=underline
hi CursorLineNr guifg=#dadada guibg=#303030 guisp=NONE gui=NONE ctermfg=253 ctermbg=236 cterm=NONE term=bold
hi DiffAdd guifg=#00af00 guibg=#000000 guisp=NONE gui=reverse ctermfg=34 ctermbg=16 cterm=reverse term=reverse
hi DiffChange guifg=#87afd7 guibg=#000000 guisp=NONE gui=reverse ctermfg=110 ctermbg=16 cterm=reverse term=NONE
hi DiffDelete guifg=#d75f5f guibg=#000000 guisp=NONE gui=reverse ctermfg=167 ctermbg=16 cterm=reverse term=reverse
hi DiffText guifg=#d787d7 guibg=#000000 guisp=NONE gui=reverse ctermfg=176 ctermbg=16 cterm=reverse term=reverse
hi Directory guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi EndOfBuffer guifg=#707070 guibg=NONE guisp=NONE gui=NONE ctermfg=242 ctermbg=NONE cterm=NONE term=NONE
hi Error guifg=#ff005f guibg=#000000 guisp=NONE gui=bold,reverse ctermfg=197 ctermbg=16 cterm=bold,reverse term=bold,reverse
hi ErrorMsg guifg=#dadada guibg=#000000 guisp=NONE gui=reverse ctermfg=253 ctermbg=16 cterm=reverse term=bold,reverse
hi FoldColumn guifg=#707070 guibg=NONE guisp=NONE gui=NONE ctermfg=242 ctermbg=NONE cterm=NONE term=NONE
hi Folded guifg=#707070 guibg=#000000 guisp=NONE gui=NONE ctermfg=242 ctermbg=16 cterm=NONE term=NONE
hi Identifier guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=bold term=bold
hi Ignore guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi IncSearch guifg=#ffaf00 guibg=#000000 guisp=NONE gui=reverse ctermfg=214 ctermbg=16 cterm=reverse term=bold,reverse,underline
hi LineNr guifg=#585858 guibg=NONE guisp=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE term=NONE
hi MatchParen guifg=#ff00af guibg=NONE guisp=NONE gui=bold ctermfg=199 ctermbg=NONE cterm=bold term=bold,underline
hi ModeMsg guifg=#dadada guibg=NONE guisp=NONE gui=bold ctermfg=253 ctermbg=NONE cterm=bold term=bold
hi MoreMsg guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi NonText guifg=#707070 guibg=NONE guisp=NONE gui=NONE ctermfg=242 ctermbg=NONE cterm=NONE term=NONE
hi Pmenu guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=16 ctermbg=248 cterm=NONE term=reverse
hi PmenuExtra guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=16 ctermbg=248 cterm=NONE term=NONE
hi PmenuExtraSel guifg=#000000 guibg=#dadada guisp=NONE gui=NONE ctermfg=16 ctermbg=253 cterm=NONE term=NONE
hi PmenuKind guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=bold ctermfg=16 ctermbg=248 cterm=bold term=bold
hi PmenuKindSel guifg=#000000 guibg=#dadada guisp=NONE gui=bold ctermfg=16 ctermbg=253 cterm=bold term=bold
hi PmenuMatch guifg=#d7005f guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=161 ctermbg=248 cterm=NONE term=NONE
hi PmenuMatchSel guifg=#d7005f guibg=#dadada guisp=NONE gui=bold ctermfg=161 ctermbg=253 cterm=bold term=bold
hi PmenuSbar guifg=#707070 guibg=#585858 guisp=NONE gui=NONE ctermfg=242 ctermbg=240 cterm=NONE term=reverse
hi PmenuSel guifg=#000000 guibg=#dadada guisp=NONE gui=NONE ctermfg=16 ctermbg=253 cterm=NONE term=bold
hi PmenuThumb guifg=#dadada guibg=#dadada guisp=NONE gui=NONE ctermfg=253 ctermbg=253 cterm=NONE term=NONE
hi PreProc guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi Question guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=standout
hi QuickFixLine guifg=#ff5fff guibg=#000000 guisp=NONE gui=reverse ctermfg=207 ctermbg=16 cterm=reverse term=NONE
hi Search guifg=#00afff guibg=#000000 guisp=NONE gui=reverse ctermfg=39 ctermbg=16 cterm=reverse term=reverse
hi SignColumn guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=reverse
hi Special guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi SpecialKey guifg=#707070 guibg=NONE guisp=NONE gui=bold ctermfg=242 ctermbg=NONE cterm=bold term=bold
hi SpellBad guifg=#d7005f guibg=NONE guisp=#d7005f gui=undercurl ctermfg=161 ctermbg=NONE cterm=underline term=underline
hi SpellCap guifg=#0087d7 guibg=NONE guisp=#0087d7 gui=undercurl ctermfg=32 ctermbg=NONE cterm=underline term=underline
hi SpellLocal guifg=#d787d7 guibg=NONE guisp=#d787d7 gui=undercurl ctermfg=176 ctermbg=NONE cterm=underline term=underline
hi SpellRare guifg=#00afaf guibg=NONE guisp=#00afaf gui=undercurl ctermfg=37 ctermbg=NONE cterm=underline term=underline
hi Statement guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=bold term=bold
hi StatusLine guifg=#000000 guibg=#dadada guisp=NONE gui=bold ctermfg=16 ctermbg=253 cterm=bold term=bold,reverse
hi StatusLineNC guifg=#707070 guibg=#000000 guisp=NONE gui=reverse ctermfg=242 ctermbg=16 cterm=reverse term=bold,underline
hi TabLine guifg=#707070 guibg=#000000 guisp=NONE gui=reverse ctermfg=242 ctermbg=16 cterm=reverse term=bold,underline
hi TabLineFill guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi TabLineSel guifg=#000000 guibg=#dadada guisp=NONE gui=bold ctermfg=16 ctermbg=253 cterm=bold term=bold,reverse
hi Title guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=bold term=bold
hi TitleBar guifg=#dadada guibg=#4c4c4c guisp=NONE gui=NONE ctermfg=253 ctermbg=237 cterm=NONE term=NONE
hi TitleBarNC guifg=#707070 guibg=#3c3c3c guisp=NONE gui=NONE ctermfg=242 ctermbg=236 cterm=NONE term=NONE
hi Todo guifg=#00ffaf guibg=NONE guisp=NONE gui=bold,reverse ctermfg=49 ctermbg=NONE cterm=bold,reverse term=bold,reverse
hi ToolbarButton guifg=#dadada guibg=#000000 guisp=NONE gui=bold ctermfg=253 ctermbg=16 cterm=bold term=bold,reverse
hi ToolbarLine guifg=NONE guibg=#000000 guisp=NONE gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE term=reverse
hi Type guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=NONE
hi Underlined guifg=#dadada guibg=NONE guisp=NONE gui=underline ctermfg=253 ctermbg=NONE cterm=underline term=underline
hi VertSplit guifg=#707070 guibg=#000000 guisp=NONE gui=NONE ctermfg=242 ctermbg=16 cterm=NONE term=NONE
hi Visual guifg=#ffaf00 guibg=#000000 guisp=NONE gui=reverse ctermfg=214 ctermbg=16 cterm=reverse term=reverse
hi VisualNOS guifg=NONE guibg=#303030 guisp=NONE gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE term=NONE
hi WarningMsg guifg=#dadada guibg=NONE guisp=NONE gui=NONE ctermfg=253 ctermbg=NONE cterm=NONE term=standout
hi WildMenu guifg=#00afff guibg=#000000 guisp=NONE gui=bold ctermfg=39 ctermbg=16 cterm=bold term=bold
if s:tgc || s:t_Co >= 256
finish
endif
if s:t_Co >= 16
hi Normal ctermfg=NONE ctermbg=NONE cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Comment ctermfg=darkgrey ctermbg=NONE cterm=bold
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE
hi CurSearch ctermfg=magenta ctermbg=black cterm=reverse
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLineNr ctermfg=NONE ctermbg=NONE cterm=bold
hi DiffAdd ctermfg=darkgreen ctermbg=black cterm=reverse
hi DiffChange ctermfg=darkblue ctermbg=black cterm=reverse
hi DiffDelete ctermfg=darkred ctermbg=black cterm=reverse
hi DiffText ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Error ctermfg=darkred ctermbg=black cterm=bold,reverse
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi Folded ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Identifier ctermfg=NONE ctermbg=NONE cterm=NONE
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
hi IncSearch ctermfg=yellow ctermbg=black cterm=reverse
hi LineNr ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtra ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtraSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuKind ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi PmenuKindSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuMatch ctermfg=NONE ctermbg=darkred cterm=reverse
hi PmenuMatchSel ctermfg=darkred ctermbg=NONE cterm=bold
hi PmenuSbar ctermfg=darkgrey ctermbg=NONE cterm=reverse
hi PmenuSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuThumb ctermfg=NONE ctermbg=NONE cterm=NONE
hi PreProc ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=standout
hi QuickFixLine ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Search ctermfg=cyan ctermbg=black cterm=reverse
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Special ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=darkgrey ctermbg=NONE cterm=bold
hi SpellBad ctermfg=darkred ctermbg=NONE cterm=underline
hi SpellCap ctermfg=darkblue ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=darkmagenta ctermbg=NONE cterm=underline
hi SpellRare ctermfg=darkcyan ctermbg=NONE cterm=underline
hi Statement ctermfg=NONE ctermbg=bold cterm=bold
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi StatusLineNC ctermfg=darkgrey ctermbg=NONE cterm=reverse
hi TabLine ctermfg=darkgrey ctermbg=NONE cterm=reverse
hi TabLineFill ctermfg=NONE ctermbg=NONE cterm=NONE
hi TabLineSel ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi Title ctermfg=NONE ctermbg=bold cterm=bold
hi TitleBar ctermfg=grey ctermbg=black cterm=NONE
hi TitleBarNC ctermfg=darkgrey ctermbg=black cterm=NONE
hi Todo ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi Type ctermfg=NONE ctermbg=NONE cterm=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
hi VertSplit ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Visual ctermfg=darkyellow ctermbg=black cterm=reverse
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=standout
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=bold
finish
endif
if s:t_Co >= 8
hi Normal ctermfg=NONE ctermbg=NONE cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Comment ctermfg=NONE ctermbg=NONE cterm=bold
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE
hi CurSearch ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLineNr ctermfg=NONE ctermbg=NONE cterm=bold
hi DiffAdd ctermfg=darkgreen ctermbg=black cterm=reverse
hi DiffChange ctermfg=darkblue ctermbg=black cterm=reverse
hi DiffDelete ctermfg=darkred ctermbg=black cterm=reverse
hi DiffText ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
hi Error ctermfg=darkred ctermbg=black cterm=bold,reverse
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi Folded ctermfg=NONE ctermbg=NONE cterm=NONE
hi Identifier ctermfg=NONE ctermbg=NONE cterm=bold
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
hi IncSearch ctermfg=darkyellow ctermbg=black cterm=reverse
hi LineNr ctermfg=NONE ctermbg=NONE cterm=NONE
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=NONE ctermbg=NONE cterm=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtra ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtraSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuKind ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi PmenuKindSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuMatch ctermfg=NONE ctermbg=darkred cterm=reverse
hi PmenuMatchSel ctermfg=darkred ctermbg=NONE cterm=bold
hi PmenuSbar ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuThumb ctermfg=NONE ctermbg=NONE cterm=NONE
hi PreProc ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=standout
hi QuickFixLine ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Search ctermfg=darkcyan ctermbg=black cterm=reverse
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Special ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=NONE ctermbg=NONE cterm=bold
hi SpellBad ctermfg=darkred ctermbg=NONE cterm=underline
hi SpellCap ctermfg=darkblue ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=darkmagenta ctermbg=NONE cterm=underline
hi SpellRare ctermfg=darkcyan ctermbg=NONE cterm=underline
hi Statement ctermfg=NONE ctermbg=bold cterm=bold
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi StatusLineNC ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi TabLine ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi TabLineFill ctermfg=NONE ctermbg=NONE cterm=NONE
hi TabLineSel ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi TitleBar ctermfg=grey ctermbg=black cterm=NONE
hi TitleBarNC ctermfg=darkgrey ctermbg=black cterm=NONE
hi Todo ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi Type ctermfg=NONE ctermbg=NONE cterm=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
hi VertSplit ctermfg=NONE ctermbg=NONE cterm=NONE
hi Visual ctermfg=darkyellow ctermbg=black cterm=reverse
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=standout
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=bold
finish
endif
if s:t_Co >= 0
hi CursorLineFold term=underline
hi CursorLineSign term=underline
hi Float term=NONE
hi Function term=NONE
hi Number term=NONE
hi StatusLineTerm term=bold,reverse
hi StatusLineTermNC term=bold,underline
hi Terminal term=NONE
finish
endif
finish
endif
if &background == 'light'
let g:terminal_ansi_colors = ['#000000', '#af0000', '#005f00', '#af5f00', '#005faf', '#870087', '#008787', '#d7d7d7', '#626262', '#d70000', '#008700', '#d78700', '#0087d7', '#af00af', '#00afaf', '#ffffff']
hi Normal guifg=#000000 guibg=#d7d7d7 guisp=NONE gui=NONE ctermfg=16 ctermbg=188 cterm=NONE term=NONE
hi ColorColumn guifg=NONE guibg=#e4e4e4 guisp=NONE gui=NONE ctermfg=NONE ctermbg=254 cterm=NONE term=reverse
hi Comment guifg=#000000 guibg=NONE guisp=NONE gui=bold ctermfg=16 ctermbg=NONE cterm=bold term=bold
hi Conceal guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE term=NONE
hi Constant guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi CurSearch guifg=#ff5fff guibg=#000000 guisp=NONE gui=reverse ctermfg=207 ctermbg=16 cterm=reverse term=reverse
hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse term=reverse
hi CursorColumn guifg=NONE guibg=#eeeeee guisp=NONE gui=NONE ctermfg=NONE ctermbg=255 cterm=NONE term=NONE
hi CursorIM guifg=#000000 guibg=#afff00 guisp=NONE gui=NONE ctermfg=16 ctermbg=154 cterm=NONE term=NONE
hi CursorLine guifg=NONE guibg=#eeeeee guisp=NONE gui=NONE ctermfg=NONE ctermbg=255 cterm=NONE term=underline
hi CursorLineNr guifg=#000000 guibg=#eeeeee guisp=NONE gui=NONE ctermfg=16 ctermbg=255 cterm=NONE term=bold
hi DiffAdd guifg=#87d787 guibg=#000000 guisp=NONE gui=reverse ctermfg=114 ctermbg=16 cterm=reverse term=reverse
hi DiffChange guifg=#afafd7 guibg=#000000 guisp=NONE gui=reverse ctermfg=146 ctermbg=16 cterm=reverse term=NONE
hi DiffDelete guifg=#d78787 guibg=#000000 guisp=NONE gui=reverse ctermfg=174 ctermbg=16 cterm=reverse term=reverse
hi DiffText guifg=#d787d7 guibg=#000000 guisp=NONE gui=reverse ctermfg=176 ctermbg=16 cterm=reverse term=reverse
hi Directory guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi EndOfBuffer guifg=#626262 guibg=NONE guisp=NONE gui=NONE ctermfg=241 ctermbg=NONE cterm=NONE term=NONE
hi Error guifg=#ff005f guibg=#000000 guisp=NONE gui=bold,reverse ctermfg=197 ctermbg=16 cterm=bold,reverse term=bold,reverse
hi ErrorMsg guifg=#000000 guibg=#d7d7d7 guisp=NONE gui=reverse ctermfg=16 ctermbg=188 cterm=reverse term=bold,reverse
hi FoldColumn guifg=#626262 guibg=NONE guisp=NONE gui=NONE ctermfg=241 ctermbg=NONE cterm=NONE term=NONE
hi Folded guifg=#626262 guibg=#d7d7d7 guisp=NONE gui=NONE ctermfg=241 ctermbg=188 cterm=NONE term=NONE
hi Identifier guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=bold term=bold
hi Ignore guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi IncSearch guifg=#ffaf00 guibg=#000000 guisp=NONE gui=reverse ctermfg=214 ctermbg=16 cterm=reverse term=bold,reverse,underline
hi LineNr guifg=#a8a8a8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE term=NONE
hi MatchParen guifg=#ff00af guibg=#d7d7d7 guisp=NONE gui=bold ctermfg=199 ctermbg=188 cterm=bold term=bold,underline
hi ModeMsg guifg=#000000 guibg=NONE guisp=NONE gui=bold ctermfg=16 ctermbg=NONE cterm=bold term=bold
hi MoreMsg guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi NonText guifg=#626262 guibg=NONE guisp=NONE gui=NONE ctermfg=241 ctermbg=NONE cterm=NONE term=NONE
hi Pmenu guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=16 ctermbg=248 cterm=NONE term=reverse
hi PmenuExtra guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=16 ctermbg=248 cterm=NONE term=NONE
hi PmenuExtraSel guifg=#d7d7d7 guibg=#000000 guisp=NONE gui=NONE ctermfg=188 ctermbg=16 cterm=NONE term=NONE
hi PmenuKind guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=bold ctermfg=16 ctermbg=248 cterm=bold term=bold
hi PmenuKindSel guifg=#d7d7d7 guibg=#000000 guisp=NONE gui=bold ctermfg=188 ctermbg=16 cterm=bold term=bold
hi PmenuMatch guifg=#d70000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=160 ctermbg=248 cterm=NONE term=NONE
hi PmenuMatchSel guifg=#d70000 guibg=#000000 guisp=NONE gui=bold ctermfg=160 ctermbg=16 cterm=bold term=bold
hi PmenuSbar guifg=#000000 guibg=#e4e4e4 guisp=NONE gui=NONE ctermfg=16 ctermbg=254 cterm=NONE term=reverse
hi PmenuSel guifg=#d7d7d7 guibg=#000000 guisp=NONE gui=NONE ctermfg=188 ctermbg=16 cterm=NONE term=bold
hi PmenuThumb guifg=#000000 guibg=#000000 guisp=NONE gui=NONE ctermfg=16 ctermbg=16 cterm=NONE term=NONE
hi PreProc guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi Question guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=standout
hi QuickFixLine guifg=#ff5fff guibg=#000000 guisp=NONE gui=reverse ctermfg=207 ctermbg=16 cterm=reverse term=NONE
hi Search guifg=#00afff guibg=#000000 guisp=NONE gui=reverse ctermfg=39 ctermbg=16 cterm=reverse term=reverse
hi SignColumn guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=reverse
hi Special guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi SpecialKey guifg=#626262 guibg=NONE guisp=NONE gui=bold ctermfg=241 ctermbg=NONE cterm=bold term=bold
hi SpellBad guifg=#af0000 guibg=#d7d7d7 guisp=#af0000 gui=undercurl ctermfg=124 ctermbg=188 cterm=underline term=underline
hi SpellCap guifg=#005faf guibg=#d7d7d7 guisp=#005faf gui=undercurl ctermfg=25 ctermbg=188 cterm=underline term=underline
hi SpellLocal guifg=#870087 guibg=#d7d7d7 guisp=#870087 gui=undercurl ctermfg=90 ctermbg=188 cterm=underline term=underline
hi SpellRare guifg=#008787 guibg=#d7d7d7 guisp=#008787 gui=undercurl ctermfg=30 ctermbg=188 cterm=underline term=underline
hi Statement guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=bold term=bold
hi StatusLine guifg=#eeeeee guibg=#000000 guisp=NONE gui=bold ctermfg=255 ctermbg=16 cterm=bold term=bold,reverse
hi StatusLineNC guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=16 ctermbg=248 cterm=NONE term=bold,underline
hi TabLine guifg=#000000 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=16 ctermbg=248 cterm=NONE term=bold,underline
hi TabLineFill guifg=#000000 guibg=#d7d7d7 guisp=NONE gui=NONE ctermfg=16 ctermbg=188 cterm=NONE term=NONE
hi TabLineSel guifg=#eeeeee guibg=#000000 guisp=NONE gui=bold ctermfg=255 ctermbg=16 cterm=bold term=bold,reverse
hi Title guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE term=NONE
hi TitleBar guifg=#000000 guibg=#ececec guisp=NONE gui=NONE ctermfg=16 ctermbg=255 cterm=NONE term=NONE
hi TitleBarNC guifg=#626262 guibg=#e7e7e7 guisp=NONE gui=NONE ctermfg=241 ctermbg=255 cterm=NONE term=NONE
hi Todo guifg=#00ffaf guibg=#000000 guisp=NONE gui=bold,reverse ctermfg=49 ctermbg=16 cterm=bold,reverse term=bold,reverse
hi ToolbarButton guifg=#000000 guibg=#d7d7d7 guisp=NONE gui=bold ctermfg=16 ctermbg=188 cterm=bold term=bold,reverse
hi ToolbarLine guifg=NONE guibg=#d7d7d7 guisp=NONE gui=NONE ctermfg=NONE ctermbg=188 cterm=NONE term=reverse
hi Type guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=NONE
hi Underlined guifg=#000000 guibg=NONE guisp=NONE gui=underline ctermfg=16 ctermbg=NONE cterm=underline term=underline
hi VertSplit guifg=#626262 guibg=#d7d7d7 guisp=NONE gui=NONE ctermfg=241 ctermbg=188 cterm=NONE term=NONE
hi Visual guifg=#ffaf00 guibg=#000000 guisp=NONE gui=reverse ctermfg=214 ctermbg=16 cterm=reverse term=reverse
hi VisualNOS guifg=NONE guibg=#eeeeee guisp=NONE gui=NONE ctermfg=NONE ctermbg=255 cterm=NONE term=NONE
hi WarningMsg guifg=#000000 guibg=NONE guisp=NONE gui=NONE ctermfg=16 ctermbg=NONE cterm=NONE term=standout
hi WildMenu guifg=#000000 guibg=#eeeeee guisp=NONE gui=bold ctermfg=16 ctermbg=255 cterm=bold term=bold
if s:tgc || s:t_Co >= 256
finish
endif
if s:t_Co >= 16
hi Normal ctermfg=NONE ctermbg=NONE cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Comment ctermfg=NONE ctermbg=NONE cterm=bold
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE
hi CurSearch ctermfg=magenta ctermbg=black cterm=reverse
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLineNr ctermfg=NONE ctermbg=NONE cterm=bold
hi DiffAdd ctermfg=darkgreen ctermbg=black cterm=reverse
hi DiffChange ctermfg=darkblue ctermbg=black cterm=reverse
hi DiffDelete ctermfg=darkred ctermbg=black cterm=reverse
hi DiffText ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Error ctermfg=darkred ctermbg=black cterm=bold,reverse
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi Folded ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Identifier ctermfg=NONE ctermbg=NONE cterm=NONE
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
hi IncSearch ctermfg=yellow ctermbg=black cterm=reverse
hi LineNr ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtra ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtraSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuKind ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi PmenuKindSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuMatch ctermfg=NONE ctermbg=darkred cterm=reverse
hi PmenuMatchSel ctermfg=darkred ctermbg=NONE cterm=bold
hi PmenuSbar ctermfg=darkgrey ctermbg=NONE cterm=reverse
hi PmenuSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuThumb ctermfg=NONE ctermbg=NONE cterm=NONE
hi PreProc ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=standout
hi QuickFixLine ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Search ctermfg=cyan ctermbg=black cterm=reverse
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Special ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=darkgrey ctermbg=NONE cterm=bold
hi SpellBad ctermfg=darkred ctermbg=NONE cterm=underline
hi SpellCap ctermfg=darkblue ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=darkmagenta ctermbg=NONE cterm=underline
hi SpellRare ctermfg=darkcyan ctermbg=NONE cterm=underline
hi Statement ctermfg=NONE ctermbg=NONE cterm=bold
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi StatusLineNC ctermfg=darkgrey ctermbg=NONE cterm=reverse
hi TabLine ctermfg=darkgrey ctermbg=NONE cterm=reverse
hi TabLineFill ctermfg=NONE ctermbg=NONE cterm=NONE
hi TabLineSel ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi TitleBar ctermfg=black ctermbg=white cterm=NONE
hi TitleBarNC ctermfg=darkgrey ctermbg=white cterm=NONE
hi Todo ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi Type ctermfg=NONE ctermbg=NONE cterm=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
hi VertSplit ctermfg=darkgrey ctermbg=NONE cterm=NONE
hi Visual ctermfg=darkyellow ctermbg=black cterm=reverse
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=standout
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=bold
finish
endif
if s:t_Co >= 8
hi Normal ctermfg=NONE ctermbg=NONE cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Comment ctermfg=NONE ctermbg=NONE cterm=bold
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE
hi CurSearch ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorIM ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=NONE
hi CursorLineNr ctermfg=NONE ctermbg=NONE cterm=bold
hi DiffAdd ctermfg=darkgreen ctermbg=black cterm=reverse
hi DiffChange ctermfg=darkblue ctermbg=black cterm=reverse
hi DiffDelete ctermfg=darkred ctermbg=black cterm=reverse
hi DiffText ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
hi Error ctermfg=darkred ctermbg=black cterm=bold,reverse
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi Folded ctermfg=NONE ctermbg=NONE cterm=NONE
hi Identifier ctermfg=NONE ctermbg=NONE cterm=NONE
hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
hi IncSearch ctermfg=darkyellow ctermbg=black cterm=reverse
hi LineNr ctermfg=NONE ctermbg=NONE cterm=NONE
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=bold
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=NONE ctermbg=NONE cterm=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtra ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuExtraSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuKind ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi PmenuKindSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuMatch ctermfg=NONE ctermbg=darkred cterm=reverse
hi PmenuMatchSel ctermfg=darkred ctermbg=NONE cterm=bold
hi PmenuSbar ctermfg=NONE ctermbg=NONE cterm=reverse
hi PmenuSel ctermfg=NONE ctermbg=NONE cterm=bold
hi PmenuThumb ctermfg=NONE ctermbg=NONE cterm=NONE
hi PreProc ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=standout
hi QuickFixLine ctermfg=darkmagenta ctermbg=black cterm=reverse
hi Search ctermfg=darkcyan ctermbg=black cterm=reverse
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=reverse
hi Special ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=NONE ctermbg=NONE cterm=bold
hi SpellBad ctermfg=darkred ctermbg=NONE cterm=underline
hi SpellCap ctermfg=darkblue ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=darkmagenta ctermbg=NONE cterm=underline
hi SpellRare ctermfg=darkcyan ctermbg=NONE cterm=underline
hi Statement ctermfg=NONE ctermbg=NONE cterm=bold
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi StatusLineNC ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi TabLine ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi TabLineFill ctermfg=NONE ctermbg=NONE cterm=NONE
hi TabLineSel ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi TitleBar ctermfg=black ctermbg=white cterm=NONE
hi TitleBarNC ctermfg=darkgrey ctermbg=white cterm=NONE
hi Todo ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=bold,reverse
hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi Type ctermfg=NONE ctermbg=NONE cterm=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
hi VertSplit ctermfg=NONE ctermbg=NONE cterm=NONE
hi Visual ctermfg=darkyellow ctermbg=black cterm=reverse
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=standout
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=bold
finish
endif
if s:t_Co >= 0
hi CursorLineFold term=underline
hi CursorLineSign term=underline
hi Float term=NONE
hi Function term=NONE
hi Number term=NONE
hi StatusLineTerm term=bold,reverse
hi StatusLineTermNC term=bold,underline
hi Terminal term=NONE
finish
endif
endif
" vim: et ts=8 sw=2 sts=2

View File

@@ -21,61 +21,80 @@ let g:colors_name="theunixzoo"
" Base Colours " Base Colours
hi Normal guibg=#242429 guifg=#d48130 ctermfg=None ctermbg=None hi Normal guibg=#242429 guifg=#d48130 ctermfg=None ctermbg=None
" Vim Features " Vim Feature
hi Cursor guibg=yellow guifg=black ctermbg=None ctermfg=None cterm=None hi Cursor ctermbg=None ctermfg=None cterm=inverse
hi VertSplit guibg=#46464e guifg=grey60 ctermbg=gray ctermfg=None cterm=None hi VertSplit ctermbg=gray ctermfg=None cterm=None
hi Folded guibg=fg guifg=bg ctermbg=None ctermfg=None cterm=None hi Folded ctermbg=None ctermfg=None cterm=None
hi LineNr guifg=grey30 guibg=black ctermbg=None ctermfg=None cterm=None hi LineNr ctermbg=None ctermfg=None cterm=None
hi NonText guifg=fg guibg=#19191e ctermbg=None ctermfg=None cterm=None hi NonText ctermbg=None ctermfg=None cterm=None
hi Search guibg=fg guifg=black ctermbg=yellow ctermfg=blue cterm=None hi Search ctermbg=yellow ctermfg=blue cterm=None
hi IncSearch guibg=bg guifg=#ded032 ctermbg=blue ctermfg=yellow cterm=None hi IncSearch ctermbg=blue ctermfg=yellow cterm=None
hi StatusLine guibg=black guifg=gray80 ctermbg=gray ctermfg=black cterm=None hi StatusLine ctermbg=gray ctermfg=black cterm=None
hi StatusLineNC guibg=black guifg=gray20 ctermbg=gray ctermfg=black cterm=None hi StatusLineNC ctermbg=gray ctermfg=black cterm=None
hi Visual guifg=lightblue guibg=#001146 gui=None ctermbg=None ctermfg=None cterm=inverse hi Visual ctermbg=None ctermfg=None cterm=inverse
hi ErrorMsg guifg=bg guibg=fg ctermbg=None ctermfg=None cterm=None hi ErrorMsg ctermbg=None ctermfg=None cterm=None
hi WarningMsg guifg=bg guibg=fg ctermbg=None ctermfg=None cterm=None hi WarningMsg ctermbg=None ctermfg=None cterm=None
hi Error guifg=fg guibg=gray30 ctermbg=red ctermfg=None cterm=None hi Error ctermbg=red ctermfg=None cterm=None
hi SpecialKey guifg=fg guibg=bg ctermbg=None ctermfg=None cterm=None hi SpecialKey ctermbg=None ctermfg=None cterm=None
hi Directory guifg=fg guibg=bg gui=bold ctermbg=None ctermfg=None cterm=None hi Directory ctermbg=None ctermfg=None cterm=None
hi ModeMsg guifg=fg guibg=bg gui=bold ctermbg=None ctermfg=None cterm=None hi ModeMsg ctermbg=None ctermfg=None cterm=None
hi CursorLine guibg=bg ctermbg=None ctermfg=None cterm=underline hi CursorLine ctermbg=black ctermfg=None cterm=None
hi Pmenu guifg=seagreen guibg=black ctermbg=gray ctermfg=black cterm=None hi Pmenu ctermbg=gray ctermfg=black cterm=None
hi PmenuSel guifg=skyblue guibg=gray30 ctermbg=yellow ctermfg=black cterm=None hi PmenuSel ctermbg=yellow ctermfg=black cterm=None
hi Question guifg=seagreen guibg=bg ctermbg=None ctermfg=None cterm=None hi Question ctermbg=None ctermfg=None cterm=None
hi MoreMsg guifg=seagreen guibg=bg ctermbg=None ctermfg=None cterm=None hi MoreMsg ctermbg=None ctermfg=None cterm=None
hi DiffDelete guifg=gray20 guibg=gray5 ctermbg=None ctermfg=None cterm=None hi DiffDelete ctermbg=None ctermfg=None cterm=None
hi DiffChange guifg=fg guibg=gray30 ctermbg=None ctermfg=None cterm=None hi DiffChange ctermbg=None ctermfg=None cterm=None
hi DiffAdd guifg=fg guibg=bg ctermbg=None ctermfg=None cterm=None hi DiffAdd ctermbg=None ctermfg=None cterm=None
hi DiffText guifg=black guibg=seagreen gui=None ctermbg=None ctermfg=None cterm=None hi DiffText ctermbg=None ctermfg=None cterm=None
hi FoldColumn guifg=fg guibg=bg ctermbg=None ctermfg=None cterm=None hi FoldColumn ctermbg=None ctermfg=None cterm=None
hi Title guifg=fg guibg=bg gui=bold ctermfg=None ctermbg=None cterm=bold hi Title ctermfg=None ctermbg=None cterm=bold
hi VimHiGroup guifg=fg guibg=bg gui=None ctermbg=None ctermfg=None cterm=None hi VimHiGroup ctermbg=None ctermfg=None cterm=None
hi VimHiLink guifg=fg guibg=bg gui=None ctermbg=None ctermfg=None cterm=None hi VimHiLink ctermbg=None ctermfg=None cterm=None
hi VimGroup guifg=fg guibg=bg gui=None ctermbg=None ctermfg=None cterm=None hi VimGroup ctermbg=None ctermfg=None cterm=None
hi Underlined guifg=lightblue guibg=bg gui=bold ctermbg=None ctermfg=None cterm=underline hi Underlined ctermbg=None ctermfg=None cterm=underline
hi SpellBad guibg=bg gui=undercurl guisp=red ctermbg=red ctermfg=yellow term=None hi SpellBad ctermbg=red ctermfg=yellow term=None
hi SpellCap guibg=bg gui=undercurl guisp=red ctermbg=red ctermfg=yellow term=None hi SpellCap ctermbg=red ctermfg=yellow term=None
hi SpellRare guibg=bg gui=undercurl guisp=red ctermbg=red ctermfg=yellow term=None hi SpellRare ctermbg=red ctermfg=yellow term=None
hi SpellLocal guibg=bg gui=undercurl guisp=red ctermbg=red ctermfg=yellow term=None hi SpellLocal ctermbg=red ctermfg=yellow term=None
hi HelpStar guibg=bg guifg=fg gui=None ctermbg=None ctermfg=None cterm=None hi HelpStar ctermbg=None ctermfg=None cterm=None
" Language Features " Language Features
hi Identifier guifg=fg guibg=bg ctermfg=None ctermbg=None cterm=bold hi Identifier ctermfg=None ctermbg=None cterm=bold
hi Function guifg=fg guibg=bg ctermfg=None ctermbg=None cterm=bold hi Function ctermfg=None ctermbg=None cterm=bold
hi Comment guifg=seagreen guibg=bg ctermfg=10 ctermbg=None cterm=None hi Comment ctermfg=10 ctermbg=None cterm=None
hi javaCOmmentTitle guifg=seagreen guibg=bg ctermfg=red ctermbg=None cterm=None hi javaCOmmentTitle ctermfg=red ctermbg=None cterm=None
hi Constant guifg=fg guibg=bg ctermfg=None ctermbg=None cterm=None hi Constant ctermfg=None ctermbg=None cterm=None
hi Statement guifg=#f5593f guibg=bg gui=None ctermfg=None ctermbg=None cterm=bold hi Statement ctermfg=None ctermbg=None cterm=bold
hi PreProc guifg=fg gui=bold guibg=bg ctermfg=None ctermbg=None cterm=bold hi PreProc ctermfg=None ctermbg=None cterm=bold
hi Type guifg=fg guibg=bg gui=None ctermfg=None ctermbg=None cterm=None hi Type ctermfg=None ctermbg=None cterm=None
hi Special gui=None guifg=#deb032 guibg=bg ctermfg=None ctermbg=None cterm=None hi Special ctermfg=None ctermbg=None cterm=None
hi Todo guibg=#330088 guifg=seagreen ctermfg=black ctermbg=cyan cterm=None hi Todo ctermfg=black ctermbg=cyan cterm=None
hi cTodo guibg=#330088 guifg=seagreen ctermfg=black ctermbg=cyan cterm=None hi cTodo ctermfg=black ctermbg=cyan cterm=None
hi ColorColumn guibg=gray20 guifg=fg ctermfg=magenta ctermbg=None cterm=None hi ColorColumn ctermfg=magenta ctermbg=None cterm=None
hi cPreCondit guifg=#cb4b16 ctermfg=None ctermbg=None cterm=None hi cPreCondit ctermfg=None ctermbg=None cterm=None
hi texMathZoneW guibg=bg guifg=fg ctermfg=None ctermbg=None cterm=None hi texMathZoneW ctermfg=None ctermbg=None cterm=None
hi texMathOper guibg=bg guifg=fg ctermfg=None ctermbg=None cterm=None hi texMathOper ctermfg=None ctermbg=None cterm=None
hi Delimiter guifg=#f5593f guibg=bg gui=None ctermfg=None ctermbg=None cterm=bold hi Delimiter ctermfg=None ctermbg=None cterm=bold
" colors
" 1 - red
" 2 - green
" 3 - orange
" 4 - cyan
" 5 - magenta
" 6 - cyan
" 7 - white
" Markdown
" Inline code: `code`
hi markdownCode ctermfg=3 cterm=italic
" Multiline fenced code blocks: ```code```
hi markdownCodeBlock ctermfg=3 cterm=italic
" **text** should be bold
hi markdownBold gui=bold cterm=bold
" *text* should be italic
hi markdownItalic gui=italic cterm=italic
" File Manager " File Manager
hi netrwMarkFile guifg=fg guibg=seagreen ctermfg=None ctermbg=None cterm=inverse hi netrwMarkFile ctermfg=None ctermbg=None cterm=inverse

View File

@@ -1,17 +1,55 @@
syntax on syntax on
set smarttab ts=2 sw=2 set smarttab ts=2 sw=2
set softtabstop=2 set softtabstop=2
set expandtab set expandtab
set autoindent set autoindent
" line length is 89
set textwidth=89
" Default: No wrap for code and config
set nowrap
" Wrap at word boundaries
" set linebreak
" Maintain indentation on wrapped lines
" set breakindent
" Optional: visual indicator for wrapped lines
set showbreak=↪\
" a group for wrapping by filetype
augroup filetype_wrapping
autocmd!
" Enable soft wrap for prose
autocmd FileType markdown,text,gitcommit setlocal wrap linebreak breakindent
" Maintain no wrap for code and structured data
autocmd FileType go,python,sh,yaml,json setlocal nowrap
augroup END
" Navigate visual lines instead of logical lines
nnoremap j gj
nnoremap k gk
vnoremap j gj
vnoremap k gk
set backspace=indent,eol,start set backspace=indent,eol,start
set background=dark set background=dark
colorscheme theunixzoo colorscheme theunixzoo
"colorscheme chill
"colorscheme plain-cterm "colorscheme plain-cterm
"colorscheme aomi-grayscale "colorscheme aomi-grayscale
"colorscheme solarized8 "colorscheme solarized8
" disabled by default- enable this as needed to show hidden characters
" set list
" any trailing spaces are indicated by a ·
" tabs are indicated by an arrow followed by a space
" arrows could be: → »
set listchars=tab:→\ ,trail
"source /home/jswank/.config/nvim/colors-now "source /home/jswank/.config/nvim/colors-now
"set gfn=Droid\ Sans\ Mono\ 10 "set gfn=Droid\ Sans\ Mono\ 10
@@ -21,27 +59,22 @@ set guioptions-=T
"use semicolon as colon for commands "use semicolon as colon for commands
nmap ; : nmap ; :
"disable mouse support (nvim)
set mouse=
filetype plugin on filetype plugin on
filetype indent on filetype indent on
set ofu=syntaxcomplete#Complete# set ofu=syntaxcomplete#Complete#
" au FileType python setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 " au FileType python setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4
au FileType markdown setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 au FileType markdown setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 wrap
" enable snippets " typing idate inserts the current date
" let g:UltiSnipsExpandTrigger="<tab>"
" list all snippets
" let g:UltiSnipsListSnippets="<c-l>"
" typing idate inserts the current date
iab idate <c-r>=strftime("%Y-%m-%d")<cr> iab idate <c-r>=strftime("%Y-%m-%d")<cr>
" insert triple backticks for markdown code blocks with Ctrl-b
inoremap <C-b> ```<CR>```<Esc>O
" use \ toc to insert a table of contents for markdown from the current line to EOF " use \ toc to insert a table of contents for markdown from the current line to EOF
" nmap <leader>toc <cmd>.put =execute('.,$write !gh-md-toc --hide-header --hide-footer')<cr> " nmap <leader>toc <cmd>.put =execute('.,$write !gh-md-toc --hide-header --hide-footer')<cr>
nmap <leader>toc :put =system('gh-md-toc --hide-header --hide-footer', getline('.', '$'))<cr> nmap <leader>toc :put =system('gh-md-toc --hide-header --hide-footer --indent=4', getline('.', '$'))<cr>
" use \ tf to format a buffer as tofu / terraform " use \ tf to format a buffer as tofu / terraform
nmap <leader>tf <cmd>% !tofu fmt -no-color -<cr> nmap <leader>tf <cmd>% !tofu fmt -no-color -<cr>
@@ -65,7 +98,6 @@ set cursorline " highlights the current line
" Search down into subfolders " Search down into subfolders
set path+=** set path+=**
" netrw config " netrw config
let g:netrw_banner=0 " disable annoying banner let g:netrw_banner=0 " disable annoying banner
let g:netrw_browse_split=0 " open in prior window let g:netrw_browse_split=0 " open in prior window
@@ -78,7 +110,7 @@ let g:netrw_liststyle=3 " tree view
" - <CR>/v/t to open in an h-split/v-split/tab " - <CR>/v/t to open in an h-split/v-split/tab
" - check |netrw-browse-maps| for more mappings " - check |netrw-browse-maps| for more mappings
" fzf-lua shortcuts " fzf.vim shortcuts
nnoremap <c-p> <cmd>Files<CR> nnoremap <c-p> <cmd>Files<CR>
nnoremap <c-\> <cmd>Buffers<CR> nnoremap <c-\> <cmd>Buffers<CR>
nnoremap <c-g> <cmd>Rg<CR> nnoremap <c-g> <cmd>Rg<CR>
@@ -91,6 +123,23 @@ let g:copilot_enabled = 0
" map key to enable copilot " map key to enable copilot
nmap <leader>cp :let g:copilot_enabled = 1<CR> nmap <leader>cp :let g:copilot_enabled = 1<CR>
def ShowPalette()
vnew
setlocal buftype=nofile bufhidden=wipe noswapfile
# Iterate through all highlight groups
for group in getcompletion('', 'highlight')
# Skip cleared/empty groups
if hlexists(group)
append(line('$'), group)
# Use syntax keyword to apply the highlight group to its own name
exec 'syntax keyword ' .. group .. ' ' .. group
endif
endfor
enddef
command! ShowPalette call ShowPalette()
" format any yaml file " format any yaml file
" autocmd BufWritePre *.yaml :%!yq -i % " autocmd BufWritePre *.yaml :%!yq -i %
@@ -111,25 +160,24 @@ let g:go_highlight_build_constraints = 1
" disable folding for markdown " disable folding for markdown
let g:vim_markdown_folding_disabled = 1 let g:vim_markdown_folding_disabled = 1
" ancient stuff
"let g:hcl_fmt_autosave = 1 "let g:hcl_fmt_autosave = 1
"let g:tf_fmt_autosave = 1 "let g:tf_fmt_autosave = 1
"let g:nomad_fmt_autosave = 1 "let g:nomad_fmt_autosave = 1
" ancient stuff
"
"autocmd BufRead,BufNewFile *.go set makeprg=go\ build "autocmd BufRead,BufNewFile *.go set makeprg=go\ build
"map <leader>gr <ESC>:!gorun %<CR> "map <leader>gr <ESC>:!gorun %<CR>
"for javascript: "for javascript:
"use google closure to generate errors "use google closure to generate errors
":set makeprg=closure\ --js\ % ":set makeprg=closure\ --js\ %
"javac style errors "javac style errors
":setl efm=%A%f:%l:\ %m,%+Z%p^,%+C%.%#,%-G%.%# ":setl efm=%A%f:%l:\ %m,%+Z%p^,%+C%.%#,%-G%.%#
"autocmd BufRead,BufNewFile *.js :call My_JS() "autocmd BufRead,BufNewFile *.js :call My_JS()
"function! My_JS() "function! My_JS()
" set makeprg=closure\ --js\ % " set makeprg=closure\ --js\ %
" setl efm=%A%f:%l:\ %m,%+Z%p^,%+C%.%#,%-G%.%# " setl efm=%A%f:%l:\ %m,%+Z%p^,%+C%.%#,%-G%.%#
"endfunction "endfunction
"map <leader>hh :!tidy -q -i --show-errors 0<CR> "map <leader>hh :!tidy -q -i --show-errors 0<CR>

View File

@@ -1,12 +1,14 @@
# {{format-date now '%Y-%m-%d'}} # {{format-date now '%Y-%m-%d'}}
[yesterday](daily/{{format-date (date "yesterday") '%Y-%m-%d'}}.md) [Yesterday](daily/{{format-date (date "yesterday") '%Y%m%d'}}.md)
[Weekly Goals](daily/weekly-goals.md)
## goals ## goals
- a bullet - a bullet
- another bullet - another bullet
## tracking ## tracking
- [ ] harvest time sheet
- [ ] exercise - [ ] exercise
- [ ] dinner / logistics - [ ] dinner / logistics

4
zsh/.local/share/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# ignore all files in the stew directory
stew/*
containers/
direnv

View File

@@ -0,0 +1,17 @@
aws-get-bedrock-profile () {
profile_arn=$(aws bedrock list-inference-profiles \
| jq -r '.inferenceProfileSummaries
| map(select(.inferenceProfileId | startswith("us.")))
| sort_by(.inferenceProfileName)
| .[]
| [.inferenceProfileArn, .inferenceProfileName, .description]
| @tsv' \
| fzf \
--header="$(printf '%-30s\t%s\n' 'NAME' 'DESCRIPTION')" \
--no-preview \
--delimiter='\t' \
--with-nth=2,3 \
| awk '{print $1}')
[[ -z "$profile_arn" ]] && return 1
echo "$profile_arn"
}

View File

@@ -3,7 +3,9 @@ aws-get-secret () {
if [[ -z "$secret_id" ]]; then if [[ -z "$secret_id" ]]; then
secret_id=$(aws secretsmanager list-secrets \ secret_id=$(aws secretsmanager list-secrets \
# build a tsv w/ name and date
| jq -r '.SecretList | sort_by(.Name) | .[] | [.Name,.LastChangedDate] | @tsv' \ | jq -r '.SecretList | sort_by(.Name) | .[] | [.Name,.LastChangedDate] | @tsv' \
# convert to tsv w/ full name, truncated name, date (no timestamp)
| awk -F'\t' '{ | awk -F'\t' '{
full_name = $1; full_name = $1;
truncated_name = substr($1,1,30); truncated_name = substr($1,1,30);
@@ -11,6 +13,7 @@ aws-get-secret () {
# Output: full_name (for return), truncated_name (for display), date (for display) # Output: full_name (for return), truncated_name (for display), date (for display)
printf "%s\t%-30s\t%s\n", full_name, truncated_name, date_parts[1] printf "%s\t%-30s\t%s\n", full_name, truncated_name, date_parts[1]
}' \ }' \
# select via fzf, fields 2 & 3
| fzf \ | fzf \
--header="$(printf '%-30s\t%s\n' 'NAME' 'LAST_CHANGED_DATE')" \ --header="$(printf '%-30s\t%s\n' 'NAME' 'LAST_CHANGED_DATE')" \
--delimiter='\t' \ --delimiter='\t' \

View File

@@ -1,3 +1,3 @@
aws-logout() { aws-logout() {
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AWS_ENVIRONMENT unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AWS_ENVIRONMENT AWS_PROFILE
} }

View File

@@ -0,0 +1,30 @@
aws-sso-login() {
local profile="${1:-$AWS_PROFILE}"
if [[ -z "$profile" ]]; then
profile=$(aws configure list-profiles \
| fzf --height 40% --reverse --no-preview)
fi
if [[ -z "$profile" ]]; then
echo "Error: No profile provided or selected." >&2
return 1
fi
# Validate existing session; login if expired or missing
if ! aws sts get-caller-identity --profile "$profile" &>/dev/null; then
aws sso login --use-device-code --profile "$profile" || return 1
fi
# Export credentials to environment for third-party tools
local creds
creds=$(aws configure export-credentials --profile "$profile" --format env)
if [[ $? -eq 0 ]]; then
eval "$creds"
export AWS_PROFILE="$profile"
# echo "Environment configured for profile: $profile"
else
echo "Error: Failed to export credentials." >&2
return 1
fi
}

View File

@@ -13,6 +13,8 @@ export FZF_DEFAULT_OPTS="--multi --height=40% --layout=reverse --preview='bat --
export GOPATH=~/go export GOPATH=~/go
export TZ=America/Kentucky/Louisville
# doesn't work on arch for tmux # doesn't work on arch for tmux
#path+=(~/bin) #path+=(~/bin)
#path+=(~/.local/bin) #path+=(~/.local/bin)

View File

@@ -48,9 +48,9 @@ zstyle ':vcs_info:git*' actionformats '%%S%r%%s:%{$fg[red]%}%b:%a%{$reset_color%
function set_prompt() { function set_prompt() {
if [[ -n "$AWS_ENVIRONMENT" ]]; then if [[ -n "$AWS_PROFILE" ]]; then
aws_prompt=" aws_prompt="
%S%B$AWS_ENVIRONMENT%b%s %S%B$AWS_PROFILE%b%s
" "
else else
aws_prompt="" aws_prompt=""
@@ -79,20 +79,21 @@ if [ -e /usr/bin/keychain ]; then
eval $(/usr/bin/keychain --eval -Q --quiet id_ed25519) eval $(/usr/bin/keychain --eval -Q --quiet id_ed25519)
fi fi
# ctrl-x opens up the command line in $EDITOR
autoload -U edit-command-line
zle -N edit-command-line
bindkey "^X" edit-command-line
# direnv setup # direnv setup
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)" whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
# secrets # secrets
if [ -r $HOME/.env_secrets ]; then if [ -r "$HOME/.env_secrets" ]; then
export $(xargs < "$HOME/.env_secrets") set -a
source "$HOME/.env_secrets"
set +a
fi fi
# for env in $HOME/.config/*/.env; do
# if [ -r "$env" ]; then
# export $(xargs < "$env")
# fi
# done
# command line completion # command line completion
autoload -U +X bashcompinit && bashcompinit autoload -U +X bashcompinit && bashcompinit
autoload -Uz compinit && compinit autoload -Uz compinit && compinit