diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-10 09:58:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-10 09:58:43 +0200 |
commit | beeae6f8dffa77609b0e838a21de75df9b2f351e (patch) | |
tree | fdf780caab76d152fff8a349d66aca49e2317046 | |
parent | 4d47c79bafbd6d261bd8e8de9a471838942a42c7 (diff) |
vim plugin: refresh the threads list also on CursorHold event.
-rw-r--r-- | vim/plugin/nm_vim.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/plugin/nm_vim.py b/vim/plugin/nm_vim.py index 582ccae..2d62035 100644 --- a/vim/plugin/nm_vim.py +++ b/vim/plugin/nm_vim.py @@ -163,6 +163,7 @@ class Search(NMBuffer): vim.command('augroup nm_vimpy') vim.command('autocmd CursorMoved <buffer> python nm_vim.get_current_buffer().process_results()') + vim.command('autocmd CursorHold <buffer> python nm_vim.get_current_buffer().process_results()') vim.command('augroup END') self._search_thread = threading.Thread(target = self._refresh_thread) |