Email or username:

Password:

Forgot your password?
Ian Douglas Scott

Using #vim is easy once you learn a few basic keybindings.

h and l - move left and right
j and k - move down and up
η and λ - move backwards and forwards through time
ξ and κ - translation through additional temporal dimension (if applicable)
ᚻ, ᛄ, ᚳ and ᛚ - moving left, down, up, and right through celestial spheres
𐤄 and 𐤋 - switch deity to pantheon member to left or right
𐤉 - supplicate to chosen deity
𐤊 - challenge chosen deity (dangerous)
:q - exit

272 comments
Tina :verified:

@ids1024 VI!! OMG vi! I love vi .. I’ve used it for decades!!!

joene 🏴🍉🌲

@ids1024 Thank you for this magical cheat sheet. This once and for all proves that vi is the best editor through space and time! Amen!

:wq!

getimiskon :blobcatgooglytrash: :unverified:
@ids1024 I guess I have to reinstall vim to try "η", "λ", "ξ" and "κ". Sounds like a neat feature.
Sarah W

@ids1024 is this to clean the bathroom or kitchen sink?

Ian Douglas Scott

@Sarahw There's a popular plugin for that, but Emacs users insist their included sink-mode is still better.

Michal Vyskočil

@ids1024 is there a key rewriting elisp into vim script?

GVF 🇨🇦

@ids1024

Wow, they've added a lot of cool new features since I last used vim.

MikeK

@ids1024

I've forgotten the key sequence for 'engage warp drive'

DELETED

@ids1024 What if I just want to enter a Git commit message without accidentally summoning anything from the underworld?

Gabriel Pettier

@ids1024 for the people without without η and λ on their keyboard, g+ and g- are other ways to move forward and backward in time (try it! do and undo a few actions, do new things, and then navigate through time!)

Feoh

@ids1024 As opposed to emacs where only the most stalwart (or foolhardy?) type M-x wake-the-sleeping-mad-god-who-slumbers-in-the-deep :)

R. L. Dane :debian: :openbsd:

@ids1024

Dang it, I *knew* that vim has some crazy features I never knew about.

As long as I don't get a computer with a Greek (or Norse rune??) keyboard, I should be ok. *phew*

cirdan12

@ids1024 rofl. Love it! But what if you're using a traditional chinese keyboard?

Sean Reifschneider

@ids1024 Incorrect, the default bindings for forward/backward in time is g+ and g-

This is not a joke. 🙂

Aoife 🌸

@ids1024 I'm always a little stressed when I'm editing in #vim because I'm afraid I'll type one of these keybindings by mistake and break the universe 🤷‍♀️😹

squashpott

@arf @ids1024
u - revere decision to challenge chosen diety

th3pr0ph3t

@ids1024 Vim is like Street Fighter II. You can use it without knowing every move.

Lynn Grant

@ids1024 The cool thing about vim is you don’t need to learn too many of its commands to be useful. There are a lot of arcane commands that are really useful if you know them, but not at all essential.

Doktor_S :tux:

@ids1024 I love the paleo-hebrew letter in there 😄

Ian Douglas Scott

@Doktor_S Paleo-Hebrew or Phonetician, which are basically the same alphabet (and apparently have to share the Phoenician Unicode block).

Not the most well known writing system, but it's where our modern alphabets (𐤀𐤁‎) come from.

alexboly

@ids1024 surprisingly accurate and wrong at the same time

Logan

@ids1024 as if we needed further truth that Vim is the correct choice :blobcatsmug:

Futurist Jim Carroll

@ids1024

Come to Mastodon for the nano, you end up getting the vim.

quintessence :blobfoxflooftea:

@ids1024

In all seriousness I found Vim Adventures useful when building muscle memory for vim

vim-adventures.com/

(FYI there are free levels before you hit a paywall, I ended up staying the free space as they account for the 20% you use 80% of the time there.)

Jeff

@ids1024 I hesitate to ask what α and Ω are bound to.

Ian Douglas Scott

@jeff
Pressing both simultaneously triggers the second coming of BSD. Which shall then be queued to come to pass shortly, but may take up to three millennia depending on system load.

Drew Derbyshire

@ids1024 But you do know where h / l / j / k came from?

Ian Douglas Scott

@swhobbit Those are the first letters of the first four words of the Ancient Phonetician hymn in honor of the god Ba'al Qwerṭ'j.

Drew Derbyshire

@ids1024 Nope.

Check the book of ADM, chapter 3, verse A.

MarkD

@ids1024 Frankly I think vi missed an opportunity when they didn't making exiting an even more obscure and long-winded set of keystrokes.

Hotel vi, the editor you can enter, but never leave.

Gabe Schenz

@ids1024 you do realize that there's an emacs mode for all of that, right?

Art

@ids1024 nano for the win. If i need an advanced editor, I'll fire up vscode via a remote ssh session. I just don't understand the appeal of all the complexity required to operate that editor.

UnformedWorlds

@ids1024 Imagine encountering vim for the first time on a mountaintop at 3 am, guided by an impatient professor.
I would have worn out the ᛄ key if I had this list back then…

Martin Algesten

@ids1024

And this is before we even get to the good bits of combining commands.
:3λ7𐤉! – step backwards and forwards in time while unconditionally supplicating your chosen deity 7 times for each temporal point.

Sophia June Turner

@ids1024

oddly enough, also the shortcuts for doing the same thing in rogue

Fabian Zitter

@ids1024 to unlock VIMs real power, use this simple set up

herrgnatz
@ids1024 dont't forget to use an ISO-keyboard with the neo2 layout. At least the time travels will get easier. 🙃
Sunu

@ids1024 and :! for cast magic spell 🧙‍♂️

💉💉💉💉 Sean Houlihane 🕷️🔶

@ids1024 right, so I just need to configure my keyboard with sufficient input layers, and memorise the layouts. Problem is, I don't think my keyboard has enough RAM. Will stick with Emacs.

Pete Green

@ids1024 I've never exited VIM without googling it first. Never once. In years.

Serra

@ids1024 Feels like you mixed up APL and Vim 😀

Mondobizarrro
@ids1024 does ZZ not exit vim anymore? I thought that also worked
segv11

@ids1024
∞ - Who knows what it does, but we know it takes a really, really long time to do it.

Justin Wilkins

@ids1024 @peter That’s what I keep telling people, it’s only a tiny bit harder than emacs

Peter Mount

@justinwilkins @ids1024 That's true, but then #emacs has things like C-x M-c M-butterfly

😉

Stefan Romero Grieser

@ids1024 Some of these spells need to be enforced by adding an exclamation mark.

Ian Douglas Scott

@operaimmagine
With the inexplicable exception of the challenge deity binding.

soryako

I tried IDDQD and but doesn't work. IDKFA is useless too.

Claus Wilke

@ids1024 Sorry, just tried it. It doesn't work. :q does not exit.

Screenshot of vim editing a text file containing the words "Hello world:q".
Kmc

@ids1024 in that case I’m gonna stick to #emacs

Jess

@ids1024 and only when you’ve challenged the chosen deity (and won) can you enter command mode and quit

If you lose, your only option is :q!

🚲

@ids1024 okay yes ha ha but actually… keybindings to move through “time” (history of edits) in as smooth a manner as hjkl would be kinda sweet sometimes

Christine Hall

@ids1024 According to this, my keyboard isn't old enough to take advantage of vim's hidden features.

Ian Douglas Scott

@BrideOfLinux The space-cadet keyboard has the Greek letters. The much rarer space-admiral keyboard has the runic and phonetician.

Murteza Yesil 🇺🇦

Instructions not clear, set computer on fire.
@ids1024

Benson Schliesser

@ids1024 Thank you! I didn't know the keybinding for temporal translation, but I really needed that feature.

Catfluoride

@ids1024 I just wonder how j-k make sense for down-up...

ÍsobeÌ

@ids1024
I remember nethack being recommended as an engaging way to become fluent in hjkl navigation L@L

Vidar Hokstad / Galaxy Bound

@ids1024 For the longest time I exited vi by ctrl z followed by "killall -9 vi", seeing as if any vi processes were running as my user anywhere it'd definitely not be intentionally, so might as well brutally murder them all.

I did eventually learn esc + :q! as I certainly wouldn't want to write back whatever I'd mangled the buffer with to disk.

Then there was that time I symlinked vi to emacs on the shell server of the ISP I ran (muhahaha... the cries of the vi users; I did revert it)

doboprobodyne

@ids1024
A vim clutch may help if you want to get your feet involved!
@Scmbradley

SpeakerToManagers

@ids1024
First Law of Necromancy: Never summon that which you don’t know how to undo (and <delete> just gets you a demonic laugh!)

Dan Drake

@ids1024 now, what's the #emacs version of those commands? 🤔

Craig Nimlet

@ids1024 What does the eye of Horus and the Horned Viper do?

Mᴀʏᴀ :bc:

@ids1024 I love Vim but that's so fucking relatable 😂😂

marcorobotics

@ids1024 thanks for the tips, but does vim include a psychiatrist? 😂

Ian Douglas Scott

@marcorobotics Surprisingly enough, that is *actually* a thing included out-of-the-box in Emacs.

M-x doctor

Apparently someone created a Neovim extension for that too: github.com/iagoleal/doctor.nvi

carostar

@ids1024 If I try to use η or λ, just nothing happens. What am I doing wrong?
And are there neo keybindings for runes so that deity-switching gets possible? How do deities interact with specific vim instances or are deity switches permanent per person who uses vim? How does it work? Sounds very interesting. \gen

Paul_IPv6

@ids1024

huh... i'd assume if you choose the wrong deity, there's no escape, so no write-quit or exit... :)

ken
@ids1024
As a long term #vim user I'd say it's a good list, except:

h and l aren't that important when you have w for next word-start, e for next word end, b for previous word start, fx to go to the next x, tx to go to just before the next x, ( and ) to move by sentence, { and } to move by paragraph or block...

:q only quits if your buffer matches it's file. You may need :q! to quit without saving or :wq to save and quit.

Depending on the deity, supplication may be far more dangerous than challenging them.
@ids1024
As a long term #vim user I'd say it's a good list, except:

h and l aren't that important when you have w for next word-start, e for next word end, b for previous word start, fx to go to the next x, tx to go to just before the next x, ( and ) to move by sentence, { and } to move by paragraph or block...
Chrono Matthias

@ids1024
y - set time to current map plus/minus ten years
left shift y - move backwards through time
right shift y - move forwards through time
$ - fit map $cales to window
x - exit map layout & filter mode

#chronoFAQ #chronoNews #geoIxD time travel on #oldmaps

Paul McO'Smith III

@davehay @ids1024 oh, goodness. I learnt vi (none of this vim stuff!) on a 1980-something keyboard. I still have muscle memory for the keys. The ESC key and hjkl keys I have a Jedi like accuracy for. Cursor keys for me are still the letters, not the arrows! Amazing how quickly you could use it. Still my favourite editor!

:debian: 𝚜𝚎𝚕𝚎𝚊 :opensuse:

@ids1024

Yes, I dont understand why people think it is that hard.

Once you have started to learn all the shortcuts - it is great!

:wq
:q!
:set mouse̫̪̺͕̹ͯ̆̊-̦̖͖̙̗=̯͈͎̞̟͓̰͌̇͗͊a̩̪̹̖̳̦ͮ̂
::̵̸ͭͬ̍̿̽̽ͭ̂̂͒̀̔̎ͪ̔ͣ̿͏̺̲͈̺̳͉͜%̷̨͙̖͖̝͔͍̘͈̻̥͚̮͔̱̪̅͗̋́̅ͬ͒ͩ́sͮͭ͆͒̒̔̏͊̃ͩ͆̐̐̎͌ͦ̈̏ͣ̀̀͏̮̞̹̜̖͔̘͙͉̠̠̳̙͇͙͉/̻̥̙̟͎̳͎̭͖͖̲̮̰͈̤̙ͧ͊ͮ̐ͧͨ̋͆̓̐ͨ̇ͩ̾͑͜͢͝t͋̄̄͋͒̿̆͑̊̀͛̐̈͏̭̳̹͚̝̥͟͞ͅe̦͓͓̰̰̝͙̺̟͚̟̻̜̻̝͉ͤ̾̓̂ͬ̀̏͆́́͠ͅx̶̧̨͓͚̹̪̥̝̫̣̼̤̐ͦ͒͗̅͊́ͩ͝ţ͎̝̥̫̖̣̥̦͎̾͒̋̐̐͆̀́/̓͌ͧͬ̇̐ͤ͒͐ͦ̓͑҉̴̦̗͉̮̣̟̳̤͓͔̹̳̘͎̥́͢r̴͓͚͚̪̪̺̦͈̟͖͍̥͇̭̍ͥ̅̀͑̀ͤͯ͂͘͘͝ę̧̰̰̰̬͍̩͖̩̗̗̞̪͎͙̲̘̳̠̆ͮ̇̈́͛̌̓̍̚͟͞ͅp̢̪͎͖̰͍̈͒͐̔ͫ̅͒͊̄͐̈ͯ̉́͝lͬ̀̓ͤ͏̧̘͔̰͓̜̙̣̤͠͞a̋̍̂̽̌̏ͨ̏̈́̏͆ͦ͊̔̚͏̨̲̣̣͍͔͕̭͇͓̠͓̙ç̸͇̻̣͈͕̦̺̠͉̪̬͗͗͐̾ͭͯ͒ͨ̊ͯ͑ę̨̔̃̓̈̐̐͏͙̲̩̟̱̼̯͝/̸̡͐̈́͌̉́̓ͣ͆̌͛̑͋҉͉̱͙͎̣̘̺͕̹̩͕͖̖̩̻͖̭̙g̴̯̗̼̠͓̖̻̮̯̳͉͎̊͛̎̉ͨ͊̀̎̈́̃̔ͪ͢

@ids1024

Yes, I dont understand why people think it is that hard.

Once you have started to learn all the shortcuts - it is great!

:wq
:q!
:set mouse̫̪̺͕̹ͯ̆̊-̦̖͖̙̗=̯͈͎̞̟͓̰͌̇͗͊a̩̪̹̖̳̦ͮ̂
...

Michel Recondo :sdf: :openbsd:

@ids1024 @ParadeGrotesque I love vim, but I use it so sparsely that I always have to remind me of some basic shortcuts =/

phozzy

@ids1024 there is an emacs function for that

arky

@ids1024 you left out the most important ones, t and f

escott

@ids1024 @the_roamer

:q! - exit without sacrificing a virgin

Go Up