8000 GitHub - xenzh/myvimrc: .vimrc and friends · GitHub
[go: up one dir, main page]

Skip to content
xenzhPublic

Latest commit

 

History

282 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My trusty dotfiles

Features:

  • Configurations for zsh (oh-my-zsh based) and nushell, aliases and themes.
  • Tools managed by mise.
  • neovim configuration and plugins for C++/Rust/python development (partially compatible with vim).
  • A basic tmux setup.
  • An assortment of custom tools.

Documentation:

tmux and vim, nord theme, cpp

Installation

Automatic

git clone https://github.com/xenzh/myvimrc.git ~/.dotfiles
cd ~/.dotfiles
./dotfiles install

Afterwards, keep mise-managed tools and submodules up to date with:

./dotfiles update

Manual

  1. Clone this repo to ~/.dotfiles folder and get the submodules
git clone https://github.com/xenzh/myvimrc.git ~/.dotfiles
cd ~/.dotfiles
git submodule update --init --remote --recursive
  1. Install nord theme port for the terminal emulator.

  2. Make symlinks / source scripts

ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
cp ~/.dotfiles/vim/init.vim ~/.config/nvim
echo "source-file ~/.dotfiles/tmux/.tmux.conf" >> ~/.tmux.conf
echo "source ~/.dotfiles/zsh/.zshrc" >> ~/.zshrc
mkdir -p ~/.config/nushell
ln -s ~/.dotfiles/nu/config.nu ~/.config/nushell/config.nu
ln -s ~/.dotfiles/tools/.gdbinit ~/.gdbinit
  1. Install mise and the tools it manages (see mise/config.toml for what's covered and what isn't)
curl -fsSL https://mise.run | sh

mkdir -p ~/.config/mise
ln -s ~/.dotfiles/mise/config.toml ~/.config/mise/config.toml
mise install

How to add, remove and update submodules

# pull all submodules
git submodule update --init --remote --recursive

# add a submodule (use to http to bypass corp MITM)
git submodule add http://<git_repo>

# remove a submodule
git rm <path-to-submodule>

Releases

Packages

Contributors

Languages

0