{"id":21998198,"url":"https://github.com/markwengstr/win_dotfiles","last_synced_at":"2026-04-14T15:31:54.286Z","repository":{"id":112180009,"uuid":"238477433","full_name":"MarkWengSTR/win_dotfiles","owner":"MarkWengSTR","description":"dotfiles for wsl","archived":false,"fork":false,"pushed_at":"2022-07-17T14:36:56.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T11:05:14.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarkWengSTR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-05T15:03:24.000Z","updated_at":"2022-04-28T02:10:25.000Z","dependencies_parsed_at":"2023-05-11T01:00:16.607Z","dependency_job_id":null,"html_url":"https://github.com/MarkWengSTR/win_dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarkWengSTR/win_dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkWengSTR%2Fwin_dotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkWengSTR%2Fwin_dotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkWengSTR%2Fwin_dotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkWengSTR%2Fwin_dotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarkWengSTR","download_url":"https://codeload.github.com/MarkWengSTR/win_dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkWengSTR%2Fwin_dotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31803209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T22:20:34.651Z","updated_at":"2026-04-14T15:31:54.268Z","avatar_url":"https://github.com/MarkWengSTR.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux - ubuntu 環境設定\n## Initial bootstrap\n1. git clone https://github.com/MarkWengSTR/win_dotfiles.git  \u0026 cd win_dotfiles\n    - sudo sh boostrap.sh\n2. Zsh\n    - cp ~/win_dotfiles/zshrc ~/.zshrc\n3. Tmux\n    - cp ~/win_dotfiles/tmux.conf ~/.tmux.conf\n4. Neovim\n    - cd ~/.config/nvim \n    - cp ~/win_dotfiles/init.vim init.vim\n    - (如果沒有autoload資料夾的話先 mkdir autoload ) \u0026 cd autoload  \u0026\n```\ncurl -fLo plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n```\n\n# Window 設定\n## Cmder\n\n1. 先下載 cmder\n2.\n  - 到我的dotfile中找出 cmder 裡的 user_aliases.cmd, user_profile.ps1\n  - 把vimrc放進 ~ 目錄\n  - user_aliases.cmd, user_profile.ps1 放進 C:\\Users\\bskin\\cmder\\config\n  - 把ohmyposhv3-will.omp.json 複製到 ~/.ohmyposhv3-will.omp.json\n  - 開啟powershell\n\n## vim\n\n-  vimrc 裡 先安裝plug套件 ( 通常home目錄是C:\\Users\\bskin )\n```\ncurl -fLo\nC:\\Users\\bskin/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n```\n4. 開啟vim, 輸入 :PlugInstall\n\n## 灌choco\n\n- 以 \"系統管理員身分\" 進入 命令提示字元 , 輸入\n```\n@powershell -NoProfile -ExecutionPolicy unrestricted -Command \"iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1‘))\" \u0026\u0026 SET PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin\n```\n\n## neovim\n\n1. 以 \"系統管理員身分\" 進入 PowerShell , 輸入  \n```\nchoco install neovim -y\n```\n2. 在 C:\\Users\\bskin\\AppData\\Local\\ 下新增 nvim/ 資料夾\n3. nvim/ 裡面 新增 autoload/資料夾，放入plug.vim\n```\ncurl -fLo\nplug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n```\n4. 跳回 nvim/ ，放入 我的dotfile中裡面的init.vim\n\n5. 開啟 nvim 輸入 :PlugInstall\n\n## map caps lock to control\n\n  - Powershell in admin\n```\n$hexified = \"00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00\".Split(',') | % { \"0x$_\" };\n$kbLayout = 'HKLM:\\System\\CurrentControlSet\\Control\\Keyboard Layout';\nNew-ItemProperty -Path $kbLayout -Name \"Scancode Map\" -PropertyType Binary -Value ([byte[]]$hexified);\n```\n  - 重開機\n\n# SSH with Github\n- `ssh-keygen -t ed25519 -C \"bskin0330@gmail.com\"`\n- `nvim .ssh/id_ed25519.pub` 複製至github內\n- `ssh -T git@github.com` 測試看是否有連上\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwengstr%2Fwin_dotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkwengstr%2Fwin_dotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwengstr%2Fwin_dotfiles/lists"}