Skip to content

Instantly share code, notes, and snippets.

@czipperz
Created August 21, 2019 16:44
Show Gist options
  • Save czipperz/174660d14458af0862a2c59d26f7a2ec to your computer and use it in GitHub Desktop.
Save czipperz/174660d14458af0862a2c59d26f7a2ec to your computer and use it in GitHub Desktop.
Windows setup

Keyboard

Add Dvorak

Language Settings

English

Options

Add a keyboard

United States-Dvorak

Make dvorak the default

Remove qwerty and readd it

Remove control+shift switch keyboard layout hotkey

https://superuser.com/questions/109066/how-to-disable-ctrlshift-keyboard-layout-switch-for-the-same-input-language-i

Run this

rundll32 Shell32,Control_RunDLL input.dll,,{C07337D3-DB2C-4D0B-9A93-B722A6C106E2}

Advanced Key Settings

Change Key Sequences

Caps lock control

https://superuser.com/questions/949385/map-capslock-to-control-in-windows-10

Install environment editor

Rapid Environment Editor

Emacs

Installation

Download and unzip it to <HOME>/emacs

Set Environment Variables

HOME=<HOME>

EMACS_BIN=<HOME>/emacs/bin

Shortcuts

Server

Make ~/emacs/win/EmacsServer.bat:

cd %HOME%
%EMACS_BIN%\emacsclient -e "(kill-emacs)"
%EMACS_BIN%\emacs --daemon

Client

Make a shortcut to:

%EMACS_BIN%\emacsclientw.exe -c <INIT_FILE>

I’d recommend <INIT_FILE> being %HOME%\TODO.org.

Make sure to set the starting directory. I recommend %HOME%.

Bash

Install Git

Add %HOME%/bin to %PATH%

Aliases

~/bin/setsid

#!/bin/sh

start //B "$@"

Cmd

Add rc file

Setup rc file

rc.cmd:

@doskey g=git $*
@set PATH=%PATH%;C:\Program Files\Git\usr\bin;C:\Users\t-chgre.REDMOND\bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment