项目作者: verhovsky

项目描述 :
Programmer Dvorak layout, Doom Emacs and VS Code, Ubuntu and macOS
高级语言: Vim script
项目地址: git://github.com/verhovsky/dotfiles.git
创建时间: 2019-05-04T11:20:07Z
项目社区:https://github.com/verhovsky/dotfiles

开源协议:

下载


Install on Debian (or Ubuntu)

  1. wget -q -O - https://raw.githubusercontent.com/verhovsky/dotfiles/master/install/debian.sh | bash

Install on other platforms

  1. ssh-keygen -o -a 100 -t ed25519 -C ''
  2. open https://github.com/settings/ssh/new # add the key
  3. git clone git@github.com:verhovsky/dotfiles.git ~/dotfiles

Then the next steps depend on the operating system you’re installing on:

macOS

  1. cat ~/dotfiles/symlink.sh
  2. ~/dotfiles/symlink.sh

Then manually finish the installation:

  1. brew install --cask programmer-dvorak

NixOS

Symlink configuration.nix to /etc/nixos/configuration.nix:

  1. sudo chown -R $USER:users /etc/nixos
  2. rm /etc/nixos/configuration.nix
  3. ln -s ~/dotfiles/configuration.nix /etc/nixos/configuration.nix
  4. sudo nixos-rebuild switch

then

  1. cat ~/dotfiles/symlink.sh
  2. ~/dotfiles/symlink.sh

Then (in a new terminal window) manually finish the installation:

  • install doom emacs
    • git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
    • doom install
  • xrandr --output DP-0 --mode 2560x1440 -r 143.86 to enable 144Hz refresh rate on monitor. You have to
    specify the resolution (the --mode) in order for it to work.
  • configure Chrome fonts
  • configure the keyboard again in the Desktop Environment (for KDE at least)

Bare minimum

  1. vim ~/.bashrc

and paste these lines:

  1. alias e="ls -t --color=auto --group-directories-first"
  2. alias ee="ls -talhv --group-directories-first"
  3. alias u="cd"
  4. alias uu="cd ../"
  5. alias uuu="cd ../.."
  6. alias uuuu="cd ../../.."
  7. alias uuuuu="cd ../../../.."