Skip to content

Commit 8bb5a64

Browse files
committed
wip
1 parent dbbbcf5 commit 8bb5a64

File tree

10 files changed

+56
-4
lines changed

10 files changed

+56
-4
lines changed

layers/+vim/which-key/config.vim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ vnoremap <silent> <leader> :<c-u>WhichKeyVisual '<Space>'<CR>
33
44
nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR>
55
vnoremap <silent> <localleader> :<c-u>WhichKeyVisual ','<CR>
6+
7+
nnoremap <silent> g :<c-u>WhichKey 'g'<CR>
8+
vnoremap <silent> g :<c-u>WhichKeyVisual 'g'<CR>
9+
10+
nnoremap <silent> z :<c-u>WhichKey 'z'<CR>
11+
vnoremap <silent> z :<c-u>WhichKeyVisual 'z'<CR>
File renamed without changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Vimwiki
2+
3+
## Table of Contents
4+
5+
<!-- vim-markdown-toc GFM -->
6+
* [Description](#description)
7+
* [Install](#install)
8+
* [Key Bindings](#key-bindings)
9+
10+
<!-- vim-markdown-toc -->
11+
12+
## Description
13+
14+
This layer adds Vimwiki. Learn more at http://vimwiki.github.io/
15+
16+
## Install
17+
18+
To use this configuration layer, add it to your `~/.spacevim`.
19+
20+
## Key Bindings
21+
22+
Key Binding | Mode | Description
23+
:---: | :---: | :---:
24+
<kbd>SPC W w</kbd> | Normal | Wiki index
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
" goyo.vim {
2+
nnoremap <Leader>wW <Plug>:VimwikiIndex<CR>
3+
" }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MP 'tbabej/taskwiki'
2+
MP 'blindFS/vim-taskwarrior'
3+

layers/+writing/vimwiki/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,23 @@
1313

1414
This layer adds Vimwiki. Learn more at http://vimwiki.github.io/
1515

16-
## Install
17-
18-
To use this configuration layer, add it to your `~/.spacevim`.
16+
## Quick start
17+
18+
You'll need to configure at least one wiki in your ~/.spacevim. For example:
19+
20+
```
21+
let g:vimwiki_list = [{'path': '~/Documents/wikis/ericwiki/',
22+
\ 'syntax': 'markdown', 'ext': '.md',
23+
\ 'custom_wiki2html': 'wiki2html',
24+
\ 'path_html': '~/Sites/Notes/',
25+
\ 'diary_rel_path': 'Journal/'
26+
\ },
27+
\{'path': '~/Documents/wikis/feels/',
28+
\ 'syntax': 'markdown', 'ext': '.md',
29+
\ 'custom_wiki2html': 'wiki2html',
30+
\ 'diary_rel_path': 'Journal/'
31+
\ }]
32+
```
1933

2034
## Key Bindings
2135

layers/+writing/vimwiki/config.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
" goyo.vim {
22
nnoremap <Leader>wW <Plug>:VimwikiIndex<CR>
3+
"nnoremap <CR> :VimwikiFollowLink<CR>
34
" }
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
MP 'vimwiki/vimwiki', { 'branch' : 'dev' }
1+
MP 'lervag/wiki.vim'
2+
MP 'reedes/vim-pencil'
23

0 commit comments

Comments
 (0)