FollieHiyuki-dotfiles/nvim-old/plug-config/cheat_sh.vim
FollieHiyuki 01ff68ac92
Add glow config
Also deprecate neovim config.
2021-07-03 02:52:03 +03:00

52 lines
1.4 KiB
VimL

" Vim command used to open new buffer
let g:CheatSheetReaderCmd='new'
" 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