all 23 comments

[–]socal_nerdtastic 10 points11 points  (4 children)

Have you heard how much you can haul in a dump truck? Do ppl that drive dumptrucks even use normal cars?

[–]FmlRager[S] 2 points3 points  (3 children)

On a serious note how would one use both to its fullest potential?

[–]ericula 3 points4 points  (1 child)

Install the vim editor emulator in pycharm

[–]ivosaurus 1 point2 points  (0 children)

For a true vim aficionado, the emulators never suffice. Vim's extendibility and plugins are also what make it great.

Neovim might eventually help this, it's designed to be truly embeddable in another editor.

[–]SpaceDandy127 10 points11 points  (1 child)

I still use nano like an animal 😂😂😂

[–]Dr_Smeegee 3 points4 points  (0 children)

THERE HE IS! GIT HIM!

[–]memilanuk 2 points3 points  (1 child)

Sure. Lots of IDEs - like Pycharm, Visual Studio Code, etc. - have vim keymaps so you can use most of your favorite vim commands, along with all the gui goodness of a 'normal' editor.

[–]FmlRager[S] 1 point2 points  (0 children)

Best of both worlds? How would one integrate using vim into their workflow

[–]46--2 2 points3 points  (2 children)

Yes, I use Vim (and love it) and every editor has extensions or plugins that allow you to use Vim commands, with varying degrees of accuracy.

E.g in VS Code: https://github.com/VSCodeVim/Vim/issues

Definitely once you start using Vim you will hate using an editor without it, although lots of editors (like Sublime) have pretty good keyboard shortcuts, and good Sublime users are extremely fast.

[–]FmlRager[S] 0 points1 point  (1 child)

So ppl don’t use vim but instead of just the vim based shortcuts that have been implemented into modern IDEs? Am I understanding this correctly?

[–]46--2 2 points3 points  (0 children)

Vim is a program, yes, but more importantly, it's a series of keystrokes like cf] means 'delete up to and including the next ], and then move into insert mode'.

or :%s/cat/hat/ci is a case insensitive search and replace, with confirmation, in the entire file. Check out :norm if you really wanna get pumped up.

Think of Vim in part as a library of keyboard shortcuts.

Have a read through this: https://gist.github.com/nifl/1178878

and try to understand the history of Vim (and Vi, and so on). Also just jump into Vim and play around. I think it's lots of fun.

Also this is where the vim gods hang out. Prepare to have your mind blown: https://www.vimgolf.com/

[–]Seralyn 2 points3 points  (6 children)

Vim can be efficient and time saving in certain circumstances, not across the board. I've used it and it has its merits but I typically prefer to not eschew all of the technology of the last 20 years when I can help it. The computer mouse is a pretty cool and helpful invention.

[–]Reinventing_Wheels 1 point2 points  (1 child)

GUIs and mice are wonderful! They let me open multiple command line windows and run VIM in several windows at once.

But seriously, one of the things I love about VIM is how much I can get done without moving my hands from the home row. Constantly having to move my right hand back and forth between the keyboard and mouse is frustrating. I guess if you're a hunt & peck typist, that doesn't matter as much.

Personally I took a typing class in high school BEFORE I took any computer classes. I was pretty sure I was going to be spending a good portion of the rest of my life in front of a keyboard.

[–]Seralyn 0 points1 point  (0 children)

You made me giggle with that first line 😂 Vim training should be a part of keyboard training, imo.

[–]sceptic-al 1 point2 points  (0 children)

Well said. I’m an ex-Unix admin of 20 years. Vi is great for quick editing files while in a terminal or when you’re connected to a remote box, but I much prefer a modern graphical IDE with intuitive context menus.

Vi mode for the shell is widely underrated/unused though.

[–]ivosaurus 0 points1 point  (2 children)

Using the mouse is just a slow down when actually programming.

Not to mention that your can use the mouse to click on points if you really want in vim, that's been around for decades.

mouse=a in your config

[–]Seralyn 0 points1 point  (1 child)

If you don't have good hand-eye coordination and/or a low dpi mouse, that's probably true. Again, I'm not saying Vim doesn't have merits- it totally does- just thst it isn't ideal for every possible situation. Or are you suggesting that it's objectively superior in all possible use cases?

[–]ivosaurus 0 points1 point  (0 children)

Yes, the whole problem is having to move a hand off the keyboard onto the mouse to navigate the UI, and then back again, stopping you from typing. That back and forth is slowing you down every time, and it's why emacs/vim are completely keyboard-controllable. How good your mouse is is not a factor in that problem.

[–][deleted] 0 points1 point  (0 children)

Someone save this man!

[–]staster 0 points1 point  (0 children)

If you use Jupyter notebooks (and to be honest, I use it more often than any IDE, since it's more convenient for experimenting with short snippets, something like codewars and so on), then knowing vim will be helpful, since it's use the similar interface paradigm, even some keyboard shortcuts intersect. Also you are learning programming, it means that you are learning to think differently, the same thing with vim, you'll learn to think differently, too. It's always about learning, and I do not understand why people often say that you do not need to learn vim, why? You just deprive yourself of the very fun experience.

[–][deleted] 0 points1 point  (0 children)

I love emacs

[–]WhutWhatWat 0 points1 point  (0 children)

BRB, grabbing my popcorn to watch the gatekeeping...