securitybreach Posted August 6, 2018 Share Posted August 6, 2018 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 2 1 Quote Link to comment Share on other sites More sharing options...
abarbarian Posted August 6, 2018 Share Posted August 6, 2018 Vim was produced at Port Sunlight first appeared on the market in 1904, an offshoot of Monkey Brand Vim is currently owned by Spotless Group https://en.wikipedia.org/wiki/Vim_(cleaning_product) 1 1 Quote Link to comment Share on other sites More sharing options...
raymac46 Posted August 6, 2018 Share Posted August 6, 2018 (edited) 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 August 6, 2018 by raymac46 2 1 Quote Link to comment Share on other sites More sharing options...
raymac46 Posted August 6, 2018 Share Posted August 6, 2018 Vim was produced at Port Sunlight first appeared on the market in 1904, an offshoot of Monkey Brand Vim is currently owned by Spotless Group https://en.wikipedia...eaning_product) http://www.vim.ca/home/about Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted August 6, 2018 Share Posted August 6, 2018 Quote Link to comment Share on other sites More sharing options...
ebrke Posted August 6, 2018 Share Posted August 6, 2018 It was a lot better than punch cards. Sorry, I'd take punch cards over paper tape any day. Quote Link to comment Share on other sites More sharing options...
raymac46 Posted August 6, 2018 Share Posted August 6, 2018 (edited) 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 August 7, 2018 by raymac46 Quote Link to comment Share on other sites More sharing options...
sunrat Posted August 7, 2018 Share Posted August 7, 2018 Back in the 70s I used to walk all the latest data down to the data entry room and they would punch it in. Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted August 7, 2018 Share Posted August 7, 2018 Ah... the '70s! What a time. I have sketchy memories of that era. Quote Link to comment Share on other sites More sharing options...
raymac46 Posted August 7, 2018 Share Posted August 7, 2018 In the 70s I was the experimenter, programmer, data entry clerk and analyst. We had a lean organization - at least my department did. My bible. Best stats book ever written. https://www.amazon.ca/Statistics-Introduction-D-Rickmers/dp/0070526168 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted August 7, 2018 Share Posted August 7, 2018 Egads! Statistics? I'd rather have a root canal done. Quote Link to comment Share on other sites More sharing options...
raymac46 Posted August 7, 2018 Share Posted August 7, 2018 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. 1 Quote Link to comment Share on other sites More sharing options...
crp Posted August 19, 2018 Share Posted August 19, 2018 Vim was produced at Port Sunlight first appeared on the market in 1904, an offshoot of Monkey Brand Vim is currently owned by Spotless Group https://en.wikipedia...eaning_product) http://www.vim.ca/home/about highly doubt the accuracy of this post. vim isn't just vi made pretty? Quote Link to comment Share on other sites More sharing options...
securitybreach Posted August 19, 2018 Author Share Posted August 19, 2018 vim isn't just vi made pretty? Nope, it is much more than that https://askubuntu.com/questions/418396/what-is-the-difference-between-vi-and-vim Quote Link to comment Share on other sites More sharing options...
abarbarian Posted February 15, 2020 Share Posted February 15, 2020 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. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted February 15, 2020 Author Share Posted February 15, 2020 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 Quote Link to comment Share on other sites More sharing options...
abarbarian Posted April 14, 2020 Share Posted April 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted April 14, 2020 Author Share Posted April 14, 2020 2 hours ago, abarbarian said: Vim Tips – Read And Write Remote Files With Vim On Linux Very nice I've used scp and vim for many years now but never combined. 1 Quote Link to comment Share on other sites More sharing options...
abarbarian Posted October 20, 2020 Share Posted October 20, 2020 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. 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted October 20, 2020 Author Share Posted October 20, 2020 Very cool, thanks Quote Link to comment Share on other sites More sharing options...
abarbarian Posted January 13 Share Posted January 13 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 Basic Movement (Screencast 1) Basic Movement (Screencast 2) Basic Movement (Screencast 3) Basic Editing (Screencast 1) Basic Editing (Screencast 2) Working with Many Files (Screencast 1) Working with Many Files (Screencast 2) Working with Many Files (Screencast 3) How to use the Help System 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. 2 1 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 13 Share Posted January 13 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. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 13 Author Share Posted January 13 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. Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 14 Share Posted January 14 Well, you know... Slackware. 1 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 14 Share Posted January 14 Using 7.4 currently in Slackware 14.2. Quote Link to comment Share on other sites More sharing options...
mlangdn Posted January 15 Share Posted January 15 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..... 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 15 Author Share Posted January 15 16 minutes ago, mlangdn said: Then again, I mostly use emacs..... It was really hard to like that post lol 1 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 15 Share Posted January 15 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. 1 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 15 Share Posted January 15 I like emacs and cheese! Everything's better with cheddar! 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.