Skip to content

MarioChvx/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 "example@email.com"

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