Add a chdir() function to change the current directory#4358
Closed
yegappan wants to merge 2 commits intovim:masterfrom
Closed
Add a chdir() function to change the current directory#4358yegappan wants to merge 2 commits intovim:masterfrom
yegappan wants to merge 2 commits intovim:masterfrom
Conversation
…he directory of the current window
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)