Its a black art to choose settings which is sensible.
I prefer using the F1-F12 keys for the most common operations.
Many operations can be applied both forward and backwards on the buffer, for instance search operations such as jump-to-next-error. F8 = execute backwards. F9 = execute forwards.
Why did I choose these 2 keys, because they are easy to reach with the right hand (Im righthanded). If I had chosen F10 or F11 I would have to count number of keys. I believe execute is a very important operation.
There is operations which you may wish to perform, again and again: play-macro, search, replace, goto-next-bookmark, goto-next-error. We need a popup menu where we can choose among these operations, for instance F10. When this popup is open and we continue pressing F10 then we can cycle through the available operations. We hit ENTER to choose the operation and the window closes.
Configuration at different levels.
The dotfile describes how the global settings should be like, such as: look and feel, keybindings, plugins. How should such file be like?
type_ruby = mk_type("Ruby") do |type_matcher|
type_matcher.suffix(".rb", "normal ruby file")
type_matcher.suffix(".rbx", "mod-ruby")
end
with(type_ruby) do
use_lexer("lexer_ruby") do |lexer|
lexer.lines_lookback(40)
lexer.heredoc_lexer("EORUBY", "ruby")
lexer.heredoc_lexer("EOHTML", "html")
lexer.heredoc_lexer("EOCSS", "css")
lexer.heredoc_lexer("EOXML", "xml")
end
tabsize = 2
wordwrap = false
end
look_and_feel do
theme = "white_on_black"
animate_vscroll = 5
animate_fold_collapse = 3
end