Example configuration for Vim, NeoVim and other associated utilities for Про Vim article series
Minimal environment for core configs:
- POSIX OS and shell
- Terminal emulator
- Vim >= 8
Standard environment for configs to work as expected:
- Linux with bash/zsh default shell
- High color teminal emulator
- Vim >=8.2 (+keymap, +clipboard, +mouse, +syntax, +wildmenu, ...)
- NeoVim >= 8.1 LuaJIT 2.1.0-beta3
- Git
- Python3 >= 3.10.6 (pip, pynvim...)
- Node.js >= 18.12.1 (npm, yarn...)
- fzf >= 0.29
- etc.
Just copy selected lines in your own config or fork all configs to your GitHub profile and clone it to your linux home dir and run vim
.
Main configuration in .vimrc
keeps general defaults no matter the other environment. A properly installed Vim higher than v8 with standard option set should support all configuration options.
Optional configuration which depend on other plugins and third party software reside in .vim/
directory. It is essentialy safe not to use it at all on limited environments.
To enable plugins download "vim-plug" once and restart vim
$ curl -fLo ~/.var/app/io.neovim.nvim/data/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Run :PlugInstall
from Vim command line
NeoVim should also fully support .vimrc
commands unless Lua
configuration is explicitly enabled.
TODO: Add NeoVim specific configs
A standard .bashrc
just as an example of how to add some useful system aliases and params to your Vim environment
TODO: Add zsh minimal config
An example of how to use git on a home directory to syncronize your environment configurations between your accounts. Main trick is to put a star *
in first line of .gitignore
file to get explicite control on what to sync.
TODO: Add tmux related configs
TODO: Add Alacritty related configs
TODO: Add konsole related configs
TODO: Add xterm related configs