4

Sublime Text 2のみbackspaceの単語を削除しないキーバインドに問題があります。スペースを戻すには、削除したい文字を強調表示してバックスペースを押すか、戻るために使用する必要があります。また、1 文字だけではなく、入力した単語を消去します。また、backspace と同じことを行うと仮定しても、効果はありません。ctrl + zctrl + backspaceshift + backspace

sublime_log_commands(True)キーバインドをリアルタイムで表示できるようにしました。ログには適切なバインドが行われていることが表示されますが、文字はまったく削除されません。

backpace=>command: left_delete

shift + backspace=>command: left_delete

&

Ctrl + backspace=> command: delete_word {"forward": false}(これで大丈夫です)

次に、FindKeyConflictsプラグインをインストールして競合があるかどうかを確認しましたが、出力は問題ないようです。

[shift+backspace]
left_delete                              Default
  .
  .
  .
[ctrl+shift+backspace]
left_delete                              Default               
run_macro_file                           Default
 .
 .
[ctrl+backspace]
delete_word                              Default 
.
 .
[backspace]
left_delete                              Default               
run_macro_file                            Default           
         [{"operator": "equal", "operand": true, "key": "setting.auto_match_enabled"}, {"operator":            
        "regex_contains", "operand": "^\"", "match_all": true, "key": "following_text"}, {"operator": 
        "regex_contains", "operand": "\"$", "match_all": true, "key": "preceding_text"}, {"operator": 
         "equal", "operand": true, "match_all": true, "key": "selection_empty"}]
run_macro_file                           Default            
          [{"operator": "equal", "operand": true, "key": "setting.auto_match_enabled"}, {"operator": 
         "regex_contains", "operand": "^'", "match_all": true, "key": "following_text"}, {"operator": 
          "regex_contains", "operand": "'$", "match_all": true, "key": "preceding_text"}, {"operator": 
         "equal", "operand": true, "match_all": true, "key": "selection_empty"}]
 run_macro_file                           Default              
          [{"operator": "equal", "operand": true, "key": "setting.auto_match_enabled"}, {"operator":  
          "regex_contains", "operand": "^\\)", "match_all": true, "key": "following_text"}, 
         {"operator": "regex_contains", "operand": "\\($", "match_all": true, "key": "preceding_text"}, 
          {"operator": "equal", "operand": true, "match_all": true, "key": "selection_empty"}]
 run_macro_file                           Default               
         [{"operator": "equal", "operand": true, "key": "setting.auto_match_enabled"}, {"operator": 
         "regex_contains", "operand": "^\\]", "match_all": true, "key": "following_text"}, {"operator":  
         "regex_contains", "operand": "\\[$", "match_all": true, "key": "preceding_text"}, {"operator": 
           "equal", "operand": true, "match_all": true, "key": "selection_empty"}]
 run_macro_file                           Default              
          [{"operator": "equal", "operand": true, "key": "setting.auto_match_enabled"}, {"operator": 
          "regex_contains", "operand": "^\\}", "match_all": true, "key": "following_text"}, 
           {"operator": "regex_contains", "operand": "\\{$", "match_all": true, "key": 
           "preceding_text"}, {"operator": "equal", "operand": true, "match_all": true, "key": 
           "selection_empty"}]
run_macro_file                           CSS                  
          [{"operator": "equal", "operand": true, "key": "setting.auto_match_enabled"}, {"operator": 
          "regex_contains", "operand": "^;", "match_all": true, "key": "following_text"}, {"operator": 
          "regex_contains", "operand": ":$", "match_all": true, "key": "preceding_text"}, {"operator": 
           "equal", "operand": true, "match_all": true, "key": "selection_empty"}, {"operator":  
          "equal", "operand": "source.css - meta.selector.css", "match_all": true, "key": "selector"}]

通常の操作を復元する方法について誰かが提案や回避策を持っている場合はbackspace、ぜひ聞きたいです。

4

7 に答える 7

2

あなたはそれが問題を修正したと言ったので、私はそれを答えとして追加します:

すべてのインスタンスを閉じ、Sublime Text 2フォルダーに移動し、名前をSublime Text 2 - Backup (Linux の場合、sublime-text-2.backup) に変更します。大切なものを失わないように。崇高を再開します。これにより、前述のフォルダーがデフォルトのバインディングで再追加され、追加のプラグインは追加されません。

問題の原因を確認するには、使用していたプラグインを 1 つずつ追加し直して、どのプラグインがバックスペースを壊しているかを確認します。また、競合するキー バインディングの問題になる可能性もあります。したがって、プラグインと同じ方法で個人バインディングを追加します。

于 2013-02-06T00:30:31.193 に答える
2

私は同じ問題を抱えています、見て、私はこの問題を解決する方法を探しました、それはこの方法です:

  1. 崇高なテキストを再インストールする

  2. 16 進エディター ソフトウェアで、Fedora/Ubuntu 用の Ghex を使用し、それを実行して [ファイル] メニューから [開く] を選択し、崇高なテキスト実行可能ファイル (インストール フォルダー) を開きます。 、33を32に置き換え、保存してから実行してライセンスを貼り付けます。これですべてです。バックスペースキーが機能するはずです。Sublime Text 2.0.2 (Linux バージョン) でテスト済み

于 2013-10-02T20:00:23.617 に答える
0

Kubuntu のインストールでこの問題が発生しました。それは非常に単純です: 崇高なものをクラックしようとすると、33 42 の 16 進値を 32 42 に変更すると、255 文字の後に単純なバックスペース (left_delete) と del (right_backspace) がブロックされます。(試してみてください: 256 文字を書き、最後の文字を削除してみてください)。

この問題の回避策は、削除する文字を選択してから、left_delete/right_delete を実行することです。

この問題を解決したい場合は、他の提案に従ってください。つまり、サブライムを再インストールしてください (未登録バージョンで)。

この問題は、Windows では見つかりません。

于 2014-01-16T10:54:56.700 に答える
0

Preferences -> Key Binding - Default search for keys aliases に簡単に移動し、必要なものを編集して保存します。

于 2014-03-17T10:01:59.030 に答える
0

これは私に(SublimeText3で)起こったばかりで、バックグラウンドで「これは無料のコピーです」というアラートがまだ開いていることがわかりました。それを閉じると、問題が修正されました。

于 2013-12-09T23:26:27.483 に答える