summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pgcli/key_bindings.py3
-rw-r--r--pgcli/pgclirc3
2 files changed, 1 insertions, 5 deletions
diff --git a/pgcli/key_bindings.py b/pgcli/key_bindings.py
index cda4fb6c..dbb4035c 100644
--- a/pgcli/key_bindings.py
+++ b/pgcli/key_bindings.py
@@ -12,8 +12,7 @@ def pgcli_bindings(pgcli):
"""Custom key bindings for pgcli."""
kb = KeyBindings()
- expand_tab = pgcli.config['main'].as_bool('expand_tab')
- tab_insert_text = ' ' * 4 if expand_tab else '\t'
+ tab_insert_text = ' ' * 4
@kb.add('f2')
def _(event):
diff --git a/pgcli/pgclirc b/pgcli/pgclirc
index 8b452506..78d78366 100644
--- a/pgcli/pgclirc
+++ b/pgcli/pgclirc
@@ -143,9 +143,6 @@ 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]
completion-menu.completion.current = 'bg:#ffffff #000000'