From 83e17e825f1ad085b5eee66f5b27b3a700c35702 Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Sat, 16 Mar 2019 14:09:39 -0700 Subject: Remove the expand_tab option from pgclirc. --- pgcli/key_bindings.py | 3 +-- pgcli/pgclirc | 3 --- 2 files changed, 1 insertion(+), 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 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' -- cgit v1.2.3