diff options
-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(' ') |