Question regarding vertical movement

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • nop.vim

  • I had this simple plugin to disable a mostly keys that lead to anti-stuff between vim and neovim (yes I use both) and I have unmapped j k now.

  • lightspeed.nvim

    deprecated in favor of leap.nvim

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hop.nvim

    Neovim motions on speed!

  • nvim-ufo

    Not UFO in the sky, but an ultra fold in Neovim.

  • Folds might be helpful, they also allow to jump to the next fold with zj, depending on how you setup the folds and what kind of file you are editing, they might just do the trick. (and have a look at https://github.com/kevinhwang91/nvim-ufo which makes folds much nicer imho)

  • tagbar

    Vim plugin that displays tags in a window, ordered by scope

  • Also not that useful for text files I think, but I sometimes use something like https://github.com/preservim/tagbar to get an overview of the structure of the file, especially in unfamiliar documents. This is a quite old plugin of this nature that depends on ctags, there are more modern plugins that depend on treesitter. However for C++, I found the treesitter based bar plugins not as helpful, they need language specific settings, and the ones I tried didn't have them for C++ at the time.

  • hydra.nvim

    Create custom submodes and menus

  • I installed hop but can't get used to it and just hold j/k/W/B as someone commented higher. Btw, for plaintext files this can be useful, even without hydra: https://github.com/anuvyklack/hydra.nvim/wiki/Quick-words

  • sj.nvim

    Search based navigation combined with quick jump features.

  • This is what I do. I think searches are very reliable, keeps your eyes on the target and can be pretty much always used for vertical movements. The only thing I do is augment the regular search with something like https://github.com/woosaaahh/sj.nvim , so if I search for a target that has a lot of occurrences in the file, I can get to it directly.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • vim-be-good

    vim-be-good is a nvim plugin designed to make you better at Vim Movements.

  • I recommend vim-be-good for practicing this

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts