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

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

Hashrocket

Hashrocket

Күн бұрын

Пікірлер: 51
@myyoutubepage1
@myyoutubepage1 6 жыл бұрын
Nice seeing people sharing their workflow. I got a lot out of this :)
@marioaviles546
@marioaviles546 9 жыл бұрын
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 5 жыл бұрын
This is so true.
@julkip
@julkip 11 жыл бұрын
It would be nice to have all the shortened URLs in the comments
@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 10 жыл бұрын
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.
@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...
@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.
@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.
@VeejayRampay
@VeejayRampay 11 жыл бұрын
Nice to see a fellow vim-using street-photography-loving Rubyist.
@trolleycaeser
@trolleycaeser 9 жыл бұрын
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 7 жыл бұрын
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.
@MrLiminade
@MrLiminade 9 жыл бұрын
What colorscheme are you using? It's really nice.
@justgiz
@justgiz 9 жыл бұрын
In the first examples he showed the cluttered screen. Why not maximize the windows?
@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.
@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 10 жыл бұрын
I'm so lost from the beginning. Don't know if I have Tmux installed properly.
@ChristopherJones242
@ChristopherJones242 10 жыл бұрын
So how do you run Firefox in tmux? Oh, wait.
@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
@CodecrafterArtemis
@CodecrafterArtemis 11 жыл бұрын
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 11 жыл бұрын
Lit Wakefield I'll try with "set clipboard=unnamedplus", thank you.
@knowlen
@knowlen 8 жыл бұрын
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.
@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. ..
@maingeemu
@maingeemu 10 жыл бұрын
what colorscheme you used?
@ChrisHuntTunes
@ChrisHuntTunes 10 жыл бұрын
Railscasts theme. See github.com/chrishunt/color-schemes
@ahmadaziz1800
@ahmadaziz1800 9 жыл бұрын
This is just amazing!
@jav20a
@jav20a 8 жыл бұрын
Does anyone knows how to integrate Tmux with Travis CI?
@rasix86
@rasix86 10 жыл бұрын
I want his colorschemes for urxvt
@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 9 жыл бұрын
+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.
@estebancastro5735
@estebancastro5735 10 жыл бұрын
...and the geek joke lol 07:14
@RedRumIzzy
@RedRumIzzy 10 жыл бұрын
The Impressive in the title should be in quotes. I want to see this person actually DOING these things fast. Pointless presentation.
@lxathu
@lxathu 9 жыл бұрын
+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 9 жыл бұрын
+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.
@Nicholas108108
@Nicholas108108 8 жыл бұрын
That moment when you find your Lord and Saviour.
@marauderinchief6858
@marauderinchief6858 6 жыл бұрын
Kinda confused bw the fiancee and the dog!
@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.
@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?
@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.
@Ayokalyb
@Ayokalyb 11 жыл бұрын
Sublime Text 2 or GTFO.
Damian Conway, "More Instantly Better Vim" - OSCON 2013
38:51
O'Reilly
Рет қаралды 284 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
My Favorite Vim Tricks
14:39
MAKC
Рет қаралды 186 М.
My Forever Dev Workflow
16:02
typecraft
Рет қаралды 115 М.
My Neovim & Tmux Terminal Dev Workflow As A Principal Engineer
9:22
DevOps Toolbox
Рет қаралды 58 М.
Evil Mode: Or, How I Learned to Stop Worrying and Love Emacs
40:02
i tried Vim...
10:06
Alex Ziskind
Рет қаралды 46 М.
Your First Vim Plugin
36:38
thoughtbot
Рет қаралды 60 М.
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
Vim and Tmux Workflow for Web Developers
15:26
Richard Bagshaw
Рет қаралды 38 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН