Improved auto-complete logic that tracks variable assignments (fixes #343).
Fixed keybinding for `Ctrl-<punctuation>` working on Linux (fixes #346).