-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-sample.yaml
More file actions
83 lines (73 loc) · 3.15 KB
/
config-sample.yaml
File metadata and controls
83 lines (73 loc) · 3.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Rotz default configurations
dotfiles: ~/.dotfiles
variables:
shell:
# Set up editor preferences based on availability, fallback to "nvim vim nano vi" by default
## (string) Order to set $EDITOR env
EDITOR: nvim vim nano vi
## (string) Order to set $VISUAL env
VISUAL: cursor code zed nvim vim nano vi
git:
# Global git config (used as fallback for repos outside any account gitdir)
config:
user.name: "Your Name"
user.email: "your@email.com"
accounts:
- name: personal
gh_user: your-github-username
# All gitdirs that map to this account (creates one includeIf per entry)
gitdirs:
- ~/Code/Gullit/
- ~/code/oss/
# The gitconfig file for this account (created/updated by setup)
file: ~/Code/Gullit/.gitconfig
config:
user.name: "Your Name"
user.email: "your@personal.email"
# op: # Optional — only if using 1Password SSH
# account: my.1password.com
# vault: Personal
# item: GitHub SSH Key Personal
# field: public key
# output: ~/.ssh/op_personal_github.pub
- name: work
gh_user: your-work-github-username
gitdirs:
- ~/Code/cw/
file: ~/Code/cw/.gitconfig
config:
user.name: "Your Name"
user.email: "your@work.email"
# op:
# account: work.1password.com
# vault: Employee
# item: GitHub SSH Key Work
# field: public key
# output: ~/.ssh/op_work_github.pub
iterm:
## Sync strategy for iTerm2 preferences (local plist vs iCloud)
## Options:
## newest - use whichever is more recent (default)
## local - backup iCloud prefs and push local to iCloud
## icloud - prefer iCloud prefs if they exist
sync_strategy: newest
cursor:
# Default symlinks applied to all profiles (target: source, relative to tools/cursor/).
# {name} is replaced with the profile name at runtime.
# Set a key to false in a profile's userSettingsLinks to disable that specific link.
userSettingsLinks:
keybindings.json: shared/keybindings.json
settings.json: shared/settings.json
snippets: shared/snippets
profiles:
- name: Work
default: true # Uses native Cursor.app (~/Library/.../Cursor). Only one profile can be default.
badge_color: "#0066CC" # Badge color on the .app icon. Omit for a deterministic color derived from the name.
# display_name: Work # Override display name in .app bundle title. Defaults to name as-is.
# user_data_dir: ~/Library/Application Support/CursorWork # Override data dir. Defaults to Cursor{Name}.
- name: Personal
badge_color: "#CC6600"
# userSettingsLinks: # Per-profile override — merges with cursor.userSettingsLinks.
# settings.json: profiles/Personal/settings.json # use a profile-specific file instead of shared
# settings.json: false # false disables a specific link for this profile
# Add other variables as needed