diff --git a/autofilename.py b/autofilename.py index 247e8bb..41df8d3 100644 --- a/autofilename.py +++ b/autofilename.py @@ -177,6 +177,11 @@ def on_modified(self, view): def on_selection_modified_async(self,view): if not view.window(): return + + # Do not open autocomplete automatically if keybinding mode is used + if not FileNameComplete.is_active and self.get_setting('afn_use_keybinding', view): + return + sel = view.sel()[0] if sel.empty() and self.at_path_end(view): scope_contents = view.substr(view.extract_scope(sel.a-1))