Skip to content

Configuration files for Alacritty, Tmux, Neovim and Starship

License

Notifications You must be signed in to change notification settings

oxenit/olddotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adding pubkeys

curl https://github.com/oxenit.keys >> ~/.ssh/authorized_keys

Configuration files

The directory ~/.local/bin must exist.

Alacritty

  • Download and install JetBrainsMono Nerd Font (to get some nice icons) from here.

  • Create a config directory for Alacritty (if not stow will create a simlink for the directory, but then Alacritty has trouble to detect changes).

    mkdir ~/.config/alacritty
  • Install the config with stow

    stow --verbose alacritty

ZSH and Oh-My-Zsh

  1. Install Zsh and Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Install zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  1. Install zsh-synthax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  1. In ~/.zshrc add the following plugins (zsh-syntax-highlighting needs to be the last one):
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
  1. Install FZF, a fuzzy finder that can be used in zsh and Vim. The installer should add this line at the end of the ~./zshrc
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  1. Next line is useful to avoid duplicate entries in $PATH, then you can add custom paths to your $PATH$
export -U PATH=$PATH
export PATH=<my custom path>:$PATH
  1. To use ctrl+ P/N to navigate in history, add in ~./zshrc:
autoload -U up-line-or-beginning-search
autoload -U down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
bindkey "^P" history-beginning-search-backward
bindkey "^N" history-beginning-search-forward

Tmux

For local machine

Following command will install the conf and put some useful sh scripts in ~/.local/bin/:

stow --verbose tmux

For remote machines

scp tmux_remote/.tmux.conf <ip>:~/.tmux.conf

NeoVim

Create a Python 3 venv

Create a venv with neovim, black and flake8.

mkdir -p ~/.local/share/virtualenvs
cd ~/.local/share/virtualenvs
python -m venv neovimvenv
source neovimvenv/bin/activate
pip install neovim black flake8

Config

stow --verbose neovim

Vim

stow --verbose vim

Powerlevel10k

Just for the instant prompt feature !

stow --verbose powerlevel10k

About

Configuration files for Alacritty, Tmux, Neovim and Starship

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 81.6%
  • Lua 16.4%
  • Vim Script 2.0%