Skip to content

Commit

Permalink
packages and zed
Browse files Browse the repository at this point in the history
  • Loading branch information
lingrino committed Sep 1, 2024
1 parent bdd7f56 commit 42f2d5a
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 4 deletions.
6 changes: 6 additions & 0 deletions home/.chezmoiignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ go/*
projects/*

# tools
.aws/cli/cache
.aws/credentials
.Brewfile.lock.json
.bundle
Expand All @@ -39,6 +40,9 @@ projects/*
.config/gh/hosts.yml
.config/iterm2/
.config/op
.config/zed/*
!.config/zed/keymap.json
!.config/zed/settings.json
.docker/*
!.docker/config.json
.ecr/log/
Expand Down Expand Up @@ -70,6 +74,8 @@ projects/*
dash.sqlite3
.gem
.gemrc
jig.db
.mutagen
.netrc
.nvm
.pnpm-state
Expand Down
35 changes: 35 additions & 0 deletions home/exact_private_dot_config/private_zed/private_keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
// To see the default key bindings run `zed: open default keymap`
// from the command palette.
[
{
"context": "Pane",
"bindings": {
"cmd-1": ["pane::ActivateItem", 0],
"cmd-2": ["pane::ActivateItem", 1],
"cmd-3": ["pane::ActivateItem", 2],
"cmd-4": ["pane::ActivateItem", 3],
"cmd-5": ["pane::ActivateItem", 4],
"cmd-6": ["pane::ActivateItem", 5],
"cmd-7": ["pane::ActivateItem", 6],
"cmd-8": ["pane::ActivateItem", 7],
"cmd-9": ["pane::ActivateItem", 8],
"ctrl-tab": "pane::ActivateNextItem",
"ctrl-shift-tab": "pane::ActivatePrevItem"
}
},
{
"context": "Workspace",
"bindings": {}
},
{
"context": "Editor",
"bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"]
}
}
]
21 changes: 21 additions & 0 deletions home/exact_private_dot_config/private_zed/private_settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette
{
"telemetry": {
"diagnostics": false,
"metrics": false
},
"ui_font_size": 16,
"buffer_font_size": 16,
"theme": {
"mode": "system",
"light": "One Light",
"dark": "One Dark"
}
}
7 changes: 5 additions & 2 deletions home/private_dot_Brewfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ brew 'procs'
brew 'python'
brew 'readline'
brew 'ripgrep'
brew 'rustup-init'
brew 'rustup'
brew 'scc'
brew 'sd'
brew 'shellcheck'
Expand All @@ -69,13 +69,15 @@ brew 'zsh'
cask '1password'
cask '1password-cli'
cask 'alfred'
cask 'arc'
cask 'aws-vault'
cask 'cleanshot'
cask 'copilot'
cask 'docker'
cask 'fantastical'
cask 'google-chrome'
cask 'iterm2-beta'
cask 'headlamp'
cask 'iterm2'
cask 'loom'
cask 'mimestream'
cask 'multitouch'
Expand All @@ -86,6 +88,7 @@ cask 'slack'
cask 'tableplus'
cask 'visual-studio-code'
cask 'vlc'
cask 'zed'
cask 'zoom'

mas 'Peek', id: 1554235898
Expand Down
4 changes: 2 additions & 2 deletions home/private_dot_sources.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ alias dust='dust -r'
################################
### editor ###
################################
export EDITOR='code'
export GIT_EDITOR='code --wait'
export EDITOR='zed'
export GIT_EDITOR='zed --wait'

e() {
"$EDITOR" "${1:-.}"
Expand Down

0 comments on commit 42f2d5a

Please sign in to comment.