Tag Archives: default editor

Geany Set Up as Just a Text Editor

I have lately decided to use Geany as my default text editor. Geany handles text kindly. For a basic person like me it behaves likewise (which I appreciate). Geany is a text editor with IDE features. To display only the text editor part, I had set up Geany before. I am writing it down now to remember the settings, and to share to those who might find it handy.

Settings

General:   Misc:  Always wrap search      check
                  Hide the find dialog    check  # Ctrl + (Shift) + G
Interface: Intr:  Show sidebar          uncheck
           Note:  Show close buttons    uncheck  # Ctrl + W
           Tool:  Show toolbar          uncheck  # a few shortcuts learn
Editor     Feat:  Line wrapping           check
                  Code folding          uncheck  # change later?
                  Line breaking column       80  # typical
           Indn:  Width                       2  # two is good for mult-indnt
           Dspl:  Show line numbers     uncheck  # status bar display
                  Show markers margin   uncheck  # seldom use
                  Long line marker           80
                                        #d1d1d1
Files             Default EOL chars          LF
                  Ensure cons line end    check
                  Strip trailing s&t      check  # i remember easier

The message window I rarely use and can be turned off by doing View > Show Message Window and unchecking.

Key bindings useful to know

file:
  ctrl + n            new
  ctrl + o            open
  ctrl + s            save
  ctrl + shift + s    save as   (added)
  ctrl + w            close
  ctrl + r            reload
editor:
  ctrl + z            undo
  ctrl + y            redo
  ctrl + d            line duplicate
  ctrl + k            line delete
  ctrl + shift + del  eol erase to
  ctrl + shift + bck  bol erase to
  alt  + ↑/↓          line scroll
  alt  + pgup/pgdn    line move
search:
  ctrl + f            find
  ctrl + g            find again
  ctrl + shift + g    find previous
  ctrl + h            replace
go to:
  ctrl + l            line goto
  home                bol  # Left  override
  end                 eol  # right override
tabs:
  ctrl + tab          tab next