Enables DNA-binding transcription factor activity, RNA polymerase II-specific; RNA polymerase II transcription regulatory region sequence-specific DNA binding activity; and RNA polymerase II-specific DNA-binding transcription factor binding activity. Involved in several processes, including mechanosensory behavior; neuron projection organization; and positive regulation of transcription by RNA polymerase II. Part of RNA polymerase II transcription regulator complex. Expressed in VA neuron; touch receptor neurons; ventral nerve cord; and vulva. Is an ortholog of human LHX1 (LIM homeobox 1) and LHX5 (LIM homeobox 5).