# Of Superhuman of X and more keyboard shortcuts for vim like gx

- Link: https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/
- Published: 2021-01-07T14:43:11-08:00
- Author: rich

Well, this is a truly nerdy post, but I just read that with Superhuman worth hundreds
of millions, everyone is back to building the [Superhuman of X](https://toddgoldberg.com/posts/superhuman-of-x-startups.html)
keyboard shortcuts as the way to get common applications faster. I completely agree
with that and those of us who have used `vi` forever sure know that is it better
to type than to mouse. So here are some more keyboard fast applications. The only
thing I’d add is that the really biggest change is fully embraced keyboard commands
that can do everything a mouse click can. And, that the best interfaces are modal
so that you don’t have to remember three keys (like Shift-Option-Right-Arrow which
in Safari means next tab) but you have a simple single key ideally that is alphanumeric
so for instance, with [Vimari](https://github.com/televator-apps/vimari) (see below,
the next tab is w and previous is q reflecting the positioning on the keyboard for
left and right used for things that know wasd as up, down, left, right respectively).

The [Sublime of X](http://www.growthalytics.com/startups/programming/product/2021/01/02/the-sublime-text-editor-of-x/)
is a great post about other products that worked the same way. All of these cost
money, so some notes and also how to get freeware if it is there:

 1. [Fman](https://fman.io). This is a file finder or explorer, personally, I think`
    rg` and `fzf` are the better examples of super fast. But I will have to try Fman.
 2. [Linear.app](https://linear.app/). If there is a better task tracker out there 
    than Trello, which is very pretty but completely gooey, I’m all ears (or fingertips).
 3. [Cron.app](https://cron.app/). Ok, a calendar application that is not clunky, got
    to try that.

But you can also push your current product a little harder too:

 1. [Vimari](https://github.com/televator-apps/vimari). I’ve been using this and it
    does work well, it’s a port of [Vimium](http://vimium.github.com/) for Chrome and
    the basic idea is that if you type `f` then you can jump to any link plus lots 
    more shortcuts. This thing is actually pretty great because it repurposes all those
    useless keys in browse mode to do useful things. Then simple things like kjhl to
    scroll up, down, left right and other things that work just like Vi. like gg to
    the bottom or G to the top. And then simple extensions like gi means go to input.
    And finally, just like vi, modes which are inserted with `i`, or hit ESC to enter
    command mode.
 2. Vim gx (broken right now, but hopefully will be fixed soon). Well the keyboard 
    shortcuts never stop here, the latest one for me is `[gx](https://vi.stackexchange.com/questions/2801/how-can-i-make-gx-recognise-full-urls-in-vim)`
    which means go to whatever is under the cursor. If it happends to be a Markdown
    URL, then if on the Mac you set in your .vimrc, the magic `let g:netrw_browser_view
    ='open'` and there is an entire plugin dedicated to figuring out the so called `
    netrwFileHanders.vim` so that when you get extended I’m guessing the right editor
    or viewer opens up. [Netrw](https://www.vim.org/scripts/script.php?script_id=1075)
    means network read/write and was originally created to allow editing over FTP or
    RCP or other protocols.

### Silly aside on vim and let vs set

As an aside, this let me (no pun intended)[ finally figure out the difference](https://stackoverflow.com/questions/9990219/vim-whats-the-difference-between-let-and-set)
between `set` and `let` in vi. Set is an option whereas let is for variables. This
seems like a bit of strange historical difference, but it turns out that a set variable
like `number` is different that a variable which can have `g:` in front indicating
is it global, so you can `set number` or `set nonumber` and you can also `let &number
=1` and it is all the same by the same token, you can query with `set number?` or
for a variable it is just `let g:variable` so isn’t that asymmetric?

### Share this:

 * [  Mastodon ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?subject=%5BShared%20Post%5D%20Of%20Superhuman%20of%20X%20and%20more%20keyboard%20shortcuts%20for%20vim%20like%20gx&body=https%3A%2F%2Ftongfamily.com%2F2021%2F01%2F07%2Fof-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx%2F&share=email)
 * [More](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/#)

 * [  Telegram ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=telegram)
 * [  Print ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=tumblr)
 * [  X ](https://tongfamily.com/2021/01/07/of-superhuman-of-x-and-more-keyboard-shortcuts-for-vim-like-gx/?share=twitter)

### Like this:

Like Loading…
