trying to figure out how VimScript works
- navarasu/onedark.nvim
- nvim-tree/nvim-web-devicons
- nvim-tree/nvim-tree.lua
- romgrk/barbar.nvim
- nvim-lualine/lualine.nvim
- junegunn/fzf
- numToStr/Comment.nvim
- norcalli/nvim-colorizer.lua
- nvim-treesitter/nvim-treesitter
- nvim-treesitter/nvim-treesitter-textobjects
- m-demare/hlargs.nvim
- neovim/nvim-lspconfig
- mfussenegger/nvim-lint
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
note: git should be installed through xcode
git config --global user.name "ostromia"
git config --global user.email "66202981+ostromia@users.noreply.github.com"
brew install gh
gh auth login
mkdir GitHub
git clone https://github.com/ostromia/dotfiles.git "$HOME/GitHub/dotfiles"
# zsh
cp -f "$HOME/GitHub/dotfiles/zsh/.zshrc" "$HOME/.zshrc"
# git
cp -f "$HOME/GitHub/dotfiles/git/.gitconfig/" "$HOME/.gitconfig"
# vscode
cp -f "$HOME/GitHub/dotfiles/vscode/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
cp -f "$HOME/GitHub/dotfiles/vscode/keybindings.json" "$HOME/Library/Application Support/Code/User/keybindings.json"
# nvim
rsync -av --delete "$HOME/GitHub/dotfiles/nvim" "$HOME/.config/"
# wezterm
cp -f "$HOME/GitHub/dotfiles/wezterm/.wezterm.lua" "$HOME/.wezterm.lua"
personal notes on automating the installation and configuration of certain software on Windows 11
probably shouldnt be doing this but it works :/
rm ~\Documents\ -Recurse -Force
cmd.exe /c "mklink /J C:\Users\berka\Documents C:\Users\berka\OneDrive\Documents"
rm ~\Music\ -Recurse -Force
cmd.exe /c "mklink /J C:\Users\berka\Music C:\Users\berka\OneDrive\Music"
rm ~\Pictures\ -Recurse -Force
cmd.exe /c "mklink /J C:\Users\berka\Pictures C:\Users\berka\OneDrive\Pictures"
rm ~\Videos\ -Recurse -Force
cmd.exe /c "mklink /J C:\Users\berka\Videos C:\Users\berka\OneDrive\Videos"
winget install -e --id Microsoft.Powershell
winget install -e --id Git.Git
git config --global user.email "66202981+berkay-yalin@users.noreply.github.com"
git config --global user.name "berkay-yalin"
winget install -e --id GitHub.cli
gh auth login
mkdir ~/GitHub/
git clone https://github.com/berkay-yalin/dotfiles.git C:\Users\berka\GitHub\dotfiles
winget install wez.wezterm
copy-item -path ~\GitHub\dotfiles\wezterm\.wezterm.lua -destination ~\.wezterm.lua
winget uninstall -e --id Microsoft.WindowsTerminal
winget install Neovim.Neovim
copy-item -path ~\GitHub\dotfiles\nvim -destination ~\AppData\Local\nvim -recurse
# install vim-plug
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force
# install plugins
nvim -c ":PlugInstall" -c ":qa"
# install open-with-nvim.exe
$url = "https://api.github.com/repos/berkay-yalin/open-with-nvim/releases/latest"
Invoke-WebRequest -Uri ((Invoke-RestMethod -Uri $url).assets[0].browser_download_url) -OutFile ~\AppData\Local\nvim-data\open-with-nvim.exe
winget install -e --id Microsoft.VisualStudioCode
# open vscode for a second to create the Code folder in AppData
code; Start-Sleep -Seconds 1; Stop-Process -Name "Code"
copy-item ~\GitHub\dotfiles\vscode\settings.json ~\AppData\Roaming\Code\User\settings.json
copy-item ~\GitHub\dotfiles\vscode\keybindings.json ~\AppData\Roaming\Code\User\keybindings.json
winget install -e --id sylikc.JPEGView
copy-item -path ~\GitHub\dotfiles\JPEGView\JPEGView.ini -destination ~\AppData\Roaming\JPEGView\JPEGView.ini
winget install -e --id Python.Python.3.11
winget install Schniz.fnm
fnm env --use-on-cd | Out-String | Invoke-Expression
fnm use --install-if-missing 22