Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
* restrict mappings to local buffer
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Watters <kevinwatters@gmail.com>
  • Loading branch information
mnick authored and kevinw committed May 4, 2009
1 parent 8c00965 commit 6ec1fbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyflakes.vim
Expand Up @@ -102,10 +102,10 @@ endif
" Hook common text manipulation commands to update PyFlakes
" TODO: is there a more general "text op" autocommand we could register
" for here?
noremap <silent> dd dd:PyflakesUpdate<CR>
noremap <silent> dw dw:PyflakesUpdate<CR>
noremap <silent> u u:PyflakesUpdate<CR>
noremap <silent> <C-R> <C-R>:PyflakesUpdate<CR>
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>
" WideMsg() prints [long] message up to (&columns-1) length
" guaranteed without "Press Enter" prompt.
Expand Down

0 comments on commit 6ec1fbb

Please sign in to comment.