mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
added kitty config, updated zsh, vscode
This commit is contained in:
parent
17c0bd6843
commit
bf9e797a64
4 changed files with 102 additions and 76 deletions
|
|
@ -5,8 +5,8 @@ window:
|
||||||
title: Alacritty
|
title: Alacritty
|
||||||
dynamic_padding: false
|
dynamic_padding: false
|
||||||
padding:
|
padding:
|
||||||
x: 6
|
x: 0
|
||||||
y: 6
|
y: 2
|
||||||
|
|
||||||
class:
|
class:
|
||||||
instance: Alacritty
|
instance: Alacritty
|
||||||
|
|
@ -51,29 +51,29 @@ font:
|
||||||
schemes:
|
schemes:
|
||||||
vscode: &vscode
|
vscode: &vscode
|
||||||
primary:
|
primary:
|
||||||
background: '#1e1e1e'
|
background: "#1e1e1e"
|
||||||
foreground: '#d4d4d4'
|
foreground: "#d4d4d4"
|
||||||
cursor:
|
cursor:
|
||||||
text: CellBackground
|
text: CellBackground
|
||||||
cursor: '#d4d4d4'
|
cursor: "#d4d4d4"
|
||||||
normal:
|
normal:
|
||||||
black: '#1e1e1e'
|
black: "#1e1e1e"
|
||||||
red: '#f44747'
|
red: "#f44747"
|
||||||
green: '#608b4e'
|
green: "#608b4e"
|
||||||
yellow: '#dcdcaa'
|
yellow: "#dcdcaa"
|
||||||
blue: '#569cd6'
|
blue: "#569cd6"
|
||||||
magenta: '#c678dd'
|
magenta: "#c678dd"
|
||||||
cyan: '#56b6c2'
|
cyan: "#56b6c2"
|
||||||
white: '#d4d4d4'
|
white: "#d4d4d4"
|
||||||
bright:
|
bright:
|
||||||
black: '#545454'
|
black: "#545454"
|
||||||
red: '#f44747'
|
red: "#f44747"
|
||||||
green: '#608b4e'
|
green: "#608b4e"
|
||||||
yellow: '#dcdcaa'
|
yellow: "#dcdcaa"
|
||||||
blue: '#569cd6'
|
blue: "#569cd6"
|
||||||
magenta: '#c678dd'
|
magenta: "#c678dd"
|
||||||
cyan: '#56b6c2'
|
cyan: "#56b6c2"
|
||||||
white: '#d4d4d4'
|
white: "#d4d4d4"
|
||||||
|
|
||||||
colors: *vscode
|
colors: *vscode
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,41 +1,57 @@
|
||||||
font_family JetBrains Mono
|
linux_display_server x11
|
||||||
disable_ligatures always
|
sync_to_monitor yes
|
||||||
|
|
||||||
|
## Font
|
||||||
|
font_size 12.0
|
||||||
|
font_family Jetbrains Mono
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
disable_ligatures never
|
||||||
|
|
||||||
|
## Bell
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
open_url_modifiers ctrl
|
visual_bell_duration 0
|
||||||
|
|
||||||
|
## Cursor
|
||||||
|
cursor_beam_thickness 0
|
||||||
|
cursor_shape underline
|
||||||
|
cursor_underline_thickness 1.3
|
||||||
cursor_blink_interval 0
|
cursor_blink_interval 0
|
||||||
tab_bar_edge bottom
|
|
||||||
tab_bar_style separator
|
|
||||||
tab_separator ""
|
|
||||||
tab_title_template "{index}: {title}"
|
|
||||||
|
|
||||||
map ctrl+equal change_font_size all +2
|
## Mouse
|
||||||
map ctrl+minus change_font_size all -2
|
mouse_hide_wait 3.0
|
||||||
map ctrl+backspace change_font_size all 0
|
focus_follows_mouse no
|
||||||
map ctrl+alt+r load_config_file
|
|
||||||
map ctrl+1 goto_tab 1
|
|
||||||
map ctrl+2 goto_tab 2
|
|
||||||
map ctrl+3 goto_tab 3
|
|
||||||
map ctrl+4 goto_tab 4
|
|
||||||
|
|
||||||
color0 #232323
|
## Mappings
|
||||||
color1 #ff000f
|
map ctrl+shift+1 goto_tab 1
|
||||||
color2 #8ce10b
|
map ctrl+shift+2 goto_tab 2
|
||||||
color3 #ffb900
|
map ctrl+shift+3 goto_tab 3
|
||||||
color4 #008df8
|
map ctrl+shift+4 goto_tab 4
|
||||||
color5 #6d43a6
|
map ctrl+shift+5 goto_tab 5
|
||||||
color6 #00d8eb
|
|
||||||
color7 #ffffff
|
## Colors
|
||||||
color8 #444444
|
background #1E1E29
|
||||||
color9 #ff2740
|
# background #1e1e1e
|
||||||
color10 #abe15b
|
|
||||||
color11 #ffd242
|
|
||||||
color12 #0092ff
|
foreground #d4d4d4
|
||||||
color13 #9a5feb
|
selection_background #d7ba7d
|
||||||
color14 #67fff0
|
selection_foreground #1e1e1e
|
||||||
color15 #ffffff
|
url_color #0087BD
|
||||||
# background #0e1019
|
color0 #1e1e1e
|
||||||
background #1e1e1e
|
color8 #808080
|
||||||
selection_foreground #0e1019
|
color1 #f44747
|
||||||
cursor #ff0018
|
color9 #f44747
|
||||||
foreground #fffaf4
|
color2 #608b4e
|
||||||
selection_background #fffaf4
|
color10 #608b4e
|
||||||
|
color3 #dcdcaa
|
||||||
|
color11 #dcdcaa
|
||||||
|
color4 #569cd6
|
||||||
|
color12 #569cd6
|
||||||
|
color5 #c678dd
|
||||||
|
color13 #c678dd
|
||||||
|
color6 #56b6c2
|
||||||
|
color14 #56b6c2
|
||||||
|
color7 #d4d4d4
|
||||||
|
color15 #d4d4d4
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"workbench.colorTheme": "Default Dark+",
|
"workbench.colorTheme": "Default Dark+",
|
||||||
"workbench.iconTheme": "material-icon-theme",
|
"workbench.iconTheme": "material-icon-theme",
|
||||||
"workbench.sideBar.location": "left",
|
"workbench.sideBar.location": "right",
|
||||||
"workbench.startupEditor": "none",
|
"workbench.startupEditor": "none",
|
||||||
"workbench.activityBar.visible": false,
|
"workbench.activityBar.visible": false,
|
||||||
"window.menuBarVisibility": "toggle",
|
"window.menuBarVisibility": "toggle",
|
||||||
|
|
@ -11,7 +11,8 @@
|
||||||
"terminal.integrated.fontSize": 15,
|
"terminal.integrated.fontSize": 15,
|
||||||
// Editor
|
// Editor
|
||||||
"editor.fontFamily": "'Jetbrains Mono'",
|
"editor.fontFamily": "'Jetbrains Mono'",
|
||||||
"editor.cursorSmoothCaretAnimation": true,
|
"editor.cursorSmoothCaretAnimation": false,
|
||||||
|
"editor.cursorBlinking": "expand",
|
||||||
"editor.smoothScrolling": true,
|
"editor.smoothScrolling": true,
|
||||||
"editor.inlineSuggest.enabled": true,
|
"editor.inlineSuggest.enabled": true,
|
||||||
"editor.hover.enabled": true,
|
"editor.hover.enabled": true,
|
||||||
|
|
@ -28,7 +29,11 @@
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/node_modules": true,
|
"**/node_modules": true,
|
||||||
"**/env": true
|
"**/env": true,
|
||||||
|
"**/.classpath": true,
|
||||||
|
"**/.project": true,
|
||||||
|
"**/.settings": true,
|
||||||
|
"**/.factorypath": true
|
||||||
},
|
},
|
||||||
// Git
|
// Git
|
||||||
"git.autofetch": true,
|
"git.autofetch": true,
|
||||||
|
|
@ -40,7 +45,7 @@
|
||||||
"tabnine.experimentalAutoImports": true,
|
"tabnine.experimentalAutoImports": true,
|
||||||
// Languages
|
// Languages
|
||||||
"go.lintOnSave": "package",
|
"go.lintOnSave": "package",
|
||||||
"go.lintTool": "golangci-lint",
|
// "go.lintTool": "golangci-lint",
|
||||||
"go.formatTool": "gofumpt",
|
"go.formatTool": "gofumpt",
|
||||||
"python.formatting.provider": "black",
|
"python.formatting.provider": "black",
|
||||||
"python.analysis.autoImportCompletions": true,
|
"python.analysis.autoImportCompletions": true,
|
||||||
|
|
@ -61,7 +66,10 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.tabSize": 2
|
"editor.tabSize": 2
|
||||||
},
|
},
|
||||||
"files.associations": {
|
"vim.hlsearch": true,
|
||||||
"justfile": "makefile"
|
"vim.useSystemClipboard": true,
|
||||||
}
|
"workbench.editorAssociations": {
|
||||||
|
"*.mp4": "default"
|
||||||
|
},
|
||||||
|
"liveServer.settings.donotVerifyTags": true
|
||||||
}
|
}
|
||||||
8
zshrc
8
zshrc
|
|
@ -4,10 +4,10 @@ export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yar
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
## Oh my zsh
|
## Oh my zsh
|
||||||
plugins=(git dotenv npm yarn extract)
|
plugins=(git dotenv yarn extract)
|
||||||
ZSH_THEME="simple"
|
ZSH_THEME="simple"
|
||||||
DISABLE_AUTO_TITLE="true"
|
DISABLE_AUTO_TITLE="true"
|
||||||
source "$HOME/.oh-my-zsh/oh-my-zsh.sh"
|
source $HOME/.oh-my-zsh/oh-my-zsh.sh
|
||||||
|
|
||||||
## Tools
|
## Tools
|
||||||
eval $(fnm env)
|
eval $(fnm env)
|
||||||
|
|
@ -17,8 +17,10 @@ eval "$(zoxide init zsh)"
|
||||||
alias cls="clear" cp="cp -r" mkdir="mkdir -p"
|
alias cls="clear" cp="cp -r" mkdir="mkdir -p"
|
||||||
alias gor="go run" gob="go build" gog="go get"
|
alias gor="go run" gob="go build" gog="go get"
|
||||||
alias ...="cd ../.." .3="cd ../../.."
|
alias ...="cd ../.." .3="cd ../../.."
|
||||||
alias v="nvim" vim="v" vi="vim" asdfi=". /opt/asdf-vm/asdf.sh"
|
alias v="nvim" vim="v" vi="vim"
|
||||||
|
alias asdfi=". /opt/asdf-vm/asdf.sh" sdki=". $HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
|
|
||||||
if [[ -f "/bin/exa" ]]; then
|
if [[ -f "/bin/exa" ]]; then
|
||||||
alias ls="exa -l" ll="ls" la="ls -a"
|
alias ls="exa -l" ll="ls" la="ls -a"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue