diff options
author | eug-vs <eug-vs@keemail.me> | 2020-12-08 01:03:46 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-12-08 01:03:46 +0300 |
commit | 125156a2ce9a7666c5a86b3c69b94d2751eb540d (patch) | |
tree | 22f78032526877c5ad4d8eb96e57f72a5b2e21ff /Documents/wiki/vim.md | |
parent | eb95acf35b113812d45c8a33a27339c9d0a3dc1d (diff) | |
download | dotfiles-125156a2ce9a7666c5a86b3c69b94d2751eb540d.tar.gz |
chore: update wiki and move it to Documents
Diffstat (limited to 'Documents/wiki/vim.md')
-rw-r--r-- | Documents/wiki/vim.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documents/wiki/vim.md b/Documents/wiki/vim.md new file mode 100644 index 0000000..724ef7c --- /dev/null +++ b/Documents/wiki/vim.md @@ -0,0 +1,33 @@ +# Vim + +After having used [Spacevim](https://spacevim.org/) for quite a while, +I've decided to switch back to classic Neovim and keep configuration as tight and minimal as possible. + +I keep my configuration in casual `~/.vimrc` which is sourced by Neovim in `init.vim`. + +## NerdFonts +I use `DejaVu Sans Mono` - download from [AUR](https://aur.archlinux.org/packages/nerd-fonts-dejavu-complete/) + +## Vim-plug +Some functionality still requires me to install a few plugins, and `vim-plug` is my plugin manager of choice. +Intsallation (note that command is custom): +```bash +curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +``` + +All plugins are listed in [`.config/nvim/vim-plug/plugins.vim`](../../.config/nvim/vim-plug/plugins.vim) and sourced from `init.vim` directly (before `~/.vimrc`). + +## Featured plugins + +### [Defx](https://github.com/Shougo/defx.nvim) +I like to always keep a tree-view of my project at hand. This is the best option out there - dark-powered file explorer. + +### [Startify](https://github.com/mhinz/vim-startify) +Provides a cool startup screen. Also allows to manage sessions more easily, but I haven't got used to them yet. +Not essential, I might get rid of it in future. + +### [VimWiki](https://github.com/vimwiki/vimwiki) +VimWiki made this documentation possible. + +Custom mapping: `<Leader>c` - toggle conceal level (to comfortably edit links) + |