EclipsD's blog

By EclipsD, history, 13 months ago, In English

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!

  • Vote: I like it
  • +14
  • Vote: I do not like it

| Write comment?
»
13 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

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

»
13 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Vim

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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 weeks ago, hide # ^ |
    Rev. 3  
    Vote: I like it 0 Vote: I do not like it

    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 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
7 weeks ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

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