How I set up VimWiki for notetaking The article explains how to set up and use VimWiki, a notetaking extension for Vim that allows users to create and manage personal wikis directly in the terminal. The author details the installation process, including adding necessary lines to the `.vimrc` file and cloning the VimWiki repository, and highlights the flexibility of using plain text files for notes, which enables easy syncing across devices via Nextcloud. Key features include quick navigation with keyboard shortcuts, support for Markdown syntax, and the ability to create linked pages and diary entries. How I set up VimWiki for notetaking I'm a monster who writes her notes in the terminal. Here's how. VimWiki is a really great notetaking extension for Vim. Whether you just want a quick scratchpad or a full-fat personal wiki, it's very flexible and might be of use to you. Editing notes in the terminal, as opposed to a dedicated application like Obsidian, allows me lightning fast access from anywhere in my system, even when I'm connected remotely. Like Obsidian, the notes are simply text files, making file sync easier. Unlike Obsidian, there's no image layer- I'm just looking at text while jotting down my notes. My brain likes this, yours might not. I write up all of my scripts and research in VimWiki, and I also keep my shopping lists, as well as a basic task management system checkboxes in a text file . It's slick in that it's simple, and that's what I want. Plus, since it's all just text files, I can sync them with my phone via Nextcloud and their Notes app. Here's how I set it up on my devices. What you need before you start I've used VimWiki on both Vim and Neovim, and haven't had any issues on either system. That said, I tend to prefer Vim in general because it's what I started with and it's more likely to be easily available or already installed . Then you'll need to add three lines to .vimrc : set nocompatible filetype plugin on syntax on These do the following: set nocompatible allows enhancements to Vim that aren't compatible with the oldervi implementation.filetype plugin on enables loading plugins for specific filetypes.syntax on enables syntax highlighting. These may or may not already be in your .vimrc so it's best to have a look and make sure there's no conflicts. Install VimWiki Once .vimrc is set up you can install VimWiki. I'm on Linux Debian and Ubuntu-derived systems mostly , so I make sure git is installed and then I use the native Vim packages implementation: git clone https://github.com/vimwiki/vimwiki.git ~/.vim/pack/plugins/start/vimwiki Vim packages has been my preferred way to customize Vim for a while now, because I prefer to control plugins via Git instead of relying on yet another package manager. That said, in the past I used Vim-Plug and Pathogen, and both worked totally fine with VimWiki. After it's installed, you'll probably want to run :Helptags to generate docs, or, as VimWiki recommends: vim -c 'helptags ~/.vim/pack/plugins/start/vimwiki/doc' -c quit With that, you should have a VimWiki ready to initialize Using VimWiki Anywhere in Vim, you can run