vim-projectionist
vim-rails
vim-projectionist | vim-rails | |
---|---|---|
25 | 6 | |
1,033 | 4,077 | |
- | - | |
4.6 | 3.9 | |
about 2 months ago | 22 days ago | |
Vim Script | Vim Script | |
- | - |
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.
vim-rails
-
which-key and vim-rails collision
Hi, both folke/which-key.nvim and tpope/vim-rails have different gf mapping (Go to file under cursor). Is possible to disable gf mapping from which-key for favor of mapping in vim-rails within rail project?
-
Go to the Test shortcut
I use Tim Pope’s excellent vim-rails plugin for this. It provides all sort of rails navigation shortcuts and much more. What you specifically asked is :A. Here’s the link: https://github.com/tpope/vim-rails
-
Neovim config from scratch (Part II)
vim-rails framework support with enhanced file navigation gf and custom :Emodel, :Eview etc commands, :Rails to run rails/rake commands without leavinf your editor.
-
Syntax highlighting for eruby.yaml with rails.vim
I'm using rails.vim, and one thing it does is set config/**/*.yaml files to eruby.yaml because some YAML files support ERB interpretation. The problem I'm seeing is these end up with no syntax highlighting, while just filetype=yaml works no problem.
-
anyone here using neovim for ruby on rails projects?
Tim Pope has a many great plugins that work well for Ruby development: - tpope/vim-bundler - tpope/vim-rails
-
[Ruby+Rails performance tips] Recommendations to avoid slow loading of Ruby files
[Tip 3] Do not use the vim-rails plugin, it really slows down startup A LOT. I have switched over to Tim Pope's other project navigation plugin projectionist which can be configured to provide most of the functionality of vim-rails (but not all). For those interested here are my projectionist mappings. The stuff I miss out on, such as opening view files under the cursor just via :Eview, I can live without.
What are some alternatives?
jumpwire.nvim - Jump easily between related files.
nvim-dap-ruby
denite.nvim - :dragon: Dark powered asynchronous unite all interfaces for Neovim/Vim8
vim-ruby - Vim/Ruby Configuration Files
autojump - A cd command that learns - easily navigate directories from the command line
vim-textobj-ruby - Make text objects with various ruby block structures.
bufexplorer - BufExplorer Plugin for Vim
dotfiles - My dotfiles for Neovim, Fish, Bash, Vim, tmux, Git and other stuff
fzf.vim - fzf :heart: vim
ctags - A maintained ctags implementation
vim-grepper - :space_invader: Helps you win at grep.
vim-test - Run your tests at the speed of thought [Moved to: https://github.com/vim-test/vim-test]