diff options
Diffstat (limited to 'ranger/defaults/options.py')
-rw-r--r-- | ranger/defaults/options.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py index e5ba8679..d2df0b05 100644 --- a/ranger/defaults/options.py +++ b/ranger/defaults/options.py @@ -12,9 +12,7 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -from ranger.defaults import apps, keys -from ranger import colorschemes -import re +from ranger.api.options import * colorscheme = colorschemes.default @@ -32,5 +30,4 @@ show_hidden = False collapse_preview = True autosave_bookmarks = True -hidden_filter = re.compile( \ - r'^\.|~$|\.(:?pyc|pyo|bak|swp)$') +hidden_filter = regexp(r'^\.|~$|\.(:?pyc|pyo|bak|swp)$') |