Wednesday, January 18, 2012

Re: What did I do?

On Jan 19, 3:23 am, Charles Campbell <Charles.E.Campb...@nasa.gov>
wrote:
>  I seldom have any desire for the capslock.

but Eric said:

> but I do use CapsLock when typing SQL
> into code that someone else may maintain

I add a line to my xmodmap file

add Lock = Scroll_Lock

which makes the otherwise unused scroll lock key into a caps lock, for
when I really need such, without being easily inadvertently pressed
like the standard one.

Another approach I have used in SQL is a vim abbreviations script,
with lines like:
iabbr select SELECT
iabbr from FROM
iabbr join JOIN

(BTW, I consider such a convention brain dead, but one has to get on
in the world.)

Regards, John
Regards, John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: