frawor / test / vimrc

set encoding=utf-8
set guifont=Courier_New:h10:cRUSSIAN
set noswapfile
" Make sure everything works with this weird option
set wildignore=*
function WriteFile(...)
    let r=[]
    if filereadable(s:outfile)
        let r+=readfile(s:outfile, 'b')
    if type(a:1)==type([])
        let r+=a:1
        let r+=a:000
    call writefile(r, s:outfile, 'b')
    return ""
function PurgeFrawor(str)
    if a:str[-1:] is '<'
        return a:str
    return substitute(a:str,
                \'^Frawor:\(\%(\\.\|[^:]\)\+:\%(\\.\|[^:]\)\+\):.*', '\1', '')
command -nargs=1 -bar W call WriteFile(<q-args>)
let s:outfile=fnamemodify(g:outfile, ':p')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.