/
simplenote.vim
35 lines (34 loc) · 1.62 KB
/
simplenote.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"
"
" File: simplenote.vim
" Author: Daniel Schauenberg <d@unwiredcouch.com>
" WebPage: http://github.com/mrtazz/simplenote.vim
" License: MIT
" Version: 1.3.1
" Usage:
" :SimplenoteList X => list X number of notes; omit X to list all
" :SimplenoteList tags,moretags => list notes which feature one of the tags
" :SimplenoteUpdate => update a note from buffer
" :SimplenoteTrash => move note to trash
" :SimplenoteNew => create new note from buffer
" :SimplenoteDelete => delete note in current buffer
" :SimplenoteTag => tag note in current buffer
" :SimplenotePin => pin note in current buffer
" :SimplenoteUnpin => unpin note in current buffer
" :SimplenoteOpen key => open note with given key directly
"
" This is only the interface part of the script. For the actual implementation
" see plugin/simplenote.vim
"
" set the simplenote command
command! -nargs=0 SimplenoteDelete :call simplenote#SimplenoteDelete()
command! -nargs=* SimplenoteList :call simplenote#SimplenoteList(<f-args>)
command! -nargs=0 SimplenoteUpdate :call simplenote#SimplenoteUpdate()
command! -nargs=* SimplenoteVersion :call simplenote#SimplenoteVersion(<f-args>)
command! -nargs=0 SimplenoteVersionInfo :call simplenote#SimplenoteVersionInfo()
command! -nargs=0 SimplenoteTrash :call simplenote#SimplenoteTrash()
command! -nargs=0 SimplenoteNew :call simplenote#SimplenoteNew()
command! -nargs=0 SimplenoteTag :call simplenote#SimplenoteTag()
command! -nargs=0 SimplenoteUnpin :call simplenote#SimplenoteUnpin()
command! -nargs=+ SimplenoteOpen :call simplenote#SimplenoteOpen(<f-args>)
command! -nargs=0 SimplenotePin :call simplenote#SimplenotePin()