I want to run powershell from vim and I have achieved it using the following mapping:
map <leader>cd :cd %:p:h<cr>:silent !powershell<cr>
The problem is that I can't do anything inside vim until I close the powershell window which somehow defeats the purpose. How can I tell vim to let go of the opened powershell so I could make changes in the file open in vim.
Maybe I am searching with wrong keywords and that's why I couldn't find a solution. Any help is appreciated.
:terminal powershell