When you are between
you are at tab-position-one of two, so pressing Tab will jump after the closing ul.
The simplest solution is to press Escape to cancel the tab fields; then Tab (after typing li) will invoke this completion. You will no longer be able to Tab out-of the ul, though.
Alterrnatively, after typing li, press Ctrl-Space to invoke the completions list and use Enter to select the li-completion.
Or you could try tweaking the setting auto_complete_with_fields, and related settings.
Personally, I include the following in my user-settings, which allows me to use Ctrl-Alt-Right (Windows) to use “a completion within a completion”. I can then use Tab to continue with the fields of the first completion. I can also use Ctrl-Alt-Left if I’ve gone past the completion I actually need (when pressing Ctrl-Alt-Right).
[code] { “keys”: “ctrl+alt+right”], “command”: “insert_best_completion”, “args”: {“default”: “”, “exact”: true} },
{ “keys”: “ctrl+alt+right”], “command”: “insert_best_completion”, “args”: {“default”: “”, “exact”: false},
“context”:
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
},
{ "keys": "ctrl+alt+right"], "command": "replace_completion_with_next_completion", "context":
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
},
{ "keys": "ctrl+alt+left"], "command": "replace_completion_with_prev_completion", "context":
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
}[/code]
Alternatively, look into the plugin **ZenCoding ** to use abbreviations.