Блог пользователя EclipsD

Автор EclipsD, история, 13 месяцев назад, По-английски

Hello, Codeforces!

I've been watching videos of top competitive programmers like tourist, and I noticed that they navigate through their code extremely fast without using a mouse. For example, in this video:

tourist coding session ICPC 2017

It seems like he can: 1. Jump between lines instantly 2. Move through words efficiently 3. Switch between files effortlessly 4. Manage compilation and execution without ever touching the mouse

I'm currently trying to improve my keyboard-only workflow for competitive programming, but I'm not sure what the best techniques and shortcuts are. My Questions:

1.What keybindings or tools do you use to navigate code quickly? 2. How do you move between functions or specific parts of the code without a mouse? 3. Are there any plugins or editor settings that help with this?

What is the best setup for Far Manager? — that's the main question (i want to be like tourist)

If you have any tips, tricks, or resources, I would really appreciate them!

Thanks in advance, and happy coding!

  • Проголосовать: нравится
  • +14
  • Проголосовать: не нравится

»
13 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

You can use Vim text editor for such quick navigation without mouse.

»
13 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Vim

»
7 недель назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I think tourist doesn't use any vim plugins even in far and vs code right now, i think he just uses the arrow keys to navigate as per his latest videos.

  • »
    »
    7 недель назад, скрыть # ^ |
    Rev. 3  
    Проголосовать: нравится 0 Проголосовать: не нравится

    I guess he uses a 70% keyboard or the laptop keyboard that may have arrow keys nearer to jkl; I'm currently avoiding vim, for me vim feels slow than navigating with arrow keys, I'm currently practicing with right pinky finger and it feels light and fast.

»
7 недель назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

May be they set their arrow keys to other keyboard digits as it is possible in VS code

»
7 недель назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

For vscode: Ctrl+F Locate the function by searching for its name(Many other compilers should be about the same)