Skip to content

My dofiles repo

Notifications You must be signed in to change notification settings

PeuTit/.dotfiles

Repository files navigation

Dotfiles repo

I'm now using stow to manage my config files. This is really helpful to manage each programm separately. You only need to create a folder for each program and store its related file in the same way they would be stored on your machine. Then you only need a single command to create all the symbolic links needed.

stow git
stow tmux
stow ...
stow -S folder_app1, folder_app2

Tips: You can add the flag -v to activate verbose mode and -n to preview the action without making any changes.

To unstow (unlink) you need to use the -D flag.

It's still possible to use the classic way of course. To simlink a file from this repo to the home directory of your user, use this command

ln -s ~/.dotfiles/.gitconfig ~/.gitconfig

Dependencies

(For Arch, you can check the AUR)

Neovim

Lazy

Just need to open Lazy and voila! Everything is working straight away.

Tmux

tpm

Clone the tmux plugin manager repository and run the install command: prefix + I.

Mac OS only:

The keybinding for switching input source is conflicting with my prefix (ctrl + space). Don't forget to go to keyboard settings and change/disable the shortcut.

Keyboard config

keyd

Install keyd on your system. (Available on the AUR)

AT Translated Set 2 Keyboard -> built-in MSI keyboard SONiX USB DEVICE -> Epomaker S68 Apple Inc. Apple Internal Keyboard / Trackpad

Verify the name of your input key with sudo keyd -m.

Install app with Brewfile

brew bundle --file ~/.dotfiles/Brewfile install

To get the list of all app installed with Homebrew, use the command:

brew bundle dump --no-lock --force --formula --cask --tap --mas

We specify the repository so that we only get the relevant package inside the Brewfile. This is to avoid having vscode extensions.

Mac OS specific

Use touch ID for sudo operations in terminal

stackexchange

For inside tmux, you'll need the pam-reattach package.

Open the file with this command sudo -e /etc/pam.d/sudo, and just copy the two following line

auth     optional     pam_reattach.so
auth     sufficient   pam_tid.so

About

My dofiles repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published