Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions autofilename.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,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))
Expand Down