K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / vim / vim74 / syntax /
server ip : 104.21.89.46

your ip : 172.70.80.203

H O M E


Filename/usr/share/vim/vim74/syntax/dirpager.vim
Size1.75 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified03-Jan-2014 03:40
Last accessed07-Jul-2025 01:02
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
" Vim syntax file
" Maintainer: Thilo Six
" Contact: <vim-dev at vim dot org>
" http://www.vim.org/maillist.php#vim-dev
"
" Description: display directory content inside Vim with syntax
" highlighting
" File: runtime/syntax/dirpager.vim
" Last Change: 2012 May 19
" Modeline: vim: ts=8:sw=2:sts=2:
"
" Credits: dirpager.vim is derived from Nikolai Weibulls dircolors.vim
"
" License: VIM License
" Vim is Charityware, see ":help Uganda"
"
" Usage: $ ls -la | view -c "set ft=dirpager" -
"
"
",----[ ls(1posix) ]--------------------------------------------------
"
" The <entry type> character shall describe the type of file, as
" follows:
"
" d Directory.
" b Block special file.
" c Character special file.
" l (ell) Symbolic link.
" p FIFO.
" - Regular file.
"

if exists("b:current_syntax") || &compatible
finish
endif

setlocal nowrap

syn keyword DirPagerTodo contained FIXME TODO XXX NOTE

syn region DirPagerExe start='^...x\|^......x\|^.........x' end='$' contains=DirPagerTodo,@Spell
syn region DirPagerDir start='^d' end='$' contains=DirPagerTodo,@Spell
syn region DirPagerLink start='^l' end='$' contains=DirPagerTodo,@Spell
syn region DirPagerSpecial start='^b' end='$' contains=DirPagerTodo,@Spell
syn region DirPagerSpecial start='^c' end='$' contains=DirPagerTodo,@Spell
syn region DirPagerFifo start='^p' end='$' contains=DirPagerTodo,@Spell

hi def link DirPagerTodo Todo
hi def DirPagerExe ctermfg=Green guifg=Green
hi def DirPagerDir ctermfg=Blue guifg=Blue
hi def DirPagerLink ctermfg=Cyan guifg=Cyan
hi def DirPagerSpecial ctermfg=Yellow guifg=Yellow
hi def DirPagerFifo ctermfg=Brown guifg=Brown

let b:current_syntax = "dirpager"