Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
readline.vim50 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:		readline(3) configuration file3" Maintainer:		Doug Kearns <dougkearns@gmail.com>4" Previous Maintainer:	Nikolai Weibull <now@bitwi.se>5" Last Change:		2024 Sep 19 (simplify keywordprg #15696)6" 2024 Jul 22 by Vim project (use :hor term #17822)7 8if exists("b:did_ftplugin")9  finish10endif11let b:did_ftplugin = 112 13let s:cpo_save = &cpo14set cpo&vim15 16setlocal comments=:#17setlocal commentstring=#\ %s18setlocal formatoptions-=t formatoptions+=croql19 20let b:undo_ftplugin = "setl com< cms< fo<"21 22if exists("loaded_matchit") && !exists("b:match_words")23  let b:match_ignorecase = 024  let b:match_words = '$if:$else:$endif'25  let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words"26endif27 28if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")29  let b:browsefilter = "Readline Intialization Files (inputrc, .inputrc)\tinputrc;*.inputrc\n"30  if has("win32")31    let b:browsefilter ..= "All Files (*.*)\t*\n"32  else33    let b:browsefilter ..= "All Files (*)\t*\n"34  endif35  let b:undo_ftplugin ..= " | unlet! b:browsefilter"36endif37 38if has('unix') && executable('less') && exists(':terminal') == 239  command -buffer -nargs=1 ReadlineKeywordPrg40        \ silent exe 'hor term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . '3 readline'41  setlocal iskeyword+=-42  setlocal keywordprg=:ReadlineKeywordPrg43  let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer ReadlineKeywordPrg'44endif45 46let &cpo = s:cpo_save47unlet s:cpo_save48 49" vim: nowrap sw=2 sts=2 ts=8 noet:50 
codekingpro/portable-devtools · Team Ai