I want to switch the current working directory of the tab to the current global working directory. How do I do that as a mapping?
I tried to make a mapping as follows
nnoremap <leader>tcd :tcd getcwd()<CR>:pwd<CR>
But it looks like :tcd expects a path. How do I evaluate getcwd() inside so it returns the path as a string?
Tried echo and call but it seems like I am doing it wrong ...
tcd?