Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
63 lines (50 sloc) 2.14 KB

Vimwiki using Markdown and Preview

Taking notes with the best text editor! =)

  • tutorial video: Link
  • offical website: Link

install requirements

configuration

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 

" vim-instant-markdown - Instant Markdown previews from Vim
" https://github.com/suan/vim-instant-markdown
let g:instant_markdown_autostart = 0	" disable autostart
map <leader>md :InstantMarkdownPreview<CR>

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

markdown

As far as markdown syntax you can learn that on your own, takes about 5-10mins really, just google it

references

contact

             _   _     _      _         
  __ _  ___ | |_| |__ | | ___| |_ _   _ 
 / _` |/ _ \| __| '_ \| |/ _ \ __| | | |
| (_| | (_) | |_| |_) | |  __/ |_| |_| |
 \__, |\___/ \__|_.__/|_|\___|\__|\__,_|
 |___/                                  
You can’t perform that action at this time.