Skip to content

berkay-yalin/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

trying to figure out how VimScript works

Software

Software Source Code
a-Shell https://github.com/holzschu/a-shell
AutoHotKey https://github.com/AutoHotkey/AutoHotkey
Bash https://git.savannah.gnu.org/cgit/bash.git
Git https://git.kernel.org/pub/scm/git/git.git
Neovim https://github.com/neovim/neovim
PowerShell https://github.com/PowerShell/PowerShell
tmux https://github.com/tmux/tmux
Vifm https://github.com/vifm/vifm
Visual Studio Code https://github.com/microsoft/vscode
WezTerm https://github.com/wez/wezterm

Neovim Plugins

Set up Windows 11

  • personal notes on automating the installation and configuration of certain software on Windows 11

1 install PowerShell

winget install -e --id Microsoft.Powershell

2 install and configure Git

winget install -e --id Microsoft.Powershell
winget install -e --id Git.Git
git config --global user.email "[email protected]"
git config --global user.name "berkay-yalin"
winget install -e --id GitHub.cli
gh auth

3.1 clone dotfiles repository

mkdir ~/GitHub/
git clone https://github.com/berkay-yalin/dotfiles.git C:\Users\berka\GitHub\dotfiles

3.2 replace Windows Terminal with WezTerm

winget install wez.wezterm
copy-item -path ~\GitHub\dotfiles\wezterm\.wezterm.lua -destination ~\.wezterm.lua
winget uninstall -e --id Microsoft.WindowsTerminal

3.3 install and configure Neovim

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

3.4 install and configure Visual Studio Code

winget install -e --id Microsoft.VisualStudioCode
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

3.5 install and configure JPEGView

winget install -e --id sylikc.JPEGView
copy-item -path ~\GitHub\dotfiles\JPEGView\JPEGView.ini -destination ~\AppData\Roaming\JPEGView\JPEGView.ini