mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-05 00:00:51 +00:00
2.1 KiB
2.1 KiB
Vimwiki using Markdown and Preview
Taking notes with the best text editor! =)
install requirements
- vim
- vim-instant-markdown (https://github.com/suan/vim-instant-markdown)
- vimwiki (https://github.com/vimwiki/vimwiki)
- Note: Some people have reported that the newer version does not work
- This is the version i was using in the video, click on downloads button to get the zip
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
- https://github.com/vimwiki/vimwiki
- https://github.com/suan/vim-instant-markdown
- Vimwiki Version from Video Demo:
2c03d82a0e
contact
_ _ _ _
__ _ ___ | |_| |__ | | ___| |_ _ _
/ _` |/ _ \| __| '_ \| |/ _ \ __| | | |
| (_| | (_) | |_| |_) | | __/ |_| |_| |
\__, |\___/ \__|_.__/|_|\___|\__|\__,_|
|___/