" Simplified version of http://www.vim.org/scripts/script.php?script_id=2184
" that does not replace current window
-if exists('*<SID>gotoline') | finish | endif
-
-function! s:gotoline()
+function! fileline#goto() abort
let file = bufname("%")
if filereadable(file) | return | endif
let names = matchlist(file, '\(.\{-1,}\):\%(\(\d\+\)\%(:\(\d*\):\?\)\?\)\?$')
exec "normal! " . col_num . "|"
exec "bdelete " . nr
endfunction
-
-autocmd! BufNewFile *:* nested call s:gotoline()
-autocmd! BufRead *:* nested call s:gotoline()