You are not logged in.

#1 2024-05-08 18:31:48

tdthomas93
Member
Registered: 2024-05-08
Posts: 2

Command Prompt Randomly Inserted in Gvim Edits

I run Archlinux with i3-window manager.  Lately when doing Gvim edits I occasionally find my tcsh command-prompt randomly inserted in the text I am editing.  This also happens with regular Vim.  How can I figure out why this is happening?

I keep my Archlinux installation very up-to-date.  This first started happening about one month ago.  I do updates almost daily.

Offline

#2 2024-05-08 21:18:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,989

Re: Command Prompt Randomly Inserted in Gvim Edits

Just a guess: Some vim script and you've a more elaborate prompt and don't restrict it to interactive shells?
Does it happen w/ a new user or basic shell rc and stock vimrc?

Offline

#3 2024-05-08 23:26:37

tdthomas93
Member
Registered: 2024-05-08
Posts: 2

Re: Command Prompt Randomly Inserted in Gvim Edits

Thanks for the idea.  I will try using /usr/bin/sh for a while instead of /usr/bin/tcsh.  The tcsh prompt is just the string "bob %", which is probably considered simple, and in addition to the prompt, error messages to the shell also appear in the text. 

The problem must be in the Vim config files.  I will look through those.  I was hoping someone else had a similar problem.  THanks.

Offline

Board footer

Powered by FluxBB