Chris Hunt - Impressive Ruby Productivity with Vim and Tmux - Ancient City Ruby 2013

  Рет қаралды 120,830

Hashrocket

Hashrocket

Күн бұрын

Пікірлер: 51
@marioaviles546
@marioaviles546 8 жыл бұрын
thanks i've been using vim/tmux for a year now and I am very happy
@AndyThomasStaff
@AndyThomasStaff 9 жыл бұрын
There are many Vim talks available with misleading titles. A talk about "impressive productivity" that shows you how to enter insert mode 13 minutes in...something is wrong here! I would expect to be told how to be as productive as a real IDE with real debugging capabilities. I'm a Vim fanatic but if you need to do any sort of real debugging or refactoring I would pull out an IDE with no question. Still looking for the video that convinces me otherwise.
@JustSujC
@JustSujC 8 жыл бұрын
+Andy I'm with you on this one... I've installed and tried text editors but I still can't see the advantages over an IDE. Guys I see running Vim or emacs have an IDE in the background in case they need to do debugging, which seems to defeat the purpose of Vim/emacs in the first place.
@igaurab
@igaurab 4 жыл бұрын
This is so true.
@benb6527
@benb6527 6 жыл бұрын
I like vim a lot, and I learned many things from this video. However, the criticism of RubyMine is unfair. I use RubyMine every day and his workflow is nearly identical to my workflow in RubyMine, and every command he does is possible in RubyMine. The only thing I learned from this video, however, is how to do things I do in RubyMine with vim.
@trolleycaeser
@trolleycaeser 8 жыл бұрын
Is there a way to change the highlight of the status bar for error related outputs only (instead of any activity)?
@NicholasCancelliere
@NicholasCancelliere 11 жыл бұрын
To be fair about RubyMine - you don't have to have the project panel (on the left) or console / stdout panel (below) open if you don't want, giving you a full screen editor. You can use keystrokes to jump to files (same as Sublime), and I think having the console below is handy and it's smart about hyperlinking to the file and line making it easy to jump to something in a stacktrace. RubyMine does have a learning curve, but nothing more difficult than what people who want to learn Vim suffer.
@DGDG0000000
@DGDG0000000 7 жыл бұрын
Nicholas Cancelliere also, a big argument should be: rubymine has an expensive price, it is a fashion GUI tool for rich people. I m not rich, and I no need GUI heavy tools.
@RomanTataurov
@RomanTataurov 6 жыл бұрын
I can add an arguments. RubyMine has a bugs which was not fixed for years. For example intellij-support.jetbrains.com/hc/en-us/community/posts/206702875-Disappearing-cursor I can confirm this bug and even did a bug report which was just ignored as many others. This was one of reasons why I do not use it anymore. Another one was request to buy new version after year of using previous one. So if you want new features - just buy new version - very annying thing. So buying it prepare to pay sam price about yearly.
@CodecrafterArtemis
@CodecrafterArtemis 10 жыл бұрын
The only problem I really have with Vim is the lack of copy-paste to system buffer. Console Vim is often compiled without X11 buffer support, and if you need to copy/paste something between vim and other app in tmux over ssh... It gets complicated.
@CodecrafterArtemis
@CodecrafterArtemis 10 жыл бұрын
Lit Wakefield I'll try with "set clipboard=unnamedplus", thank you.
@knowlen
@knowlen 7 жыл бұрын
Comment is 2 years old, but just in case ppl were wondering; you can hold shift to copy text in/out of Vim. Make sure you max the pane if you're working in tmux (ctrl+b, z) -as it can sometimes grab text from other tmux panes.
@ChristopherJones242
@ChristopherJones242 10 жыл бұрын
So how do you run Firefox in tmux? Oh, wait.
@DwayneMacgowan
@DwayneMacgowan 11 жыл бұрын
i use RubyMine a lot and my window NEVER looks like that.
@DGDG0000000
@DGDG0000000 7 жыл бұрын
Dwayne Macgowan how much money to loose for have same functionalities and fashion look with $rubymine$ ? And how much.... Every year ! OMG. ..
@Medic23451
@Medic23451 7 жыл бұрын
It's great how most of the screen is just the completely pointless background and fake screen. Like seriously, who thought that was a good idea?
@hlfcoder7466
@hlfcoder7466 6 жыл бұрын
Seems pretty disingenuous to criticize RubyMine and Sublime for their lack of editing space, when you could easily close the project explorer and output windows. Not to mention go full screen. Don't get me wrong, I love Vim but those aren't valid complaints.
@dominicnunes2709
@dominicnunes2709 10 жыл бұрын
lol his Rubymine window. It would probably help to close some of those tabs and decrease the size of the file tree, it's taking up a quarter of his screen. Everybody complains about Rubymine's layout, but if you use it logically it can look as clean as Sublime Text or Vim.
@Tsumanu
@Tsumanu 9 жыл бұрын
Additionally, you can run your rails server in RubyMine, and you have log inside this window. Typical for VIM evangelist. I using VIM for JavaScript and C++ but for Ruby this just not working well.
@frydac
@frydac 7 жыл бұрын
Also there is an ok'ish vim plugin for rubymine, and of course its possible to learn shortcuts to toggle the filetree and other windows. Vim doesn't need this kind of 'false' comparison which imo undermines the credibility of the speaker.
@RedRumIzzy
@RedRumIzzy 9 жыл бұрын
The Impressive in the title should be in quotes. I want to see this person actually DOING these things fast. Pointless presentation.
@lxathu
@lxathu 8 жыл бұрын
+Red Rum Relativity is the key. Yes, ViM is impressive... compared to editors in its size and category. Not mentioning that IDEs in their own area can be much more impressive is not fair. Even if there are (rarely used) functions of ViM that are found nowhere else, no doubt I'd trigger an eclipse-based bloatware when it's really a project and not just a codelet for fun. Sure... then I would type meaningless :wq or ZZ or /blabla several times...
@RedRumIzzy
@RedRumIzzy 8 жыл бұрын
+Sándor Gombai I agree that ViM has some cool features. I have spent/wasted many months learning all the obscure commands, but then I realized that (1) I don't spend my time typing out reams of code. Rather I spend my time reading code, debugging code, navigating code and just thinking about code. (2) The amount of time you spent memorizing these commands is overwhelmingly large compared to the millisecond savings in the general case (I'm sure there are outliers, but I'd could use a different data processing tool in those cases ) (3) full fledged IDEs (depending on your programming language) offer much better tech when it comes to debugging and navigating code.
@julkip
@julkip 10 жыл бұрын
It would be nice to have all the shortened URLs in the comments
@justgiz
@justgiz 9 жыл бұрын
In the first examples he showed the cluttered screen. Why not maximize the windows?
@MrLiminade
@MrLiminade 9 жыл бұрын
What colorscheme are you using? It's really nice.
@biomorphic
@biomorphic 6 жыл бұрын
First of all, Ruby is dead, and I'm happy because it sucks. Second, I don't really see any improvement in your productivity here. Where are the refactoring features, where is the static code analysis that Rubymine provides? Better alternative to Tmux is i3, which is a window manager. In Rubymine you can easily display just the code. Vim is terrible, it's the only editor with two modes, insert and command. That's ridiculous. I love the command line, but Vim is awful and it cannot be compared to an IDE as Rubymine.
@Egzvorg
@Egzvorg 6 жыл бұрын
What makes you think Vim is terrible? Did you try to use it? I agree it cannot be compared to _any_ IDE because it's just a text editor and should be used accordingly.
@ShamelessHorse
@ShamelessHorse 10 жыл бұрын
0:14 I seriously thought that was Denzel Washington, is that racist? Probably, but I also thought the other guy was Robert DeNiro, lol. If you squint a little it really looks like them; okay, squint, lean back, make very little effort to focus on either of them, assume that you are looking at a still from a movie starring Denzel Washington and Robert DeNiro and do all the above without having slept for 32 hours.
@armandoo2011
@armandoo2011 11 жыл бұрын
One point in favor of vim respect to other text editors is that once it is learned it can be used in several applications, for instance on the command line, in firefox, chrome, mutt, pine, etc...
@myyoutubepage1
@myyoutubepage1 6 жыл бұрын
Nice seeing people sharing their workflow. I got a lot out of this :)
@SamirAbuLina
@SamirAbuLina 4 жыл бұрын
I like vim too and try to turn it into an IDE with coc.nvim. But i think the screenshot with the tiny edit window is unfair since im pretty sure you can maximize it with a shortcut. It's the same as if someone takes a screenshot of vim with 20 splits and says how its impossible to code like that.
@JB12JB
@JB12JB 9 жыл бұрын
I'm so lost from the beginning. Don't know if I have Tmux installed properly.
@VeejayRampay
@VeejayRampay 11 жыл бұрын
Nice to see a fellow vim-using street-photography-loving Rubyist.
@isayoldchap1
@isayoldchap1 11 жыл бұрын
Slight clarification. g in a search means replace all occurrences in each line of the search. Without it vim will replace only the first occurrence in each line. In the example at 20:41 he could have left off the g since there is only a single l or r in each of the lines. It is the %s at the start that is telling Vim to search all lines. % is a shorthand for the range 1,$ or line line 1 through the last line in the file. Anyway, excellent introduction to Vim and Tmux. Great video.
@jav20a
@jav20a 8 жыл бұрын
Does anyone knows how to integrate Tmux with Travis CI?
@estebancastro5735
@estebancastro5735 9 жыл бұрын
...and the geek joke lol 07:14
@asdqwe4427
@asdqwe4427 9 жыл бұрын
Those screenshots of sublime and ruby mine are so dishonest. As if you wouldn't tab or have multiple screens. The first 4 minutes are just a lie, the problems he has with the other environments is what? That he does not know about alt+tab and hiding panels within an editor? Seriously, who keeps the console open when they are typing?
@osuf3581
@osuf3581 8 жыл бұрын
+Marcus Rehn Especially when you can set up macros to tab to specific windows and hence the equivalent of tmux but not limited to terminal apps.
@benb6527
@benb6527 6 жыл бұрын
I use RubyMine every day and my workflow is exactly like his. The judgment from vim users is really sad - I would never judge them for their tool of choice. If they know the tool well, they will be powerful.. the same is true with RubyMine. A user who doesn't know how to use their tools will be just as ineffective with any tool.
@rasix86
@rasix86 10 жыл бұрын
I want his colorschemes for urxvt
@marauderinchief6858
@marauderinchief6858 5 жыл бұрын
Kinda confused bw the fiancee and the dog!
@gsxrlove
@gsxrlove 10 жыл бұрын
Does anyone know what font is used in this video?
@ChrisHuntTunes
@ChrisHuntTunes 10 жыл бұрын
Inconsolata-g. See leonardo-m.livejournal.com/77079.html
@ahmadaziz1800
@ahmadaziz1800 9 жыл бұрын
This is just amazing!
@baguzzaji
@baguzzaji 10 жыл бұрын
what colorscheme you used?
@ChrisHuntTunes
@ChrisHuntTunes 10 жыл бұрын
Railscasts theme. See github.com/chrishunt/color-schemes
@Nicholas108108
@Nicholas108108 8 жыл бұрын
That moment when you find your Lord and Saviour.
@Ayokalyb
@Ayokalyb 11 жыл бұрын
Sublime Text 2 or GTFO.
Let Vim Do the Typing
32:07
thoughtbot
Рет қаралды 214 М.
Vim as a Python IDE - Martin Brochhaus
36:44
pycon apac
Рет қаралды 282 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 22 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
отомстил?
00:56
История одного вокалиста
Рет қаралды 7 МЛН
Steve Klabnik - Using Rust with Ruby - Ancient City Ruby 2016
36:03
My Favorite Vim Tricks
14:39
MAKC
Рет қаралды 182 М.
i tried Vim...
10:06
Alex Ziskind
Рет қаралды 44 М.
John Crepezzi's Vim
30:15
thoughtbot
Рет қаралды 49 М.
How to Learn Vim Quickly and Correctly [20210422163108]
17:36
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 313 М.
Damian Conway, "More Instantly Better Vim" - OSCON 2013
38:51
O'Reilly
Рет қаралды 283 М.
Breaking Code, to Learn to Code. Works for Python and Not Ruby.
4:28
Stefan Mischook
Рет қаралды 4,1 М.