r/programming • • May 07 '16

Why Atom Can’t Replace Vim

https://medium.com/@mkozlows/why-atom-cant-replace-vim-433852f4b4d1#.n86vueqci
360 Upvotes

458 comments sorted by

View all comments

Show parent comments

1

u/nebula169 May 08 '16

ctrl+e/u -> up line/half screen ctrl+y/d -> down line/half screen

1

u/gadelat May 08 '16

Nah, doesn't work outside the viewport. Cursor in vim is ALWAYS visible on the screen. I don't think this can be changed. I would like to leave the cursor where it is and move around in the file with my mouse wheel as I wish. Looking around in the file in vim sucks.

2

u/nebula169 May 09 '16

oh my bad, forgot my scroll actions are remapped to hell. yea, funny with all the things you can do, having the cursor leave the viewport is no bueno.

1

u/[deleted] May 08 '16

just use a mark?

1

u/gadelat May 09 '16

You say that like it's easier. With that method I need to make a mark each time before I start to scroll and trigger it before I start to type. Which also means switching between keyboard and mouse all the time, which wouldn't be needed in traditional editor in this case.

1

u/[deleted] May 09 '16

oh, you want to use the mouse? there's your problem I guess, just use sublime or something.

1

u/gadelat May 09 '16

Of course. I'm programmer and my job consists most of the time by digging through the code and thinking - not actual typing, so vim is terrible for me.

1

u/[deleted] May 09 '16

Yeah, but you don't need to scroll with a mouse to do that. I find smooth scrolling disorienting though, I may be in a minority there.

I can navigate and search through the entire codebase just with vim just fine.

1

u/gadelat May 09 '16

To each their own. I find mousewheel much more efficient for scrolling than keyboard, because I can easily regulate the speed of scrolling. Jumping by blocks is disorienting for me.