問題タブ [iterm2]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
212 参照

mysql - MySQL のめちゃくちゃな出力

MySQL から非常に奇妙な出力が表示されますが、コンソールが原因なのかデータが原因なのかわかりません。ここにいくつかのスクリーンショットがあります:

ここに画像の説明を入力

ここに画像の説明を入力

ここに画像の説明を入力

何か案は?

編集:

マックス

0 投票する
2 に答える
3434 参照

tmux - iTerm 2 が .tmux.conf で宣言されたキー バインディングを尊重しない

tmux (1.9a) の最新の自作ビルドで iTerm2 (2.0) の最新の安定バージョンを使用しています。残念ながら、で宣言されているキーバインドは.tmux.conf、「統合モード」の iTerm2/tmux コンボでは機能しません (つまり、iTerm2 が tmux ウィンドウとペインの管理を引き継ぐ場合)。iTermでさまざまなプレフィックス(Cb、Ma)とさまざまなキーマッピングを試しましたが、役に立ちませんでした。

これは本当に iTerm のバグですか? または、.tmux.conf キーバインディングが iTerm に引き継がれるという私の期待は間違っていますか? 私の tmux コマンド プレフィックス (Ma) でさえ機能しません!

https://gist.github.com/453ab63c42df976bc2beで私の tmux 構成ファイルを表示できます。

0 投票する
2 に答える
16499 参照

git - iTerm 2 での Git 構文の強調表示

iTerm 2 で構文を強調表示しようとしましたが、結果が得られませんでした。config git ( Mac の端末で Git 構文の強調表示を有効にする ) を試し、iTerm プロファイルで再生しましたが、結果に到達できません。

実際、私はこのセットのColbat2テーマを持っています: https://github.com/mbadolato/iTerm2-Color-Schemesと私のシェルは次のようになります:

そして、私はそれを次のようにしたい(ただし、私のカラープロファイルを使用):

これはできますか?


アップデート

それはのためにのみ機能しますgit status

0 投票する
0 に答える
809 参照

macos - Emacs keyboard bindings on OS X + iTerm2

I currently am using emacs via iTerm2 on OS X.

My keyboard setup works for the most part, but there are a few things that bug me.

  1. I am using the default iTerm2 keybindings with minor exception. I hard entered into emacs the escape sequences to get alt + arrow keys working:

    ;; iTerm2 key configs (define-key input-decode-map "\e[1;10A" [M-S-up]) (define-key input-decode-map "\e[1;10B" [M-S-down]) (define-key input-decode-map "\e[1;10C" [M-S-right]) (define-key input-decode-map "\e[1;10D" [M-S-left]) (define-key input-decode-map "\e[1;9A" [M-up]) (define-key input-decode-map "\e[1;9B" [M-down]) (define-key input-decode-map "\e[1;9C" [M-right]) (define-key input-decode-map "\e[1;9D" [M-left])

However, alt + left/right outside of emacs--say in bash--only records the raw character sequence: 9D;9C etc.

Most people online seem to recommend fixing this by binding the key combinations to ^]b and ^]f but obviously this isn't ideal because it breaks certain things in emacs (e.g. in Org Mode when M-left and M-right don't mean forward/backward word).

  1. I work off a laptop that has a function key. The page up and page down keys are hit by holding function and then up or down arrow. When I try this in cat it produces no output, so I can't see the escape sequence + put it into emacs. I would like to bind these key sequences to replace C-v and M-v.

Any help would be appreciated.

(Mods, for some reason I can't seem to format the code above properly.)

0 投票する
1 に答える
46 参照

terminal - 端末構成が正しくありません

特に、ターミナルのインストールの 2 つの部分で問題が発生しています。

最初はプロンプト領域です。108%の代わりに、新しい各行でどのように表示されているかを見てください>。に戻す方法を知りたい>です。

ターミナルの画像 - 108% 記号を見てください ![端末イメージ][1]

$EDITOR2 番目の問題は、tmuxの変数を機能させるために問題が発生していることです。

私は .tmux.conf ファイルを作成してセットアップし、次の行を使用してエディターを設定しようとしました。

0 投票する
1 に答える
949 参照

vim - なぜ私のvim分割ウィンドウラインはとても醜いのですか?

ウィンドウを分割すると、醜い分割線が表示されます。「|」の間に灰色のスペースがあるのはなぜだろうか セパレーター。「|」のみが必要です。

ちなみに私はmac iterm2を使っています。一部のvimプラグインがこれを引き起こしているのではないかと思いますが、よくわかりません。

ここに画像の説明を入力