Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 1.56 KB

README.md

File metadata and controls

80 lines (52 loc) · 1.56 KB

Dot Files

My configuration for nvim, vim, bash and neofetch. I got the idea of using a bare repo from Distro Tube and he gots the idea from Atlassian.

Set-up guide

SSH

Just a quick remember of how to set up ssh for each kind of system.

Linux/Windows

ssh-keygen -t ed25519 -C "[email protected]"

Bare repository

Alias to use $HOME as bare repository

alias dotgit='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'

Repository ignore the folder where you will clone it

echo ".cfg" >> .gitignore

Clone the repository

git clone --bare https://github.com/MarioChvx/dotfiles.git $HOME/.cfg

Define the alias in the shell scop

alias dotgit='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'

Get the dot files

Be careful this command will overwrite the current files that are in $HOME directory.

dotgit checkout -f

After clonig

packages

neovim vim clang g++ curl git wget go hugo htop

Install anaconda andnvm. After installing conda install mamaba and run to prevent auto start

conda config --set auto_activate_base false

nvim

Open nvim and run:

:PackerSync

vim

Just remember to install vim-plug to use the plugins.

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

And then on vim PlugInstall