Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Copyright 2005, by The Rubyists (bougyman,trey,deathsyn)* Licensed under the Gnu Public License, which should be included in licence/GPL.txt.
If you did not receive this licence file you can contact the author for a copy at bougy dot man at gmail dot com, or see the latest version at http://www.gnu.org/copyleft/gpl.html.
This is a little command wrapper for screen + vim to give you a nice IDE session for rails development. Console junkies should like it, but through the use of Escreen it can be GUI friendly as well.
After installing the gem, change to a rails_root and run the command: RailsEditor
The gem install should have linked RailsEditor to a location in your run path Then you'll have ./script/editor available
./script/editor -? for usage (from the RAILS_ROOT).
BASIC USAGE
This is most likely only useful for console junkies, but may help for any vim user in a pinch that has to make console edits (ssh or what-not).
On startup (./script/editor) you'll have a variety of windows set up for rails dev. Many will have VIM sessions in File Browser mode, others will be shells dedicated to a certain task. Screen 0 is for watching logs, screen 1 will run a console that will restart itself on exit. The ide gets more powerful for experienced 'screen' users with split screen modes and other goodies.
GENERAL SCREEN TIPS Screen is a terminal interface which allows one to have multiple virtual terminals within it. Think of it as a window manager for console. It accepts commands by first typing the escape key then the screen command. The default escape key for screen is CTRL-a, generally represented as C-a in the screen manpage, so we'll do so here. Common commands follow:
See man screen for a full descriptiong. Some things we like to do is change the default escape key (to Ctrl-f, Ctrl-j, Ctrl-y) to something more friendly as a keystroke. This is accomplished by C-a :escape ^Yy, in the case of Ctrl-y. You can set this permanently by modifying config/.screenrc.code.erb.
VIM ADDITIONS
SPLIT SCREEN
A new caption line will appear when you split screens in 'screen' (C-a S). At this time there is no way to remove the hardstatus global statusline automatically, so i've bound F8 and F9 to turning on and off (respectively) the hardstatus line to avoid duplicate statusbars.
FAQs
Unknown package
We found that RailsEditor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.