https://github.com/tyru/sync-term-cwd.vim
Sync your shell's working directory with Vim
https://github.com/tyru/sync-term-cwd.vim
Last synced: 12 months ago
JSON representation
Sync your shell's working directory with Vim
- Host: GitHub
- URL: https://github.com/tyru/sync-term-cwd.vim
- Owner: tyru
- Created: 2019-08-03T00:11:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T09:57:40.000Z (over 5 years ago)
- Last Synced: 2025-01-14T07:15:53.591Z (over 1 year ago)
- Language: Vim script
- Homepage:
- Size: 15.6 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sync-term-cwd.vim
Sync your shell's working directory with Vim.
When you run `cd` command in the shell in Vim's `:terminal`,
this plugin automatically sets the current working directory in Vim too.
# Setup
Add below to your `.bashrc` / `.zshrc`.
```
source (this repository)/macros/synctermcwd.sh
```
See vim help (`:help synctermcwd`) for more configuration.