You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then a user has to either open a new file or comment out other lines when working on different piece of codes. It becomes so inconvenient especially when working with a large file. I wonder it possible to add a keymap which will submit selected lines? Thanks!
The text was updated successfully, but these errors were encountered:
I have certain SQL files with common commands that I want to run individually, not all at once, without having to comment out the rest. For those, I also override the range for the usual VimPipe() command:
(uses "." as the range, i.e. the current line, rather than "%" which is the whole buffer.)
@krisajenkins would you be interested in PRs for the following?
Optionally implement the vnoremap based on, say, g:vimpipe_selection = 1
Change the nnoremap to something like exec "nnoremap <silent> " . g:vimpipe_invoke_map . " :" . g:vimpipe_invoke_range . "call VimPipe()<CR>", with g:vimpipe_invoke_range having a default value of %
Then a user has to either open a new file or comment out other lines when working on different piece of codes. It becomes so inconvenient especially when working with a large file. I wonder it possible to add a keymap which will submit selected lines? Thanks!
The text was updated successfully, but these errors were encountered: