Contain all dotfiles and submodules required for my Vim setup, along with some ZSH configuration, tmux and what not.
Note: Works out of the box on macOS, but should be fairly easy to port to any linux distro,
with the following change
72F8
s:
tmux-spotifydoesn't work on linux. It can be replaced though.- Change the apple icon to tux :)
It looks like this:
Using coc.nvim's autocompletion together with borders for floating windows:
Using nvim-dap and nvim-dap-ui to create a nice debug session:
Customizing vim-airline defaults to include coc_current_function and diagnostics information in
case there is:
I've attached a very simple script setup.sh that removes prior configurations and creates
symbolic links to the correct directories in this repo.
The setup script does not install dependencies, so make sure to install prior dependencies, otherwise some features may not work.
For iTerm2 colors, I've attached colors.itermcolors. Import it in iTerm2 preferences.
neovim >= 0.6.0, with neovim python support (pip3 install neovim).tmux >= 3.2, for tmux floating popups, used both in .vimrc and tmux.conf.zshwith oh-my-zsh installation. Check ohmyzsh for reference.fzf- for support using FZF integration with vim.- lazygit for a good git TUI through vim and tmux.
yarnandnode, in order for coc.nvim to work. Runyarn installinnvim/pack/man/start/coc.nvimafter installation, other than using a precompiled release branch.
For extra configurations and useful installations, please refer to the recommendations section.
Although not required and not attached, I use:
- delta - for nicer git diffs. Make sure to cnofigure your
.gitconfigwith diffing using delta. I use the following in my.gitconfig:
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
side-by-side = true
line-numbers = true
paging = always
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
- bat - nicer replacement for
cat. FZF integration in vim shows file previews withbat. - Use
:CocInstallto install coc.nvim plugins! I use coc-jedi, coc-go, coc-clangd - If you wish, you can install vista.vim, useful for symbol searching.
I used nerd-fonts to patch Monaco with many nice
glyphs. I also recommend Consolas.
Almost all is based on amazing plugins and themes with no/small modifications. For easy upgrades in the future, plugins are referenced as submodules. I've made modifications to the following: