How can I stay tab-free in Geany on Ubuntu?

前端 未结 6 1001
眼角桃花
眼角桃花 2021-02-06 21:32

How can I stay tab free in Geany on Ubuntu?

When I am coding in Python, tabs have always annoyed me. And the TAB is invisible. So strange.

When I open my code by

6条回答
  •  盖世英雄少女心
    2021-02-06 21:40

    I know I'm a bit late on this, but hopefully this answer might help someone else. With Geany closed, edit ~/.config/geany/geany.conf with some other editor, changing the lines:

    use_tab_to_indent=true
    indent_type=1
    

    to:

    use_tab_to_indent=false
    indent_type=0
    

    and the settings will "take".

提交回复
热议问题