2015-01-04 08:31:17 +00:00
|
|
|
# vi: ft=dosini
|
2014-11-27 23:02:54 +00:00
|
|
|
[main]
|
2015-01-04 08:31:17 +00:00
|
|
|
|
|
|
|
# Enables context sensitive auto-completion. If this is disabled the all
|
|
|
|
# possible completions will be listed.
|
2014-12-29 22:40:14 +00:00
|
|
|
smart_completion = True
|
2015-01-04 08:31:17 +00:00
|
|
|
|
2015-07-30 20:16:08 +00:00
|
|
|
# Display the completions in several columns. (More completions will be
|
|
|
|
# visible.)
|
2015-08-02 23:25:05 +00:00
|
|
|
wider_completion_menu = False
|
2015-07-30 20:16:08 +00:00
|
|
|
|
2015-01-04 08:31:17 +00:00
|
|
|
# Multi-line mode allows breaking up the sql statements into multiple lines. If
|
|
|
|
# this is set to True, then the end of the statements must have a semi-colon.
|
|
|
|
# If this is set to False then sql statements can't be split into multiple
|
|
|
|
# lines. End of line (return) is considered as the end of the statement.
|
2014-12-29 22:40:14 +00:00
|
|
|
multi_line = False
|
2015-01-04 08:31:17 +00:00
|
|
|
|
|
|
|
# log_file location.
|
2015-09-12 09:16:54 +00:00
|
|
|
log_file = ~/.config/pgcli/log
|
2015-01-04 08:31:17 +00:00
|
|
|
|
2015-07-29 15:58:20 +00:00
|
|
|
# history_file location.
|
2015-09-12 09:16:54 +00:00
|
|
|
history_file = ~/.config/pgcli/history
|
2015-07-29 15:58:20 +00:00
|
|
|
|
2015-01-04 08:31:17 +00:00
|
|
|
# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
|
|
|
|
# and "DEBUG".
|
|
|
|
log_level = INFO
|
2015-01-28 07:05:00 +00:00
|
|
|
|
2015-02-12 22:38:06 +00:00
|
|
|
# Timing of sql statments and table rendering.
|
2015-01-28 07:05:00 +00:00
|
|
|
timing = True
|
|
|
|
|
|
|
|
# Table format. Possible values: psql, plain, simple, grid, fancy_grid, pipe,
|
|
|
|
# orgtbl, rst, mediawiki, html, latex, latex_booktabs.
|
|
|
|
# Recommended: psql, fancy_grid and grid.
|
|
|
|
table_format = psql
|
2015-02-04 07:31:35 +00:00
|
|
|
|
2015-02-12 22:38:06 +00:00
|
|
|
# Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt,
|
|
|
|
# native, perldoc, borland, tango, emacs, friendly, monokai, paraiso-dark,
|
2015-02-04 07:31:35 +00:00
|
|
|
# colorful, murphy, bw, pastie, paraiso-light, trac, default, fruity
|
2015-05-02 15:01:57 +00:00
|
|
|
syntax_style = default
|
2015-02-12 22:38:06 +00:00
|
|
|
|
2015-08-02 23:21:29 +00:00
|
|
|
# Keybindings:
|
|
|
|
# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL.
|
|
|
|
# When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E
|
|
|
|
# for end are available in the REPL.
|
2015-02-12 22:38:06 +00:00
|
|
|
vi = False
|
2015-05-29 15:04:02 +00:00
|
|
|
|
2015-10-01 12:15:38 +00:00
|
|
|
# Error handling
|
|
|
|
# When one of multiple SQL statements causes an error, choose to either
|
|
|
|
# continue executing the remaining statements, or stopping
|
|
|
|
# Possible values "STOP" or "RESUME"
|
|
|
|
on_error = RESUME
|
|
|
|
|
2015-08-07 04:14:49 +00:00
|
|
|
|
|
|
|
# Custom colors for the completion menu, toolbar, etc.
|
|
|
|
[colors]
|
|
|
|
Token.Menu.Completions.Completion.Current = 'bg:#ffffff #000000'
|
|
|
|
Token.Menu.Completions.Completion = 'bg:#008888 #ffffff'
|
|
|
|
Token.Menu.Completions.Meta.Current = 'bg:#44aaaa #000000'
|
|
|
|
Token.Menu.Completions.Meta = 'bg:#448888 #ffffff'
|
2015-08-08 20:12:55 +00:00
|
|
|
Token.Menu.Completions.MultiColumnMeta = 'bg:#aaffff #000000'
|
2015-08-07 04:14:49 +00:00
|
|
|
Token.Menu.Completions.ProgressButton = 'bg:#003333'
|
|
|
|
Token.Menu.Completions.ProgressBar = 'bg:#00aaaa'
|
|
|
|
Token.SelectedText = '#ffffff bg:#6666aa'
|
2015-08-08 20:12:55 +00:00
|
|
|
Token.SearchMatch = '#ffffff bg:#4444aa'
|
|
|
|
Token.SearchMatch.Current = '#ffffff bg:#44aa44'
|
2015-08-07 04:14:49 +00:00
|
|
|
Token.Toolbar = 'bg:#222222 #aaaaaa'
|
|
|
|
Token.Toolbar.Off = 'bg:#222222 #888888'
|
|
|
|
Token.Toolbar.On = 'bg:#222222 #ffffff'
|
2015-08-08 20:12:55 +00:00
|
|
|
Token.Toolbar.Search = 'noinherit bold'
|
|
|
|
Token.Toolbar.Search.Text = 'nobold'
|
|
|
|
Token.Toolbar.System = 'noinherit bold'
|
|
|
|
Token.Toolbar.Arg = 'noinherit bold'
|
|
|
|
Token.Toolbar.Arg.Text = 'nobold'
|
2015-08-07 04:14:49 +00:00
|
|
|
|
|
|
|
# Named queries are queries you can execute by name.
|
2015-05-29 15:04:02 +00:00
|
|
|
[named queries]
|
|
|
|
|