Skip to content

Add a chdir() function to change the current directory#4358

Closed
yegappan wants to merge 2 commits intovim:masterfrom
yegappan:chdir
Closed

Add a chdir() function to change the current directory#4358
yegappan wants to merge 2 commits intovim:masterfrom
yegappan:chdir

Conversation

@yegappan
Copy link
Member

@yegappan yegappan commented May 7, 2019

Implements the following todo item:

Add a chdir() function, which will set the window-local, tab-local or global
directory, first one that is currently used. Returns the current directory,
so that this works:
let save_dir = chdir('somewhere')
...
call chdir(save_dir)

@brammool brammool closed this in 1063f3d May 7, 2019
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 7, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 7, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 7, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 8, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 9, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 11, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 12, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 12, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 12, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 12, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 16, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 17, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 17, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 17, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 17, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 17, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 17, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
lewis6991 pushed a commit to lewis6991/neovim that referenced this pull request Dec 12, 2021
Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358)
vim/vim@1063f3d

Also includes some documentation changes from patch 8.1.1218.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant