Comments (6)
By pwd
you mean the parent directory of open file? Currently, we do the following:
- New File ---> current workspace is
~
- Open files (of a window) ---> current workspace is the common parent directory of the open files
Thus, if you have opened files in /Users/XYZ/Project/Awesome
, then only that directory is indexed. Is this what you mean or do you mean something else?
from vimr.
Almost that.
What I did:
- Open VimR;
NERDTree
;- On, NERDTree window:
B
, to see Bookmarks; - Select a Bookmark, Enter on it;
:pwd
- shows Bookmark path(/Users/XYZ/Project/Awesome
);Cmd + Shift + o
It indexes from /Users/XYZ
, instead of /Users/XYZ/Project/Awesome
.
from vimr.
I'll try to implement the following, assuming #3 (open in new tab) is already implemented:
- new window opens:
~
- open files using
Open in New Tab
: the common parent directory - when you issue
:cd XYZ
or the working directory is set toXYZ
in Vim by for instance a script like NERDTree:XYZ
from vimr.
Looks great!
How can I help?
from vimr.
1 and 2 are already there. As for the 3rd point, if you've got ObjC + Cocoa experience, it should be quite easy. Fork VimR and I'd suggest to do the following: MMVimController
of MacVim (-Framework) has -vimState
which is an NSDictionary
with a key @"pwd"
. However, when vimState
is set, no delegate method is called. Probably the best way would be to add a delegate method for that and implement it in VRMainWindowController
to set the workingDirectory
property of VRWorkspace
.
Please prefix your commits with the number of this issue, ie #15 such that we have a link between the issue and its associated commits.
from vimr.
consumes too much cpu time somehow
from vimr.
Related Issues (20)
- Vimr warns that inconsolata is not a monospace font
- Trackpad moves cursor instead of scrolling the window HOT 5
- E1502: Lua failed to grow stack to 4001 HOT 21
- filetype not detected in v0.46.0-20240102.233758 HOT 12
- Weird bug with keyboard layout
- Preview HTML files already open in the editor
- E1502: Lua failed to grow stack to 4001 HOT 1
- Settings not saved. Also, how to remove sidebars? HOT 1
- drag splits to resize buffers is very sensitive, cursor should change over drag locations HOT 1
- Command+s save crash HOT 1
- Frequent collapse, unable to use
- restore fullscreen
- Custom Tabs do not have enough contrast while using certain themes
- I found a replica of the crash HOT 1
- Themes with highlight groups using "links" to other groups do not propagate colors to SwiftUI properly HOT 2
- Screwed colors, black on black, with the new release
- Crash: newest version crash when use cd or lcd HOT 1
- Support older macOS version
- Right-Click context menu with mouse won't let me click. HOT 2
- VimR crashes sometimes when using the colorscheme catppuccin-macchiato
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimr.