Jump to content

Where VIM came from


securitybreach

Recommended Posts

securitybreach
I recently stumbled across a file format known as Intel HEX. As far as I can gather, Intel HEX files (which use the .hex extension) are meant to make binary images less opaque by encoding them as lines of hexadecimal digits. Apparently they are used by people who program microcontrollers or need to burn data into ROM. In any case, when I opened up a HEX file in Vim for the first time, I discovered something shocking. Here was this file format that, at least to me, was deeply esoteric, but Vim already knew all about it. Each line of a HEX file is a record divided into different fields—Vim had gone ahead and colored each of the fields a different color. set ft? I asked, in awe. filetype=hex, Vim answered, triumphant.

Vim is everywhere. It is used by so many people that something like HEX file support shouldn’t be a surprise. Vim comes pre-installed on Mac OS and has a large constituency in the Linux world. It is familiar even to people that hate it, because enough popular command line tools will throw users into Vim by default that the uninitiated getting trapped in Vim has become a meme. There are major websites, including Facebook, that will scroll down when you press the j key and up when you press the k key—the unlikely high-water mark of Vim’s spread through digital culture.

 

And yet Vim is also a mystery. Unlike React, for example, which everyone knows is developed and maintained by Facebook, Vim has no obvious sponsor. Despite its ubiquity and importance, there doesn’t seem to be any kind of committee or organization that makes decisions about Vim. You could spend several minutes poking around the Vim website without getting a better idea of who created Vim or why. If you launch Vim without giving it a file argument, then you will see Vim’s startup message, which says that Vim is developed by “Bram Moolenaar et al.” But that doesn’t tell you much. Who is Bram Moolenaar and who are his shadowy confederates?

 

Perhaps more importantly, while we’re asking questions, why does exiting Vim involve typing :wq? Sure, it’s a “write” operation followed by a “quit” operation, but that is not a particularly intuitive convention. Who decided that copying text should instead be called “yanking”? Why is :%s/foo/bar/gc short for “find and replace”? Vim’s idiosyncrasies seem too arbitrary to have been made up, but then where did they come from?

 

The answer, as is so often the case, begins with that ancient crucible of computing, Bell Labs. In some sense, Vim is only the latest iteration of a piece of software—call it the “wq text editor”—that has been continuously developed and improved since the dawn of the Unix epoch......

 

https://twobithistory.org/2018/08/05/where-vim-came-from.html

  • Like 2
  • +1 1
Link to comment
Share on other sites

I suppose that folks today tapping away on a virtual smartphone keyboard could scarcely imagine typing BASIC programs on paper tape and running them through a teletype terminal on a mainframe - but we did it in the 1970s. It was a lot better than punch cards.

Interesting how the text editors developed based on the hardware available at the time.

Edited by raymac46
  • Like 2
  • +1 1
Link to comment
Share on other sites

It was a lot better than punch cards.

Sorry, I'd take punch cards over paper tape any day.

Not me. It was far easier to use a TTY than to punch cards on an unreliable card punch, stand in line to have your deck read by a ginchy card reader (validity check, anyone?) Then rinse and repeat.

Edited by raymac46
Link to comment
Share on other sites

Statistics was always a big part of my job. I have a good friend who was a professor of statistics at McGill in Montreal. He specialized in non-parametric statistics applied to psychology, and later to climate data. He always said my type of parametric stats was dull and simple and boring - a special case that didn't reflect 90% of reality. Probably he was right but most machines in a factory obey the simpler rules - guess I was lucky.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

Vimium Helps You To Browse The Web With Vim Keybindings

Quote

Who needs Mouse? We can navigate the Internet just using your Keyboard, without touching the mouse or touchpad. Yes, there is a Google Chrome extension called Vimium which helps you to browse the web with Vim Keybindings. Vimium, also known as the Hacker’s Browser, provides a bunch of keyboard shortcuts for navigation and control of the web in the spirit of the Vim editor. Good thing is Vimium will not change or modify the browser’s interface in any way. It simply allows a user to navigate web pages, tabs and links using vim-like keyboard commands. If you are familiar with the Vim keybindings already, you can efficiently browse the Web as the way you use Vim editor. Vimium is a free, open source project and its code is freely available in GitHub.

 

😎

Link to comment
Share on other sites

securitybreach

Yeah, I used to use Vimperator:

 

Quote

Vimperator was a discontinued Firefox extension forked from the original Firefox extension version of Conkeror and designed to provide a more efficient user interface for keyboard-fluent users. The design is heavily inspired by the Vim text editor, and the authors try to maintain consistency with it wherever possible.

 

https://en.wikipedia.org/wiki/Vimperator

 

While it was neat, it takes so much longer to use on today's internet than to simply use the mouse. I only use my mouse for the browser or if I am playing a game.

  • +1 1
Link to comment
Share on other sites

  • 1 month later...

Vim Tips – Read And Write Remote Files With Vim On Linux

Quote

A while ago, we discussed how to edit remote files with Vim editor on Linux. Using that method, we edited files stored on a remote system over SSH without actually having to log-in to the remote system. Today we will be discussing a similar Vim tip – read and write remote files with Vim. Starting from Vim 7.x version, the netrw.vim plugin is installed as a standard plugin by default. This plugin allows the users to read, edit, write and browse remote files via ftp, rcp, scp or http.

 

😎

  • +1 1
Link to comment
Share on other sites

  • 6 months later...

Top five Vim plugins for sysadmins

The one sthat caught my eye were,

 

 

Quote

 

4. Vim Gitgutter

The plugin Vim Gitgutter is useful for those using Git as a version control system. It shows the output of Git diff as symbols in the "gutter"—the sign column where Vim presents additional information, such as line numbers. For example, consider this Ansible task file as the current committed version in Git:

 

 

 

Quote

 

5. Vim Fugitive

Vim Fugitive is another great plugin for those trying to incorporate Git into the Vim workflow. This plugin is a Git wrapper that allows you to execute Git commands directly from Vim's interface. This plugin has many features, so make sure to check the Github page for additional information.


 

 

😎

  • Agree 1
Link to comment
Share on other sites

  • 3 years later...
abarbarian

Vim 9.1 Text Editor Adds Smooth Scroll Support, New defer Command, and More

 

Quote

“This release is dedicated to Bram Moolenaar, Vim’s lead developer for more than 30 years, who passed away half a year ago. The Vim project wouldn’t exist without his work!” reads the release

 

Quote

Starting with this release, Vim has been updated for the OpenVMS multi-user, multiprocessing, and virtual memory-based operating system, comes with an EditorConfig plugin by default, and includes a few new functions, auto-commands, ex commands, and options (a full list is available here).

 

 

A couple of other threads on Vim here at Scots.

 

Beautiful Vim Cheat-Sheet Poster

 

Vim novice tutorial videos

 

The links in the threads above are pretty old eventually they lead to,

 

Vim Cheat Sheet Poster Shop

 

Vim Tutorial Videos

 

The videos are pretty comprehension and well worth a looksee. For instance the Novice Videos cover,

 

In these videos we cover the basics. If you’re just getting started or think you may be missing some of the basic ideas behind Vim, these videos are for you. They’re hosted at Vimeo but you can also watch them here if you wish. The quality may be a bit better over at Vimeo, though.

On this page, you should find that there is some better organization and a decent set of notes you can pick up afterwards.


Welcome to Vim ==============

NOTE: You should really see it straight from Vimeo at Welcome to Vim as the embedded video doesn’t look all that great and at Vimeo there is a decent set of hyperlinks that let you index the video and fast-forward to the major topics.

 

Enjoy. 😎

 

 

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

V.T. Eric Layton

Oh, shucks... I won't be getting the newest VIM when I finally do get around to upgrading to Slackware 15. I'll only be getting Vim 8.2. :(

Link to comment
Share on other sites

securitybreach
8 minutes ago, V.T. Eric Layton said:

Oh, shucks... I won't be getting the newest VIM when I finally do get around to upgrading to Slackware 15. I'll only be getting Vim 8.2. :(

 

Wow, 9.1.0000-1 is the latest.
 

Link to comment
Share on other sites

Slackware -current has 9.1.0027 I've been running current since x86_64 came out by AlienBob. There's never been a reason to go back to stable. The worst that has happened has been the nvidia driver not keeping up with the current kernel. That's usually only a couple of days away, but has not happened actually in a couple of years or so.

 

Then again, I mostly use emacs.....

 

  • Like 1
Link to comment
Share on other sites

securitybreach
16 minutes ago, mlangdn said:

Then again, I mostly use emacs.....

 

It was really hard to like that post lol

  • Haha 1
Link to comment
Share on other sites

V.T. Eric Layton
3 hours ago, mlangdn said:

I've been running current since x86_64 came out by AlienBob.

 

Heh... I've never been one of those "bleeding edge" types. I'm more the staid old Commodore VIC 20 type user. ;)

  • Like 1
Link to comment
Share on other sites

V.T. Eric Layton

I like emacs and cheese!

 

Homemade-Macaroni-and-Cheese-5-copy.jpg&

 

Everything's better with cheddar!

 

 

  • Haha 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...