vim wiki - joamatab/dotfiles GitHub Wiki

vimwiki:

  • wr: rename
  • wd: delete
  • wt: create a new tab
  • vimwikiTable cols rows: creates a table
  • 'w'w: new diary entry
  • :VimwikiDiaryGenerateLinks

Vimwiki using Markdown and Preview

  • tutorial video: Link
  • offical website: Link

markdown

vim ~/.vimrc

" vimwiki - Personal Wiki for Vim
" https://github.com/vimwiki/vimwiki
set nocompatible
filetype plugin on
syntax on
" vimwiki with markdown support
let g:vimwiki_ext2syntax = {'.md': 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'}
" helppage -> :h vimwiki-syntax

usage

vim index.md

# hotkeys
Enter - create a new note (cursor must be on a word)
Enter - enter into the note
Backspace - Go back
<leader>md - Open Markdown preview on web browser

references

⚠️ **GitHub.com Fallback** ⚠️