My dotfiles in Linux
Help
SSH for Github
Create dir ~/.ssh
# create ssh keys
ssh-keygen
Paste the id_rsa.pub in Github
# open agent
eval $(ssh-agent -s)
# add private key to the ssh agent
ssh-add [private key]
Create symbolic links into ~/
- move dotfiles/ to .dotfiles/
mv dotfiles .dotfiles
- Exmple
ln -s .dotfiles/.vimrc .vimrc
ln -s .dotfiles/.tmux.conf .tmux.conf
Paru
Clone project
git clone https://aur.archlinux.org/paru
Go inside paru dir
# compile paru - syncdep and install
makepkg -si PKGBUILD
Config file: /etc/paru.conf
# uncomment
BottonUp
Add color to paru and pacman
Config file: /etc/pacman.conf
# uncomment
color
VIM with bundle and YouCompleteMe (deprecated)
- Install vim 8
- Install vundle
- Open vim and run :PluginInstall
- Install cmake, build-essential, python3-dev for YouCompleteMe
Go to .vim/bundle/YouCompleteMe
python3 install.py
NEOVIM with vim-plug and coc
cd ~/.config/nvim/init.vim
Install nodejs with asdf
Install Vim Plug
:PlugInstall
CoC Error in NEOVIM
[coc.nvim] Error on execute python script: request error nvim_command - Vim(pyxfile):E319: No "python3" provider found. Run ":checkhealth provider"
Try this
python3 -m pip install --user --upgrade pynvim
If you don't have pip
sudo pacman -S python-pip
Alacritty config
cd ~/.config/alacritty/alacritty.yml
asdf
sudo pacman -S asdf
In .zshrc
. /opt/asdf-vm/asdf.sh
Awesome config
cd ~/.config/awesome/rc.lua
Install picom - transparency
sudo pacman -S picom
Install nitrogen - wallpaper setter
sudo pacman -S nitrogen
From CopyCat
Rofi
Create ~/.config/rofi/config.rasi
ln -s ~/.dotfiles/config.rasi
From Eric Murphy
Ranger
Copy all config in ~/.config/ranger
ranger --copy-config=all
Install w3m for imamge viewer and mpv movie viewer inside ranger
sudo pacman -S w3m mpv
Command to copy the config in your home
ranger --copy-config=all
Link to my .conf
ln -s ~/.dotfiles/rifle.conf rifle.conf
ZSH with p10k
Install zsh
sudo pacman -S zsh zsh-completions
Change shell (when you install oh-my-zsh, auto change this)
chsh -s /bin/zsh
Install oh-my-zsh
Command
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Link to ~/.dotfiles/.zshrc
Install powerlevel
paru zsh-theme-powerlevel10k-git
# powerline-common awesome-terminal-fonts ttf-meslo-nerd-font-powerlevel10k
Ejecutar
echo 'source /usr/share/zsh-theme-powerlevel110k/powerlevel10k.zsh-theme' >>~/.zshrc
Instalador
pk10 configure
Highlighting and autosugestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
# ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions
# ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
In .zshrc
plugins=(
zsh-autosuggestions
zsh-syntax-highlighting
)
Qtile
ln -s ~/.dotfiles/config.py ~/.config/qtile/config.py