2021-02-13 11:28:59 -05:00
|
|
|
" Vim command used to open new buffer
|
2021-04-08 03:20:23 -04:00
|
|
|
let g:CheatSheetReaderCmd='new'
|
2021-02-13 11:28:59 -05:00
|
|
|
|
|
|
|
" Cheat sheet file type
|
|
|
|
let g:CheatSheetFt='markdown'
|
|
|
|
|
|
|
|
" Program used to retrieve cheat sheet with its arguments
|
|
|
|
let g:CheatSheetUrlGetter='curl --silent'
|
|
|
|
|
|
|
|
" Flag to add cookie file to the query
|
|
|
|
let g:CheatSheetUrlGetterIdFlag='-b'
|
|
|
|
|
|
|
|
" cheat sheet base url
|
|
|
|
let g:CheatSheetBaseUrl='https://cht.sh'
|
|
|
|
|
|
|
|
" cheat sheet settings do not include style settings neiter comments,
|
|
|
|
" see other options below
|
|
|
|
let g:CheatSheetUrlSettings='q'
|
|
|
|
|
|
|
|
" cheat sheet pager
|
|
|
|
let g:CheatPager='less -R'
|
|
|
|
|
|
|
|
" pygmentize theme used for pager output, see :CheatPager :styles-demo
|
|
|
|
" let g:CheatSheetPagerStyle=rrt
|
|
|
|
|
|
|
|
" Show comments in answers by default
|
|
|
|
" (setting this to 0 means giving ?Q to the server)
|
|
|
|
let g:CheatSheetShowCommentsByDefault=1
|
|
|
|
|
|
|
|
" cheat sheet buffer name
|
|
|
|
let g:CheatSheetBufferName="_cheat"
|
|
|
|
|
|
|
|
" Default selection in normal mode (line for whole line, word for word under cursor)
|
|
|
|
let g:CheatSheetDefaultSelection="line"
|
|
|
|
|
|
|
|
" Default query mode
|
|
|
|
" 0 => buffer
|
|
|
|
" 1 => replace (do not use or you might loose some lines of code)
|
|
|
|
" 2 => pager
|
|
|
|
" 3 => paste after query
|
|
|
|
" 4 => paste before query
|
|
|
|
let g:CheatSheetDefaultMode=0
|
|
|
|
|
|
|
|
" Path to cheat sheet cookie
|
|
|
|
let g:CheatSheetIdPath=expand('~/.local/share/nvim/cht.sh/id')
|
|
|
|
|
|
|
|
" Make plugin silent by setting bellow variable to 1
|
|
|
|
let g:CheatSheetSilent=1
|
|
|
|
|
|
|
|
" Disable replacement of man
|
|
|
|
" Let g:CheatDoNotReplaceKeywordPrg=1
|