vim-projectionist
autojump
vim-projectionist | autojump | |
---|---|---|
25 | 46 | |
1,033 | 15,960 | |
- | - | |
4.6 | 0.0 | |
about 2 months ago | 7 months ago | |
Vim Script | Python | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-projectionist
-
What plugins do you use to manage work across multiple files?
Tim Pope's projectionist for navigating to files of a particular category or to related files from the current one: https://github.com/tpope/vim-projectionist.
-
A few words on Ruby's type annotations state
> For myself, I'm fine with the typing being in a separate .rbs file
We type[0] by having one separate .rbs file per .rb file. Works really well with an editor's vertical splits: type outline on one side, code on the other. That, or use something like vim-projectionist[1].
[0]: (WIP: there's a huge codebase to type, but we're progressively getting there) https://github.com/DataDog/dd-trace-rb/tree/master/sig
[1]: https://github.com/tpope/vim-projectionist
-
What's the coolest thing you've done with Neovim?
One of the originals I guess must be tim pope's https://github.com/tpope/vim-projectionist
- Could use some advice for managing projects in a way that fits my mental model and codebase. Monolithic codebase with project files spread around different working directories. Or just help me change my mental model.
-
Project & File navigation
use https://github.com/tpope/vim-projectionist - define the relationships between files (example: app/*js are 'source' files and test/*js are 'test' files). Projectionist sets up `:A` to jump to the 'alternate' file (jump between a 'source' file and its 'test' for instance), and `:Esource` and `:Etest` commands to find/navigate by the kind of file. This is very powerful IMO - for projects with good structure I can quickly jump between related test/source/model/blah files very quickly using these commands. For projects without good structure I rethink or get the team to talk about how we might improve the project organization (ie, lack of structure is a code smell!)
-
New Plugin: telescope-alternate
I love Tpope’s https://github.com/tpope/vim-projectionist but this one seems like a great replacement 😎
-
JVM language users- how do you write your test files?
Tim Pope's excellent Projectionist plug-in has an alternate file feature, which makes it very easy to switch between test and implementation files.
-
other.nvim - open alternative files for the current buffer.
The plugin is inspired by vim-projectionist and https://github.com/vim-scripts/a.vim
-
vim-projectionist isn't autoloading in Vim
This feels like a bug, since the plugin doesn't behave as expected when following the installation section verbatim. I filed a bug here: https://github.com/tpope/vim-projectionist/issues/168
-
Auto-open unit test file
You need https://github.com/tpope/vim-projectionist. Gotta have a file structure for unit tests though.
autojump
- Autojump: A CD command that learns
-
Zshell
I also use zsh for years and did not know that. What I like this: Actually having completions shown in the screen and being able to navigate them with tabs. I think that is not a default behavior, but that is what oh-my-zsh does for you in its default setup. Does someone have more insight on that?
I did not know about this, but I use https://github.com/wting/autojump, so I am not super sad that I missed something that hold me back severely. But good to know.
-
Z – Jump Around
Yes, I made a similar keybinding for xonsh, using fd and fzf. I press Alt-c, and fzf shows me all the subdirectories rooted where I'm at.
That's a good intermediary solution. But the one that totally changed my flow was to combine autojump[1] and fzf. autojump is similar to Z (this submission). It stores all the directories you've visited in an SQLite DB and can show them to you (ordered by visit frequency) with a command line argument. So I pipe that to fzf.
Now I can extremely quickly jump to any directory I've been to before - it really helps that they're sorted by visit frequency. I honestly use this more than any other approach - and I probably go for days on end without using the usual TAB autocompletion.
[1] https://github.com/wting/autojump
-
Some Useful Bash Aliases – Chuck Carroll
Not quite the same but you should check out autojump if you haven’t before: https://github.com/wting/autojump
- Cdpath: Easily Navigate Directories in the Terminal
-
People who use the terminal all the time. What are you up to?
I switched to linux recently and iam loving it the speed and CLI tools that linux provides are amazing you can do anything imaginable in the terminal i use Spotify in the terminal navigate very very fast using auto-jump and its just easier than navigating all those uis and using the keyboard for everything is way faster and easier on your hand than the mouse and keyboard combination especially if you use a window manager
-
stupid Linux tricks - cd one shell to the current dir of another, without using the clipboard, mouse, or even the pwd command
If you're interested in these types of things take a look at https://github.com/agkozak/zsh-z or https://github.com/wting/autojump
-
Have you made a bash script that improved your life in some way? My examples
Have you tried autojump?
-
What terminal apps are you using?
Dont forget to try Autojump (https://github.com/wting/autojump). Makes CDing to folders such a breeze
-
Isn’t cd .. the only acceptable way?
I would think so but here is a link for anyone that can't find it: https://github.com/wting/autojump
What are some alternatives?
jumpwire.nvim - Jump easily between related files.
zoxide - A smarter cd command. Supports all major shells.
denite.nvim - :dragon: Dark powered asynchronous unite all interfaces for Neovim/Vim8
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
vim-rails - rails.vim: Ruby on Rails power tools
z - z - jump around
bufexplorer - BufExplorer Plugin for Vim
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
fzf.vim - fzf :heart: vim
fzf - :cherry_blossom: A command-line fuzzy finder
vim-grepper - :space_invader: Helps you win at grep.
z - Pure-fish z directory jumping