summaryrefslogtreecommitdiffstats
path: root/pgcli/pgclirc
diff options
context:
space:
mode:
authorArtur Balabanov <arturb@mustardsystems.com>2018-07-27 17:07:18 +0100
committerArtur Balabanov <arturb@mustardsystems.com>2018-07-27 17:07:18 +0100
commit676b5e6ff667aaa4d8d6e721576f86aaf5300af0 (patch)
treeacd3594920042975b55176ad9e486b99d768b608 /pgcli/pgclirc
parent2870103d5d2f00e6b35c615592714266ca3223f4 (diff)
Add a config option -- expand_tab. If set, \t character will be replaced by 4 spaces when a <Tab> key is pressed on an empty line
Diffstat (limited to 'pgcli/pgclirc')
-rw-r--r--pgcli/pgclirc3
1 files changed, 3 insertions, 0 deletions
diff --git a/pgcli/pgclirc b/pgcli/pgclirc
index fd32752a..6cd35727 100644
--- a/pgcli/pgclirc
+++ b/pgcli/pgclirc
@@ -143,6 +143,9 @@ enable_pager = True
# Use keyring to automatically save and load password in a secure manner
keyring = True
+# When the <Tab> key is pressed on an empty line, use 4 spaces instead of \t
+expand_tab = False
+
# Custom colors for the completion menu, toolbar, etc.
[colors]
Token.Menu.Completions.Completion.Current = 'bg:#ffffff #000000'