Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Time-tracking

Chronolapse

  • https://www.chronolapse.com/

  • Use Chronolapse to record your screen.

    • My settings for my dual-monitor set-up:

      • Top: 1919

      • Left: -550

      • Width: 1925

      • Height: 1050

  • I couldn't get Chronolapse to convert the screens to a gif / video (it produced an error), so I used: http://gifmaker.me/

    • I set it to create a gif at 50% of the size.

    • If you do 1 capture per minute, you end up with a ~12mb/hour file.

tmux

tmux lets you access multiple terminal sessions simultaneously in a single window.

Rec'd by

  • Cody

Tutorials

Text editors

Neovim

Reviews

Positive

Negative

  • I built a Neovim setup with great autocomplete, amazing file navigation, working debugger, but ended up going back to IntelliJ because:

    • Code completion: Neovim has great completion plugins, and LSP support is good, but IntelliJ is still much better.

      • Is smarter, shows the best matches (matching types, names that seem to make more sense in the context)

      • Works inside most text editing contexts, like debuggers and text editing inside search results.

      • Handles partial imports very well.

      • Works in several different file types. It handles GraphQL, and even HTTP headers (Testing HTTP requests)

      • Even though indexing takes a long time, the index is kept in sync with the filesystem automatically

    • Text Editing features work seamlessly inside search/replace, debugger watches and several other places.

    • Project-wide Local History: yeah I use Git, but it’s great to have an automatic change history so you call revert recent changes. Gives me that peace of mind.

    • Debugger is so much better than anything you can build with Nvim.

    • Search/Replace is miles ahead of Nvim, even if compared to Telescope. I can easily switch search parameters and I can even edit files inside search results. (src)

  • the main thing you'll be missing (no matter the language) is the integration with a debugger. (src)

  • I dropped Neovim for Cursor, Claude 3,5 Sonnet made me much more productive. If I find something as good in the Neovim world, I will switch back (src)

How to learn

  • I wouldn't make the switch unless you've already been using IDEAVim for a few weeks or months. I think it's too much of a switch to learn the new keybindings and plugin ecosystem all at once. IDEAVim is one of the best Vim emulation plugins. (src)

  • it is better to first play around with ideavim setup actions get used to it and then translate that config to nvim (src)

Vim

Tutorials / training

  • I asked for advice to find a 3-minute Vim command training circuit here.

    https://www.theviminator.com/
    • Motions in normal mode:

      • hjkl for one-off movement. Use sparingly.

      • Word-wise motions. w [g]e b and their uppercase cousins W [g]E B.

      • Learn to use the Numbers. 5w jumps five words ahead.

      • / to find stuff. n to jump to the next (partial) hit. N to jump to the previous one.

      • * and # to jump to the next/previous occurence of the word under the cursor.

    • Edits:

      • Insert at beginning, Append at the end of line, ciw Change in word d]} delete until next sentence, or paragraph Substitute line with your Input...

      • . repeat last action

      • undo and <C-r> redo

    • Ex-Commands:

      • :s/find/replace find the word "find" and replace it with the word "replace", in the current Line

      • :%s//newword/gi - replaces the last search (with /) with "newword" for the whole file. The /gi - options make it that you replace all occurences (global) and that the replacements are case-insensitive.

      • :w write/save changes

      • :wq! the meme. Save and quit. Also ZZ.

      • q: what have I done? Ex-command History Mode. :q to leave again.

      • :buffers :registers :marks to See what you edit, what you yanked, and where you Markes stuff. (Also searches and last Ex-Commands)

    • Visual Mode:

      • v V and <C-V>

      • in visual Mode: other end of selection

    • There are too many things to list here. See :helphelp.

  • Apparently the official docs are good: “nothing, absolutely nothing, beats the documentation itself”

  • :vimtutor is the official tutorial

  • https://vim-adventures.com/

      • file. The /gi - options make it that you replace all occurences (global) and that the replacements are case-insensitive.

      • :w write/save changes

      • :wq! the meme. Save and quit. Also ZZ.

      • q: what have I done? Ex-command History Mode. :q to leave again.

      • :buffers :registers :marks to See what you edit, what you yanked, and where you Markes stuff. (Also searches and last Ex-Commands)

    • Visual Mode:

      • v V and <C-V>

      • in visual Mode: other end of selection

    • There are too many things to list here. See :helphelp.

  • Apparently the official docs are good: “nothing, absolutely nothing, beats the documentation itself”

  • :vimtutor is the official tutorial

  • https://vim-adventures.com/

  • https://www.theviminator.com/

  • https://github.com/Weyaaron/nvim-training

  • https://vim.fandom.com/wiki/Special:AllPages

  • https://vimhelp.org/

  • https://www.vimgolf.com/

  • “Just play nethack.” (source) (Apparently it teaches you the movement keys hjkl.)

    • “hjkl are almost worthless compared to other means of navigation” (source)

  • https://www.amazon.com/Practical-Vim-Edit-Speed-Thought/dp/1680501275

    • “As a long time Vim user, I also found the book Practical Vim very instructive. Not really suitable for beginners though.” (source)

  • https://github.com/Weyaaronjmoon018/nvim-trainingPacVim

  • https://vimwww.fandomshortcutfoo.com/wiki/Special:AllPageshttpsapp/dojos/vim

  • “Just play nethack.” (source) (Apparently it teaches you the movement keys hjkl.)

    “hjkl are almost worthless compared to other means of navigation” (source)

    http://vimhelpwww.viemu.org/

  • https://www.vimgolf.com/

  • com/a_vi_vim_graphical_cheat_sheet_tutorial.html

Vimium

Vimium is a Chrome extension that lets you control Google Chrome with vim-like keyboard commands.  It was used by some devs at Infer.

Documentation

How to learn to use Vimium

  1. Memorize the Shift+/ command to open the 'Help' dialog.

  2. Memorize the "f" to select an option on the page.

    • You could have a website where there are a bunch of links that the user needs to select by using this command.

  3. Memorize "b" to open a bookmark.

Time-tracking

Chronolapse

Vimium

Vimium is a Chrome extension that lets you control Google Chrome with vim-like keyboard commands.  It was used by some devs at Infer.

Documentation

How to learn to use Vimium

...

Memorize the Shift+/ command to open the 'Help' dialog.

...

Memorize the "f" to select an option on the page.

  • You could have a website where there are a bunch of links that the user needs to select by using this command.

...

  • Use Chronolapse to record your screen.

    • My settings for my dual-monitor set-up:

      • Top: 1919

      • Left: -550

      • Width: 1925

      • Height: 1050

  • I couldn't get Chronolapse to convert the screens to a gif / video (it produced an error), so I used: http://gifmaker.me/

    • I set it to create a gif at 50% of the size.

    • If you do 1 capture per minute, you end up with a ~12mb/hour file.

tmux

tmux lets you access multiple terminal sessions simultaneously in a single window.

Rec'd by

  • Cody

Tutorials