Skip to content


Subversion checkout URL

You can clone with
Download ZIP


get rid of one second delay when deleting text in visual mode #40

wants to merge 3 commits into from

1 participant


this delay is clearly unintended, rather annoying, and easy to fix, see issue #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 11, 2011
  1. fix for issue #24

    Lev Maximov committed
  2. ignore lines ending with double hash (##)

    Lev Maximov committed
Commits on May 20, 2015
  1. disable activating qf window because it breaks

    Lev Maximov committed
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 5 deletions.
  1. +7 −5 ftplugin/python/pyflakes.vim
12 ftplugin/python/pyflakes.vim
@@ -119,6 +119,7 @@ def check(buffer):
checker._MAGIC_GLOBALS = old_globals
+ w.messages = filter(lambda m: not buffer[m.lineno-1].endswith('##'), w.messages)
w.messages.sort(key = attrgetter('lineno'))
return w.messages
@@ -161,10 +162,11 @@ endif
" Hook common text manipulation commands to update PyFlakes
" TODO: is there a more general "text op" autocommand we could register
" for here?
-noremap <buffer><silent> dd dd:PyflakesUpdate<CR>
-noremap <buffer><silent> dw dw:PyflakesUpdate<CR>
-noremap <buffer><silent> u u:PyflakesUpdate<CR>
-noremap <buffer><silent> <C-R> <C-R>:PyflakesUpdate<CR>
+nnoremap <buffer><silent> dd dd:PyflakesUpdate<CR>
+nnoremap <buffer><silent> dw dw:PyflakesUpdate<CR>
+nnoremap <buffer><silent> u u:PyflakesUpdate<CR>
+nnoremap <buffer><silent> <C-R> <C-R>:PyflakesUpdate<CR>
+vnoremap <buffer><silent> d d:PyflakesUpdate<CR>
" WideMsg() prints [long] message up to (&columns-1) length
" guaranteed without "Press Enter" prompt.
@@ -264,7 +266,7 @@ EOF
if g:pyflakes_use_quickfix == 1
if exists("s:pyflakes_qf")
" if pyflakes quickfix window is already created, reuse it
- call s:ActivatePyflakesQuickFixWindow()
+ "call s:ActivatePyflakesQuickFixWindow()
call setqflist(b:qf_list, 'r')
" one pyflakes quickfix window for all buffer
Something went wrong with that request. Please try again.