diff options
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) + |