-
Notifications
You must be signed in to change notification settings - Fork 4
/
snclirc
45 lines (40 loc) · 1.15 KB
/
snclirc
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
36
37
38
39
40
41
42
43
44
45
[sncli]
cfg_sn_username = <USERNAME>
cfg_sn_password = <PASSWORD>
# see http://urwid.org/manual/userinput.html for examples of more key combinations
kb_quit = i
kb_sync = G
kb_page_down = page down
kb_page_up = page up
kb_half_page_down = ctrl d
kb_half_page_up = ctrl u
kb_bottom = *
kb_top = =
kb_view_note = space
kb_view_note_ext = enter
kb_view_prev_note = ,
kb_view_next_note = .
kb_note_markdown = M
kb_note_pin = P
# the EDITOR env variable overrides the value below
cfg_editor = vim
cfg_diff = colordiff -b -U10
cfg_format_strftime = %m/%d
cfg_format_note_title = %F %-N %T %D
# note that values must not be quoted
# TODO 256colors
clr_note_focus_bg = light blue
clr_note_title_day_fg = default
clr_note_title_day_bg = default
#clr_note_title_week_fg =
#clr_note_title_week_bg =
##
# https://stackoverflow.com/questions/15496865/how-to-configure-less-to-show-formatted-markdown-files
# https://github.com/axiros/terminal_markdown_viewer
##
# $ cat /usr/local/sbin/mdless
# #!/bin/zsh
# # https://superuser.com/questions/1059781/what-exactly-is-in-bash-and-in-zsh
# /usr/bin/less -R -c =(mdv -A "$1")
####
cfg_pager = /usr/local/sbin/mdless