diff options
author | hut <hut@lavabit.com> | 2009-07-03 17:20:06 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-03 17:20:06 +0200 |
commit | 3dbfe7e8e04a9b3d7551987325f018c338e7d398 (patch) | |
tree | ccb2edefb267d8e9b158c159460aa2fad4a0bcbf | |
parent | f8634dd6d2477d1871764982fe8d55f2003ab938 (diff) | |
download | ranger-3dbfe7e8e04a9b3d7551987325f018c338e7d398.tar.gz |
small changes
-rw-r--r-- | code/keys.rb | 5 | ||||
-rw-r--r-- | data/apps.rb | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/code/keys.rb b/code/keys.rb index d4021ff2..915c6474 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -8,6 +8,7 @@ module Fm um + /:[^<]*/ /[fF/!].*/ /r\d*\w*[^r]/ /(cw|cd|mv).*/ @@ -134,8 +135,8 @@ module Fm closei system('clear') ls = ['ls'] - ls << '--color=auto' if Option.color - ls << '--group-directories-first' if Option.color + ls << '--color=auto' #if Option.color + ls << '--group-directories-first' #if Option.color system(*ls) system('bash') @pwd.schedule diff --git a/data/apps.rb b/data/apps.rb index 89b8a9cc..921306b1 100644 --- a/data/apps.rb +++ b/data/apps.rb @@ -101,7 +101,7 @@ module Application def vi(files) commands = [ - 'map h :quit<cr>', + 'map h ZZ', 'map q h', 'map H :unmap h<CR>:unmap H<CR>:unmap q<CR>', ].map {|x| "+'#{x}'"}.join(' ') |