Update README

This commit is contained in:
Nikos Papadakis 2023-10-28 14:43:25 +03:00
parent c046bffd5d
commit 7073491cc5
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02
3 changed files with 5 additions and 2087 deletions

View file

@ -2,25 +2,16 @@
- [Neovim Nightly](https://github.com/neovim/neovim)
- [Fish Shell](https://github.com/fish-shell/fish-shell)
- And more
See [packages.nix]() for a list of programs that I use, which `home-manager`
installs automatically.
- [Foot](https://nixos.wiki/wiki/Flakes)
## Usage
Either copy and paste anything you like, or use *Nix*
[home-manager](https://github.com/nix-community/home-manager) (recommended)
- Clone the repository (e.g into `~/.dotfiles`)
- `cd ~/.dotfiles`
- Install [Nix](https://nixos.org/download)
- Enable `flakes`:
- Using your editor, open the nix configuration (`/etc/nix/nix.conf`)
- Add the following line: `experimental-features = nix-command flakes`
- Edit `flakes.nix`, `home.nix` and `packages.nix` to your liking (add/remove
packages, configs, etc.)
- **Double check your nix config**, you'll probably want to edit them for yourself,
especially things like the git config
- Clone the repository (e.g into `~/.dotfiles`) and cd into it (`cd ~/.dotfiles`)
- Install [Nix](https://nixos.org/download) with [flakes enabled](https://nixos.wiki/wiki/Flakes)
- Edit `flakes.nix`, `home.nix` to your liking (add/remove packages, configs, etc.)
- **Double check your nix config**, you'll probably want to edit them for yourself, especially things like the git config
- On your first run: `nix run home-manager/master -- switch --flake ~/.dotfiles`
- On subsequent runs: `home-manager switch --flake ~/.dotfiles`

File diff suppressed because it is too large Load diff

View file

@ -1,54 +0,0 @@
set -g prefix C-a
bind C-a send-prefix
unbind C-b
# General ----------------------------------------------
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",alacritty:RGB"
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
# set -g mouse on
set -g mode-keys vi
set -g history-limit 10000
# Display ----------------------------------------------
set -g monitor-activity on
set -g visual-activity off
# Binds ------------------------------------------------
bind r source-file ~/.config/tmux/tmux.conf \; display '~/.config/tmux/tmux.conf sourced'
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
bind-key -T copy-mode-vi 'Space' send -X halfpage-down
bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Status Bar -------------------------------------------
set -g status-style bg=default
set -g message-style fg=yellow,bg=default
set -g status-left-length 50
set -g status-left '#[fg=#000000,bg=#dddddd,bold] #S #[fg=default,bg=default,nobold]'
set -g status-right ''
set -g window-status-format '#[fg=default,bg=default] #I:#W #[fg=default,bg=default]'
set -g window-status-current-format '#[fg=#ffe100,bg=default,bold]  #I:#W #[default]'