I just decided to make the switch from emacs after 10+ years and
quite a pile of elisp. Its already starting to seem worth it.
vim's detailed easy control of keys and excellent documentation
are big wins. Kudos to the vim community.
I have a few little questions I couldn't sort out though:
1. Is it possible to somehow always maintain at least two
windows side by side even if :q or :bd happens on the
second to last buffer? I know about :vsplit and such
but this makes you open new files a different way depending
on how many windows there are.
2. I tried this to make read-only buffers unmodifiable:
function MakeUnmodifiableIfReadonly()
if &readonly
set nomodifiable
endif
endfunction
autocmd BufReadPost * call MakeUnmodifiableIfReadonly()
but it doesn't seem to work with :q or :bd, it takes a full
:bw, which seems not recomended. And I probably missed some
totally easy way to do this (might be a good one for the FAQ)?
3. Incremental search highlighting and folding (vim folding
support is *wonderful*) seem to interract badly: the screen
state when the current search match is inside a fold seems
identical to what you get when the match is failing. Is
there some option that affects this? Ideally the fold line
would be highlighted, but a little error message at the
bottom showing "Failing Isearch" or the like would at least
disambiguate the cases.
4. Is there a way to always put scrollbars to the right of windows
(instead of left of left windows and right of right windows)?
Thanks,
Britton
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---