Skip to content

Commit

Permalink
fix for issue #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Maximov authored and tmhedberg committed Sep 10, 2011
1 parent 665b4c9 commit ec6cc12
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ftplugin/python/pyflakes.vim
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,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.
Expand Down

0 comments on commit ec6cc12

Please sign in to comment.