- Install zsh.
- Install oh-my-zsh.
- Create a personal config file:
touch ~/.personalrc
. - Install base16 shell.
- Build and install nvim from source (required for nvim-lsp).
- Install vim-plug and be sure install the neovim version.
- Create additional folders:
mkdir -p ~/.config/nvim/plugins
. - Install tmux
- Install tmux themepack (pretty tmux).
- Install other stuff that I use:
Clone the repo (or fork it and then clone the fork, it's better that way).
git clone https://github.com/GabrielDertoni/dotfiles.git ~/dotfiles
Link files in the repo to files in your system
cd ~/dotfiles
ln -s $(pwd)/.zshrc ~/.zshrc
ln -s $(pwd)/init.vim ~/.config/nvim/init.vim
ln -s $(pwd)/vim-plugins-config ~/.config/nvim/plugin
ln -s $(pwd)/.tmux.conf ~/.tmux.conf
Now you are able to use the dotfiles, however, when you try to enter nvim, a
bunch of errors should appear. That is beause you're using lots of pluggins that
haven't been installed yet. To fix that, open nvim with nvim ~/.config/init.vim
and when the errors appear, just scroll down to the end of them and press enter
to continue anyway. Then, do a :PlugInstall
and all plugins should install.
Quit nvim and, when you open it again, hopefully everything will be ready to go!
Even though this setup should be enough to give you nice colors and so on, it
should be noted that some extensions still need to be install for everything to
work properly. In particular, all of the language servers used by nvim lsp.
Currently the main used one is rust-analyzer
which requires cargo
and rustc
and so on. If you really just want the
default configs, you can just not use the plugins/
folder entirely. It would
certainly prevent lots of work and maybe some headaches as well.