Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこのクールなexrcファイルを見つけて、Fキーを何かにしました。たとえばmap #2 :set number、exコマンドにそれを入れて、Enterキーを押して確認します。ただし、閉じるものを作成しました(map #4 :q)。自動的にEnterが追加されるといいので、最初にEnterを押さなくても閉じます。それから私はただ叩いてそれを閉じます。
map #2 :set number
map #4 :q
その入力文字を追加するにはどうすればよいですか?
<CR>マッピングの最後に追加するだけです:
<CR>
map <F4> :q<CR>
を参照してください:help key-notation。
:help key-notation