0

I'm using the Kate text editor and I like to keep my lines at around 80 characters.

For LaTeX, I enable dynamic word wrapping (or sometimes hard wrapping), which makes writing much more readable.

However, when I write Python code, automatic line wrapping breaks the code, since Python is sensitive to line breaks and indentation.

What I would like is:

  • Line wrapping enabled for LaTeX files (.tex)

  • Line wrapping disabled for Python files (.py)

Is there a way in Kate to configure word wrap per file type or per syntax highlighting mode?

If not, what would be the recommended workflow to handle this situation?

I'm using Kate on Linux with the Finnish UI, so menu names may differ slightly.

New contributor
Jaakko Seppälä is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.