voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.48k stars 78 forks source link

E492: Not an editor command: tcd /home/jerry #401

Closed jerrywang1981 closed 1 year ago

jerrywang1981 commented 1 year ago

Before reporting

Environment

If you are using vim(not neovim), fill in the following blanks

If you are using neovim, just run :checkhealth floaterm and post the content

below.

Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):

Describe your question, feature request, or bug.

run command :FloatermNew and got message:

Error detected while processing function floaterm#run[7]..floaterm#new[36]..floaterm#terminal#open[22]..floaterm#path#chdir:

E492: Not an editor command: tcd /home/jerry

Steps to reproduce

Using the minimal vimrc

set nocompatible
set hidden
set termguicolors
set runtimepath^=/path/to/vim-floaterm
filetype plugin indent on
syntax on

Steps to reproduce the behavior:

Actual behaviour

Expected behaviour

Screenshots(Optional, GIF is better)

image

voldikss commented 1 year ago

Closed by #402