altruios / vim-markdown-wiki-folders

using markdown manage your knowledge in vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim markdown wiki folders

markdown wiki folders pulgin for vim

TODO

- add meta-data support and toogle function

and only has 2 changes: 1 new function and 1 new behavior

1: when a link is entered-the current working directory is set to that file

so that files save in the correct wiki-folder.

2: <S-CR> shift-enter creates a link to a folder - adding the "index.md" suffix. example/index.md

this creates a link to a subfolder. clearing the namespace for filenames.

readme as from h2ero - (besides Plug 'altruios/vim-markdown-wiki-folders' being changed)

this plug has a lot of functions are referenced from vimwiki.

record: https://asciinema.org/a/dti9cfipk4lvdjxh8feeov860

Install

.vimrc

    Plug 'tpope/vim-markdown'
    Plug 'altruios/vim-markdown-wiki-folders'
    let g:mwikiTableAlign = "left"
    let g:mwikis = [ {'path':$HOME.'/wiki1/'}, {'path':$HOME.'/wiki2/'} ]

Feature

Link

  1. Leader+m+w will open wiki1 index.md in your config. 2+Leader+m+w will open wiki1 index.md in your config.
  2. cursor is under the text, press Enter will create markdown link and open link file,
  3. cursor is under the link, Tab jump to next link, Shift+Tab jump to the previous.
  4. cursor is under the link, Enter will goto link file.
  5. Backspace go back previous file.

Table

  1. create table, Leader + m +t + c
  2. press ESC normal mode form insert mode, Table will be align.
  3. Tab jump to next table cell, Shift+Tab jump to previous cell

export html

syntax highlighting

  1. markdown style syntax highlighting

    # vimL
    
    ## Hello Word
    
    ``` viml
    " markdown highlight code block
    echo "Hello World"
    ```

my wiki screenshot

About

using markdown manage your knowledge in vim.


Languages

Language:Vim Script 100.0%