Skip to content

GabrielDertoni/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instalation

Pre-requesites

  1. Install zsh.
  2. Install oh-my-zsh.
  3. Create a personal config file: touch ~/.personalrc.
  4. Install base16 shell.
  5. Build and install nvim from source (required for nvim-lsp).
  6. Install vim-plug and be sure install the neovim version.
  7. Create additional folders: mkdir -p ~/.config/nvim/plugins.
  8. Install tmux
  9. Install tmux themepack (pretty tmux).
  10. Install other stuff that I use:

Installing the dotfiles

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

Setting-up nvim

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!

A couple of notes

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published