タグ

2023年3月19日のブックマーク (1件)

  • Vim Input Method Editor

    この記事はVim駅伝の7目の記事です。 VimをIME代わりにするVIMEというソフトウェアがvim-jpで紹介された際に試しましたが上手く動かなかったので、カッとなって作ったスクリプトを紹介します。 #!/bin/bash -u wezterm start --class Floaterm nvim /tmp/clip || exit 1 if [[ -e /tmp/clip ]]; then head -c -1 /tmp/clip | xclip -selection clipboard notify-send -t 1000 copied rm -f /tmp/clip fi すると Mod4(Super)+c を押すと画面中央にWezTerm+Vimが立ち上がります。後はコピーしたい内容を入力し保存終了したらクリップボードにコピーされるので貼り付けるだけです。自作の日本語入力

    Vim Input Method Editor
    homaju
    homaju 2023/03/19