Migrate form yay to paru, updated config fir fish, vscode

This commit is contained in:
Smirnov Olexander 2022-04-21 14:34:00 +03:00
parent 7e4ee8d63a
commit 9602ffeafb
4 changed files with 46 additions and 8 deletions

View file

@ -14,7 +14,7 @@
## Install dependencys ## Install dependencys
```bash ```bash
sudo pacman -S git alacritty github-cli neovim tmux zsh ttf-jetbrains-mono sudo pacman -S git alacritty github-cli neovim tmux zsh ttf-jetbrains-mono
yay -S rcm visual-studio-code-bin paru -S rcm visual-studio-code-bin
``` ```
## And install deps ## And install deps

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
sudo pacman -Syyuu --noconfirm sudo pacman -Syyuu --noconfirm
yay -Sua --noconfirm paru -Sua --noconfirm
sudo pacman -Rs $(pacman -Qdtq) --noconfirm sudo pacman -Rs $(pacman -Qdtq) --noconfirm

View file

@ -8,12 +8,15 @@ set -g PATH $HOME/.local/bin $PATH
set -g PATH $HOME/.golang/bin $PATH set -g PATH $HOME/.golang/bin $PATH
set -g PATH $HOME/.yarn/bin $PATH set -g PATH $HOME/.yarn/bin $PATH
set -g PATH $HOME/.cargo/bin $PATH set -g PATH $HOME/.cargo/bin $PATH
set -g PATH $HOME/.deno/bin $PATH
set fish_greeting set fish_greeting
if status is-interactive if status is-interactive
starship init fish | source starship init fish | source
zoxide init fish | source zoxide init fish | source
fnm env | source fnm env | source
source ~/.asdf/asdf.fish
end end
function fish_user_key_bindings function fish_user_key_bindings

View file

@ -1,16 +1,23 @@
{ {
"update.showReleaseNotes": false, "update.showReleaseNotes": false,
"workbench.tips.enabled": false, "window.zoomLevel": 1,
"window.titleBarStyle": "custom", "window.titleBarStyle": "custom",
"window.menuBarVisibility": "compact",
"workbench.tips.enabled": false,
"workbench.startupEditor": "readme", "workbench.startupEditor": "readme",
"workbench.editor.untitled.hint": "hidden", "workbench.editor.untitled.hint": "hidden",
"workbench.activityBar.visible": false,
"extensions.ignoreRecommendations": true, "extensions.ignoreRecommendations": true,
"explorer.compactFolders": false, "explorer.compactFolders": false,
"explorer.confirmDragAndDrop": false, "explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false, "explorer.confirmDelete": false,
"terminal.integrated.fontSize": 15, "explorer.experimental.fileNesting.enabled": true,
"explorer.experimental.fileNesting.patterns": {
"package.json": "package-lock.json, yarn.lock, tsconfig*.json, yarn-error.log, .prettier*, .bsb.lock, bsconfig*.json"
},
"terminal.integrated.fontSize": 16,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"editor.fontFamily": "Jetbrains Mono, monospace", "editor.fontFamily": "Jetbrains Mono",
"editor.cursorBlinking": "expand", "editor.cursorBlinking": "expand",
"editor.fontSize": 16, "editor.fontSize": 16,
"editor.smoothScrolling": true, "editor.smoothScrolling": true,
@ -24,6 +31,34 @@
"git.confirmSync": false, "git.confirmSync": false,
"git.enableSmartCommit": true, "git.enableSmartCommit": true,
"go.formatTool": "gofumpt", "go.formatTool": "gofumpt",
"window.menuBarVisibility": "compact", "vim.hlsearch": true,
"workbench.activityBar.visible": false, "vim.useSystemClipboard": true,
"vim.surround": true,
"vim.leader": "<space>",
"vim.insertModeKeyBindings": [{ "before": ["j", "k"], "after": ["<esc>"] }],
"vim.normalModeKeyBindings": [
{ "before": ["K"], "commands": ["editor.action.showHover"] },
{ "before": ["leader", "h"], "commands": [":nohl"] },
{ "before": ["leader", "w"], "commands": ["workbench.action.files.save"] },
{
"before": ["leader", "c"],
"commands": ["workbench.action.closeActiveEditor"]
},
{ "before": ["leader", "e"], "commands": ["workbench.view.explorer"] },
{ "before": ["leader", "f"], "commands": ["workbench.action.quickOpen"] }
],
"[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.updateImportsOnFileMove.enabled": "always",
"terminal.integrated.commandsToSkipShell": [
"language-julia.interrupt"
],
"julia.symbolCacheDownload": true,
"julia.enableTelemetry": false
} }