Skip to content

slavamak/dotfiles

Repository files navigation

Setup

Configurations for MacOS/Ubuntu

Requirements

Make sure to these package is installed to your system:

  • git
  • make

Contents

Includes configurations for:

How to use

Run these commands in your terminal:

git clone https://github.com/slavamak/dotfiles ~/.dotfiles
cd ~/.dotfiles
make

Note

For simple dotfiles management, I use GNU Stow. Normally stow will abort the operation if a file already exists in the target directory, but with --adopt option stow will take the file and replace it inside your .dotfiles directory. If that's not what you need, you can do git restore ., so git will undo the changes and return to the original files but the symlinks will stay there.

Neovim

Previously, I was using an pre-built configuration that had a lot of ui features and plugins. But I decided to drop it and make my own custom config without unnecessary plugins, only what I use most often. Config is based on lazy.nvim.

iTerm, WezTerm

Settings and colors theme.

Tmux

Base configuration with Tmux Plugin Manager.

Plugins

Zsh

Base configuration with zap-zsh plugin manager.

Plugins

Karabiner

A few simple key mappings:

  • Swap CAPSLOCK with LEFT CONTROL
  • Double-tap LEFT CONTROL to CAPSLOCK toggle
  • CAPSLOCK + SPACEBAR to CONTROL + OPTION + SPACEBAR (MacOS input source toggle)
  • LEFT CONTROL + hjkl to Arrow Keys for browser apps