dotfiles/README.md
Akemi Izuko 6221f1f520
Add post_install script
Changes post installation mechanics. The longer description from the
readme is now under `./notes/futher_installation`. The new
`post_install.sh` checks if further installation is needed
2022-09-07 22:20:35 -06:00

62 lines
2.3 KiB
Markdown

Hit the ground flying with dotfiles for Unix-like systems including MacOS. These
contain all sorts of goodies for bash, vim, shell scripts, unix notes, and much
more!
# Installation
```bash
git clone --depth=1 'ssh://git@codeberg.org:22/akemi/dotfiles.git' dotfiles
cd dotfiles
bash ./install.sh --help
```
`install.sh status` tells you which files can be linked and which ones are
already on your system. Move the ones on your system out of the way before
continuing
```bash
bash install.sh install
bash install_packages.sh install
```
If you're running ArchLinux or EndeavourOS, `post_install.sh` will help guide
you through additional installation steps you can take. See
`./notes/futher_installation/` for a description of these steps
## Support
Official support is for the latest version of bash and EndeavourOS only. The
MacOS dotfiles were working on Catalina (10.15) and likely mostly work on newer
versions as well
As of writing, EndeavourOS is on Linux **5.19.6** and bash is version **5.1.16**
For Linux, these dotfiles setup [sway](https://github.com/swaywm/sway) on
[wayland](https://wayland.freedesktop.org/), a completely different compositor
from xorg. Migration may be tricky
# Keybinding
Generally keybindings follow this scheme for `skhd`/`xremap`, bash, and vim's
insert mode. They roughly resemble Emac's default. Outliers are bolded. These
are written assuming Ctrl is mapped to CapsLock
When possible selecting is preferred to actually deleting the text
| Type | Start of line | Back word | Back character | Forward character | Forward word | End of line |
| ---- | ------------- | --------- | -------------- | ----------------- | ------------ | ----------- |
| Movement | `^a` | **`^b`** | **`^j`** | `^f` | **`^w`** | `^e` |
| Deletion | | **`^u`** | `^h` | `^d` | | `^k` |
Window managers are bound to the Super/Command/Logo key. This is the key
adjacent to the spacebar
# Light and Dark Mode
Alacritty, tmux, vim, vifm, vimiv are all synchronously colored through
`bin/colo.sh`. This script supports multiple color schemes and makes it easy to
add new ones.
In running instances of vim and vifm, use `:Light` or `:Dark` to update their
color scheme to match Alacritty. New instances are automatically updated