voldikss / vim-floaterm

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

How to change the default shell from cmd.exe to powershell? #368

Closed ArukovicCodes closed 2 years ago

ArukovicCodes commented 2 years 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.

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)

voldikss commented 2 years ago

https://github.com/voldikss/vim-floaterm#gfloaterm_shell should satisfy you

yk0n9 commented 1 year ago

if has('win64) || has('win32') let g:floaterm_shell='powershell' endif