Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FEATURE] Allow opening terminal without automatically entering insert mode

オープン
#145 コメント 4 件 リアクション 18 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
lua, neovim
領域
tooling

調査の方向性

まず、ターミナルプロバイダーがフォーカスと挿入モードの動作をどのように処理しているかを追跡し、次に要求された terminal.snacks_win_opts の値を既存の snacks 統合と比較します。設定されたターミナルオプションが尊重される状態で、ターミナルを開いたりフォーカスしたりしてもノーマルモードのままでいられれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Feature Description

I would like an option where when I move my cursor to the terminal, it doesn't automatically enters terminal mode but stays in normal mode

Use Case

I move around a lot and it always trips me up when my navigation buttons do not work anymor because they are trapped by the terminal in neovim.

Proposed Solution

I tried passing these options, I have also set for the snacks terminal, where they work as expected.
It would nice if it would respect those options by default if they are configured in snacks terminal or pass them like this.

---@type LazySpec
return {
	"coder/claudecode.nvim",
	dependencies = { "folke/snacks.nvim" },
	opts = {
		terminal = {
			provider = "snacks",
			snacks_win_opts = {
				start_insert = true,
				auto_insert = false,
				auto_close = true,
			},
		},
	},
	keys = {
		{ "<leader>ac", "<cmd>ClaudeCode<cr>", desc = "Toggle Claude Code" },
		{ "<leader>as", "<cmd>ClaudeCodeSend<cr>", mode = "v", desc = "Send to Claude Code" },
		{ "<leader>ast", "<cmd>ClaudeCodeStatus<cr>", desc = "Claude Code Status" },
	},
}
主要言語
Lua
スター
3.1k
フォーク
217
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/claudecode.nvim のほかの issue

coder/claudecode.nvim の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。