Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
udevrules.vim29 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:	udev(8) rules file3" Maintainer:	This runtime file is looking for a new maintainer.4" Previous Maintainer:	Nikolai Weibull <now@bitwi.se>5" Latest Revision:	2025-07-22 (use :hor term #17822)6 7if exists("b:did_ftplugin")8  finish9endif10let b:did_ftplugin = 111 12let s:cpo_save = &cpo13set cpo&vim14 15let b:undo_ftplugin = "setl com< cms< fo<"16 17setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql18 19if has('unix') && executable('less') && exists(':terminal') == 220  command -buffer -nargs=1 UdevrulesKeywordPrg21        \ silent exe ':hor term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s{,8}' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'udev'22  setlocal iskeyword+=-23  setlocal keywordprg=:UdevrulesKeywordPrg24  let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer UdevrulesKeywordPrg'25endif26 27let &cpo = s:cpo_save28unlet s:cpo_save29 
codekingpro/portable-devtools · Team Ai