Compare commits
3 commits
0d7ca8ff90
...
ad0a210fca
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ad0a210fca | ||
![]() |
67cc604810 | ||
![]() |
4c0bda5534 |
7 changed files with 264 additions and 5 deletions
|
@ -54,10 +54,10 @@ set nobackup nowritebackup noswapfile
|
|||
|
||||
# Statusline
|
||||
set laststatus=2
|
||||
set statusline=—[%n\:\ %t]—%=—%y—[%l/%L,\ %c]—%m%r—
|
||||
set fillchars=stl:—,eob:\
|
||||
set fillchars+=stlnc:—
|
||||
set fillchars+=vert:\|
|
||||
set statusline=─[%n\:\ %t]─%=─%y─[%l/%L,\ %c]─%m%r─
|
||||
set fillchars=stl:─,eob:\
|
||||
set fillchars+=stlnc:─
|
||||
set fillchars+=vert:\│
|
||||
|
||||
# Hide intro message
|
||||
set shortmess=I
|
||||
|
@ -417,7 +417,7 @@ nnoremap za :ALEFirst<cr>
|
|||
nnoremap zn :ALENextWrap<cr>
|
||||
nnoremap zN :ALEPreviousWrap<cr>
|
||||
|
||||
nnoremap <leader>d :ALEGoToDefinition<cr>
|
||||
nnoremap <leader>dd :ALEGoToDefinition<cr>
|
||||
nnoremap <leader>de :ALEGoToDefinition<cr>
|
||||
nnoremap <leader>dx :ALEGoToDefinition -split<cr>
|
||||
nnoremap <leader>dv :ALEGoToDefinition -vsplit<cr>
|
||||
|
|
1
zed/.gitignore
vendored
Normal file
1
zed/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
zed.xdg.symlink/.tmp*
|
6
zed/extensions.list
Normal file
6
zed/extensions.list
Normal file
|
@ -0,0 +1,6 @@
|
|||
- Dockerfile
|
||||
- SQL
|
||||
- GitHub Theme
|
||||
- Make
|
||||
- TOML
|
||||
- GraphQL
|
File diff suppressed because one or more lines are too long
67
zed/zed.xdg.symlink/keymap.json
Normal file
67
zed/zed.xdg.symlink/keymap.json
Normal file
|
@ -0,0 +1,67 @@
|
|||
[
|
||||
{
|
||||
"bindings": {
|
||||
"cmd-o": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "ProjectPanel && not_editing",
|
||||
"bindings": {
|
||||
"shift-cmd-n": "project_panel::NewDirectory",
|
||||
"cmd-n": "project_panel::NewFile",
|
||||
"enter": "project_panel::Rename",
|
||||
"cmd-o": "project_panel::OpenPermanent"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Pane",
|
||||
"bindings": {
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Right"],
|
||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Down"],
|
||||
"cmd-shift-g": "pane::RevealInProjectPanel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor",
|
||||
"bindings": {
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
|
||||
"cmd-enter": "repl::Run"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == normal",
|
||||
"bindings": {
|
||||
"shift-d": ["workspace::SendKeystrokes", "d d"],
|
||||
"-": ["workspace::SendKeystrokes", "d d p"],
|
||||
"_": ["workspace::SendKeystrokes", "d d k P"],
|
||||
"escape": "repl::ClearOutputs",
|
||||
"backspace": "buffer_search::Dismiss"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "VimControl && !menu",
|
||||
"bindings": {
|
||||
";": "command_palette::Toggle",
|
||||
":": "vim::RepeatFind",
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == insert",
|
||||
"bindings": {
|
||||
"j k": "vim::NormalBefore",
|
||||
"left": null,
|
||||
"down": null,
|
||||
"up": null,
|
||||
"right": null
|
||||
}
|
||||
}
|
||||
]
|
97
zed/zed.xdg.symlink/settings.json
Normal file
97
zed/zed.xdg.symlink/settings.json
Normal file
|
@ -0,0 +1,97 @@
|
|||
// 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 the `open default settings` command
|
||||
// from the command palette or from `Zed` application menu.
|
||||
{
|
||||
"assistant": {
|
||||
"default_model": {
|
||||
"provider": "zed.dev",
|
||||
"model": "claude-3-5-sonnet-latest"
|
||||
},
|
||||
"version": "2"
|
||||
},
|
||||
"theme": {
|
||||
"dark": "mpwb dark",
|
||||
"light": "mpwb light"
|
||||
},
|
||||
"scrollbar": {
|
||||
"cursors": false,
|
||||
"git_diff": false,
|
||||
"search_results": false,
|
||||
"selected_symbol": false
|
||||
},
|
||||
"git": {
|
||||
"git_gutter": "hide",
|
||||
"inline_blame": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"cursor_blink": false,
|
||||
"vim_mode": true,
|
||||
"vim": {
|
||||
"use_system_clipboard": "never"
|
||||
},
|
||||
"relative_line_numbers": true,
|
||||
"buffer_font_size": 12,
|
||||
"buffer_font_family": "Input",
|
||||
"buffer_font_features": {
|
||||
"calt": false,
|
||||
"liga": false
|
||||
},
|
||||
"ui_font_family": "SF Pro",
|
||||
"ui_font_size": 15,
|
||||
"project_panel": {
|
||||
"dock": "right"
|
||||
},
|
||||
"languages": {
|
||||
"JavaScript": {
|
||||
"tab_size": 4,
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
},
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"TypeScript": {},
|
||||
"TSX": {},
|
||||
"Markdown": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"JSON": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"JSONC": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"Go": {
|
||||
"hard_tabs": true,
|
||||
"tab_size": 8
|
||||
},
|
||||
"Make": {
|
||||
"hard_tabs": true,
|
||||
"tab_size": 8
|
||||
}
|
||||
},
|
||||
"auto_install_extensions": {
|
||||
"dockerfile": true,
|
||||
"git-firefly": true,
|
||||
"graphql": true,
|
||||
"html": true,
|
||||
"make": true,
|
||||
"proto": true,
|
||||
"ruby": true,
|
||||
"sql": true,
|
||||
"terraform": true,
|
||||
"toml": true,
|
||||
"erlang": true,
|
||||
"elixir": true
|
||||
}
|
||||
}
|
87
zed/zed.xdg.symlink/themes/mpwb.json
Normal file
87
zed/zed.xdg.symlink/themes/mpwb.json
Normal file
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
|
||||
"name": "mpwb",
|
||||
"author": "Max Bucknell",
|
||||
"themes": [
|
||||
{
|
||||
"name": "mpwb dark",
|
||||
"appearance": "dark",
|
||||
"style": {
|
||||
"created": "#20a951ff",
|
||||
"deleted": "#ad1c22ff",
|
||||
"modified": "#2059afff",
|
||||
"editor.subheader.background": "#ab1717ff",
|
||||
"panel.background": "#2b2a29ff",
|
||||
"hint": "#721cafff",
|
||||
"editor.foreground": "#e7e3e9ff",
|
||||
"editor.background": "#201c22ff",
|
||||
"editor.gutter.background": "#201c22ff",
|
||||
"editor.line_number": "#721cafff",
|
||||
"editor.active_line.background": "#3b3440ff",
|
||||
"border": "#3b3440ff",
|
||||
"editor.invisible": "#3b3440ff",
|
||||
"title_bar.background": "#393837ff",
|
||||
"tab.active_background": "#393837ff",
|
||||
"tab_bar.background": "#1f1f1eff",
|
||||
"tab.inactive_background": "#1f1f1eff",
|
||||
"status_bar.background": "#393837ff",
|
||||
"terminal.background": "#201c22ff",
|
||||
"terminal.foreground": "e7e3e9ff",
|
||||
"terminal.ansi.black": "#e7e3e9ff",
|
||||
"terminal.ansi.red": "#ad1c22ff",
|
||||
"terminal.ansi.green": "#20a951ff",
|
||||
"terminal.ansi.cyan": "#20a9aeff",
|
||||
"terminal.ansi.blue": "#2059afff",
|
||||
"terminal.ansi.magenta": "#d86ddbff",
|
||||
"terminal.ansi.yellow": "#ad9622ff",
|
||||
"terminal.ansi.white": "#201c22ff",
|
||||
"terminal.ansi.bright_black": "#e7e3e9ff",
|
||||
"terminal.ansi.bright_red": "#ad1c22ff",
|
||||
"terminal.ansi.bright_green": "#20a951ff",
|
||||
"terminal.ansi.bright_cyan": "#20a9aeff",
|
||||
"terminal.ansi.bright_blue": "#2059afff",
|
||||
"terminal.ansi.bright_magenta": "#d86ddbff",
|
||||
"terminal.ansi.bright_yellow": "#ad9622ff",
|
||||
"terminal.ansi.bright_white": "#201c22ff",
|
||||
"players": [
|
||||
{
|
||||
"background": "#af5f27ff",
|
||||
"cursor": "#af5f27ff",
|
||||
"selection": "#af5f273d"
|
||||
},
|
||||
{
|
||||
"background": "#d86ddbff",
|
||||
"cursor": "#d86dbbff",
|
||||
"selection": "#d86dbb3d"
|
||||
}
|
||||
],
|
||||
"syntax": {
|
||||
"comment.doc": {
|
||||
"color": "#20a951ff"
|
||||
},
|
||||
"comment": {
|
||||
"color": "#20a951ff"
|
||||
},
|
||||
"string": {
|
||||
"color": "#29a9ae"
|
||||
},
|
||||
"number": {
|
||||
"color": "#29a9ae"
|
||||
},
|
||||
"boolean": {
|
||||
"color": "#29a9ae"
|
||||
}
|
||||
},
|
||||
"editor.active_line_number": "201c22ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "mpwb light",
|
||||
"appearance": "light",
|
||||
"style": {
|
||||
"editor.background": "#e7e3e9ff",
|
||||
"editor.foreground": "#201c22ff"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue