JP Vossen on 17 Mar 2018 13:48:49 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] text editor priv escalation


On 03/17/2018 03:21 PM, JP Vossen wrote:
On 03/16/2018 02:10 PM, jeff wrote:
On 03/16/2018 02:06 PM, JP Vossen wrote:
No, it's better than even that.  _Practical Vim: Edit Text at the Speed of Thought 2nd Edition_.  I have the first edition and it's REALLY good.

$20 https://www.amazon.com/Practical-Vim-Edit-Speed-Thought/dp/1680501275/

Is the book user-hostile too?

Neither vi nor Vim are user hostile, they are just selective about their friends.  :-)

In seriousness, while there is unarguably a learning curve, everything about vi is both efficient and effective, with the arguable exception of the ESC key, but that's not vi's fault.  ESC used to be where CAPS LOCK is now, which made it perfect.  It's not vi's fault that the key moved.

And there's an awesome Vim hack for that in your ~/.vimrc; the "smash":
     inoremap jk <esc>|       " jk "smash" keys for ESC
     inoremap kj <esc>|       " jk "smash" keys for ESC

There's a reason the book's subtitle is "editing at the speed of thought."  :-)  But there are 2 catches, you need to be a touch-typist and you need to spend some time learning the tool.

Arguably I shouldn't send this, but...
https://linux.slashdot.org/story/18/03/17/0438256/vim-beats-emacs-in-linux-journal-reader-survey

<ducks>
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug