tmux + neovimの環境で変更されたファイルを自動で再読込する

  1. neovimの設定に下記を追加
vim.o.autoread = true
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter" }, {
pattern = "*",
command = "checktime",
})
  1. tmuxの設定に下記を追加
Terminal window
set -g focus-events on
Google API の OAuth2.0 クライアント IDを「ウェブアプリケーション」で作るとエラーになる