Hi all
Tony said:
F2 to F12 (with the possible exception of F10), Shift-F1 to Shift-F12.
Perhaps not the OP, but someone might find this useful.
Vim, at least on Windows, also knows about F13, F14 and F15. I've
never seen a keyboard with such, but registry mappings can be used to
map the
Hi
Try explicitly setting the browsedir option to a directory before
clicking save as ...
For example,
set browsedir=c:\
It may be that vim has remembered some now inaccessible place and is
trying to display its contents.
HTH
CursorHold,CursorHoldI * :call Timer()
turns vim into a clock. It doesn't work in visual, command, and
operator pending mode. I use it as a tail -f viewer (replace the echo
with checktime | normal G) for log files I want to have syntax
highlighted, a practice I find really helpful.
Regards, John
Hi
Do you have a wheel-mouse, and use the wheel?
Inadvertent middle button presses using the wheel can randomly drop
bits of text, selected from random parts of the screen.
If you don't use the middle button, consider mapping it to something
harmless, like nop.
HTH
Gene Kwiecinski wrote:
Me, I go to whatever I'm looking for, hit 'v', then use normal motion
commands (eg, 3e) to highlight the text in question, instead of using
the mouse.
If a single word, '*' will automagically highlight and search for the
word under the cursor.
And with
vnoremap *
John Wiersba wrote:
When I press F2, rather than doing the action associated with F2? Sometimes when
this happens, it will happen again, but often it won't repeat for a while.
It sounds like you have the mapping defined in normal mode, with :map,
but not in insert mode, with :map!. Often
I *love* it, and regret not having done it years
ago. There's so much available in command mode with Vim; it would
have been best to have adopted this map when I started with Vim.
I suspect that on Bill Joy's original keyboard a colon was not a
shifted key press.
Friendly regards,
John Little
Hi
IMHO simpler and more flexible (works if there are lines not matching
the pattern) is:
:let n=0 | g/opIndex(\zs\d\+/s//\=n/|let n+=1
A useful idiom I learned here. Usually I muck around with ordinary
searches until the search highlighting shows I've got it right, then
:let
Hi all
The wikipedia entry for the Korn shell
http://en.wikipedia.org/wiki/Korn_shell has a tantalizing
parenthetical note:
ksh93s will add a 4th vim mode
Googling for ksh93s + vim only finds the wikipedia article, or copies
of it, and ksh93 + vim mode the same, and ksh93 + vim nothing I
Hi all
The wikipedia entry for the Korn shell
http://en.wikipedia.org/wiki/Korn_shell has a tantalizing
parenthetical note:
ksh93s will add a 4th vim mode
Googling for ksh93s + vim only finds the wikipedia article, or copies
of it, and ksh93 + vim mode the same, and ksh93 + vim nothing I
10 matches
Mail list logo