Why I Cant Stand IDE's After Using VIM | Prime Reacts

preview_player
Показать описание
Recorded live on twitch, GET IN

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
Рекомендации по теме
Комментарии
Автор

I didn't know the benefits of vim, I use vim just to try to be difficult and show off

SamuelLeites
Автор

All of his arguments boil down to "I was too lazy to learn shortcuts in the IDE, but i forced myself to learn the same shortcuts in VIM, therefore VIM is better"

khatdubell
Автор

You got 20 digits and you are only using 10 of them to code? Get on my level and learn to use your feet.

gardnmi
Автор

The language specific IDEs from JB are basically IntelliJ Ultimate with a streamlined UI and plugins for that language (except CLion and Rider). I think there is also a difference between the debuggers between CLion, Rider and IntelliJ. Webstorm is included in most of them. Neovim is great and I loved it, but real talk the JB IDEs are *very fast * to work in with hotkeys and Ideavim.

jgnovak
Автор

Not dissing Vim, it seems powerful as fuck and most importantly light-weight, but in terms of navigation most modern IDEs can do what was shown in this video and people are just too lazy to actually set and/or learn the shortcuts. Same reason they dont start using Vim.

I use Webstorm daily for work, because we are TS-only:

Fuzzysearch files: double-shift

Go to last file selected: ctrl+tab --> hold tab and hit tab to go further back the files you last visited

Got to line: ctrl+l

Go to matching brace (in my case): ctrl+shift+m
While on a brace select its content: ctrl+(2*w)

Select word: ctrl+w
--> Hold ctrl and progressively select more elements connected to the word in syntactic priority by repeatedly pressing w

Select line: ctrl+c

Replace by regex: just like regular replace (ctrl+r) but activate regex once

Duplicate line/selected block: ctrl+d
Or delete with ctrl+shift+d

Find next instance of x: ctrl+f
Hit Enter to move forward, shift+enter to go back
Esc to stop search.

And manymanymany more, seriously the keymap is huuuge!

Oh and properly use home/end, pg-up/pg-down, and Esc, and set the shortcuts for entering the integrated terminal.

I'm sure all of this can be set in VSCode too.

The only thing Vim really does better in this regard is sticking to the homerow principle and that is honestly the only reason why I consider learning it. The speed of my IDE has never bothered me.

Rohinthas
Автор

Ctrl+p and ctrl+r are a standard in most editors/ide-s for years now. As well as many other shortcuts that do almost all that you two said. I get it why you two are so excited about vim, but a bit of balance should be.

TestTost-jd
Автор

I wrote a whole book in vim. The amount of decluttering and focus you get there with a couple of plugins is astounding.

SergeyKuzmichev
Автор

For navigating old places I love <c-i> and <c-o> to jump to next/prev cursor position and gv gi to select/visual spans.

ivanjermakov
Автор

The various combinations of CTRL, SHIFT, HOME, END, PGUP, PGDN, DEL, BS, and the arrow keys work great for me.

tom_marsden
Автор

In vscode you can so "Ctrl + p", and type the name of the file in the current workspace that you want to open, then press Enter to open. You dont need to use the file tree or your mouse. 🤷‍♂️

duyanhdo
Автор

i have my vscode setup with:
- custom shortcuts to traverse files / code without mouse extremely fast, but the shortcuts are way more intuitive and contextual than vim's
- fuzzy finder for files
- minimal extensions

it's fast, responsive, and powerful AF with zero clutter, and I never touch the mouse.

people acting like you can't recreate most of this experience in vscode are no better than those that think VIM is only for showing off. both are great.

imadetheuniversefun
Автор

I mainly work with Java, and do some devops work too.

For the infra and config stuff, I'm totally sold for vim. But for Java there is really no fucking way that Nvim can be nearly as good as IntelliJ.

The amount of things you can do on IntelliJ is unmatched. The super intelligent auto complete, super easy refactoring and the best debugger of probably any language out there. There is really no way for nvim to win, no matter how much gigabytes of plugin you install on it.

I can get that nvim can be the best ide for any other language that is not Java or Kotlin. But for these two, you got take the L man, its a lost battle

thiagomiranda
Автор

The hat ^ and dollar sign $ come from regex, meaning begin and end.

RaduCruceru
Автор

_ as an operator is actually a whole line operator, so essentially doing dd or cc or yy is an alias for doing d_ y_ and c_, this is why in that example with ^ it didnt delete the line c:

Cathyprime
Автор

Personally I don't think the choice of editor matters, my limiting factor in productivity is not how many characters I have time to insert/edit, its more about motivation

remssi-dev
Автор

There are 2 things about PyCharm that I like:
1. Renaming modules: You can refactor the name of a module and it will automatically rename the folders, py files and imports
2. Requirements management: When you add have a library in the requirements.txt file that is not installed in the environment, it will detect it and give you the option to automatically install it by clicking a button

I do not know if those are possible with (n)vim, but they would be nice functionality to have there.

JorgeDB
Автор

Using IDE:
1. commands are grouped logically and you use the mouse and menu if you are just starting
2. Use the search command
3. when you see that you use the same command multiple times a hour, it is time to learn the keyboard shortcut for that command
So it's up to you if you want to use certain key shortcuts or not
Using VIM:
You have to use keyboard commands

Cipriux
Автор

I think I use tabs like you use Harpoon: I keep up to 4 tabs open for the files I'm working on, then "cmd/alt/ctrl" + "1-4" to switch to the one I want with a single keystroke.

Being able to see the tabs at all times helps me remember what I'm working on. (Though I want give Harpoon another try to see if I could get used to it)

ConnectionRefused
Автор

The guy:
"IDE's are bloated. "
The same guy:
"Let me install 79 plugins to make vim look and work like an IDE"

FatihIrmak
Автор

There are things I can't stand about IDEs now that I use vim. And there are things I can't stand about nvim because I'm too bad to figure it out (like getting a solid html lsp configured and working always).

So I get the best of both worlds: both have things I can't stand

awesomedavid
visit shbcf.ru