vim integration with MoinMoin
This allows gf to follow a link,
NOTE: I just realized that blogger doesnt like the greater than and lower than, (makes sense), I am gonna correct this later.
ToDo: maybe a stack to navigate forward and backward
NOTE: I just realized that blogger doesnt like the greater than and lower than, (makes sense), I am gonna correct this later.
if !exists("loaded_moin")
set autowrite
let loaded_moin = 1
set isk=a-z,A-Z,/,-,_
autocmd BufWritePost * !editmoin -c ""
function! Moin_EditPage()
let url = "http://localhost:8000/".expand("")
"let url = strpart(getline(1),8).expand("")
new
execute "read !editmoin -f ".url
let filename = getline(".")
quit!
execute "edit ".filename
endfunction
map gf :call Moin_EditPage()
endif
ToDo: maybe a stack to navigate forward and backward
2 comentarios:
you should maybe add it to vim.wikia.com
De jerojasro, A las 11 de mayo de 2009, 22:25
Not yet, it's very unstable and lacks a lot of wanted features.
De Camilo, A las 12 de mayo de 2009, 9:33
Publicar un comentario
Suscribirse a Enviar comentarios [Atom]
<< Inicio