magopian / dotfiles-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

This repo contains my configuration files. Each directory corresponds to a program. The content of each directory directly maps the hierarchy of files from the home directory.

Some programs require submodules, so make sure to clone with submodules:

git clone --recursive git@github.com:mpizenberg/dotfiles.git

Some configurations require the use of powerline fonts / nerdfonts. You can use the already patched nerdfont Ubuntu Mono. Make sure to use it in your terminal preferences.

To install config files, I use GNU stow. To install vim config files for example:

stow -t ~ vim --no-folding

fish

I'm using fisher to manage fish plugins.

stow -t ~ fish --no-folding
fisher self-update
fisher

nvim / vim

I'm using Plug to manage neovim / vim plugins.

stow -t ~ vim --no-folding
vim
:PlugUpgrade
:PlugInstall

tmux

I'm using tpm to manage tmux plugins.

cd tmux/.tmux/plugins/tpm
git pull origin master
cd ../../../..
stow -t ~ tmux --no-folding
tmux
prefix + I

Windows WSL

For wsl, small changes are necessary since there is no GUI. For git, we can install Meld on windows, add it to the windows PATH and modify the merge tool section as follows:

[merge]
tool = meld
[mergetool "meld"]
path = Meld.exe

For wezterm, I start directly zellij inside wsl with:

return {
  default_prog = {"wsl", "zellij", "attach", "--create"},
  ...
}

About


Languages

Language:Vim Script 96.8%Language:Shell 1.6%Language:Nix 1.4%Language:Lua 0.2%