git clone https://github.com/cferriter/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.sh
Existing dotfiles are backed up in ~/dotfiles_old/
.
Includes some repos used as inspiration.
- GitHub Dotfiles: GitHub guide to dotfiles.
- Dotfiles:
Copied
makesymlinks.sh
script from here. - Other Dotfiles: Copied automatic vim-plug download logic from here.
- Solarized Modern PuTTY Defaults: Copied PuTTY Windows registry (.reg) file here.
- Bash startup files: Explains the loading order of Bash files.
- Vim Awesome: Vim plugin directory.
- Why Vim?: Useful article with Vim usage examples.
- idiomatic-vimrc: .vimrc guidelines.
- System clipboard and Vim: Explains some of the intricacies behind using the system clipboard and Vim as well as SSHing.
- universal-ctags: A more capable ctags implementation.
- SSH keys and Pageant with Windows 10: Explains how to use Pageant for SSH key authentication when using SSH to access remote servers.
install.sh
can be tested using Docker. Build and run with:
docker build -t dotfiles-test . && docker run -it dotfiles-test
Follow steps from this page: https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
For the last step, "Deploying the public key", use the following command in PowerShell to deploy the public key onto a Linux machine:
type $env:USERPROFILE\.ssh\id_ed25519.pub | ssh user@hostname "cat >> .ssh/authorized_keys"
- Download from here.
- Press
Windows
, typexming
, right click andOpen file location
. - Create a shortcut for the
Xming
binary. - Open the Windows startup folder by pressing
Windows
+R
and typingshell:common startup
. - Place the
Xming
shortcut in the Windows startup folder.
- Download the latest
kanata_gui.exe
from kanata releases. - Move the binary to
C:\Users\cferrite\AppData\Roaming\kanata\kanata_gui.exe
. git clone
this repo to WSL/root
.- Run
create_win_symlinks.sh
to symlinkkanata.kbd
to the same location askanata_gui.exe
. - Open the Windows startup folder by pressing
Windows
+R
and typingshell:common startup
. - Create a shortcut for
kanata_gui.exe
in the Windows File Explorer and put it in the Windows startup folder.