Skip to content

AbortDispatch goes to the top of the file #279

@allopislozano

Description

@allopislozano

Hi there,

when I compile using dispatch, my compilation times are typically high (~1-2min when its quick , c++ T_T) so I modify the file often while it compiles and launch dispatch again before it has finished. If I let the first dispatch finish, its a mess because you are no longer sure of what results you're getting when the quickfix is populated, so I need to always AbortDispatch before dispatching:

function! s:Launch()
  AbortDispatch
  Dispatch
endfunction
com! Launch call s:Launch()

nnoremap <F5> :Launch<CR>

The problem is that in recent versions (when xterm was removed) now AbortDispatch always goes to the beginning of the file, and it is quite annoying, because most of the times ctrl+o won't take you back to the right place.

Is this for a reason? Can it be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions