mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-15 00:12:53 +00:00
64 lines
2.1 KiB
Markdown
64 lines
2.1 KiB
Markdown
# Vimwiki using Markdown and Preview
|
|
Taking notes with the best text editor! =)
|
|
* tutorial video: [Link](https://www.youtube.com/watch?v=ONh95PNBW-Q)
|
|
* offical website: [Link](https://www.youtube.com/user/gotbletu)
|
|
|
|
### 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
|
|
- https://github.com/vimwiki/vimwiki/tree/2c03d82a0e4662adf1e347487d73a9bf4bf6fdac
|
|
|
|
### 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: https://github.com/vimwiki/vimwiki/tree/2c03d82a0e4662adf1e347487d73a9bf4bf6fdac
|
|
|
|
|
|
### contact
|
|
|
|
_ _ _ _
|
|
__ _ ___ | |_| |__ | | ___| |_ _ _
|
|
/ _` |/ _ \| __| '_ \| |/ _ \ __| | | |
|
|
| (_| | (_) | |_| |_) | | __/ |_| |_| |
|
|
\__, |\___/ \__|_.__/|_|\___|\__|\__,_|
|
|
|___/
|
|
|
|
- http://www.youtube.com/user/gotbletu
|
|
- https://twitter.com/gotbletu
|
|
- https://plus.google.com/+gotbletu
|
|
- https://github.com/gotbletu
|
|
- gotbletu@gmail.com
|