TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:19757] Editors, keybindings, color, etc. (was: EmacsHTMLmode)
On Sat, 22 Jul 2000, Gabe Turner wrote:
> I've messed with this a lot, and it depends on your terminal emulation. At
> work I have an RS/6000 on my desk and I can't get vim's colors to work in
> anything but AIX's crappy aixterm. If you can't get syntax highlighting to
> work in your term, try messing with your TERM variable and if that fails,
> terminfo hacking is the last resort.
I have to use PuTTY on windows. Maybe if I change it to VT102?
>
> > I also wish Vim was smarter about indents, like Emacs.
>
> add "set cindent" to your .vimrc. It's not just C indenting as the
> name implies. It seems to work well in perl, shell, java and such as
> well.
Ah, but here's the kicker -- can i tab through the file like in Emacs and
have the editor fix my indents on the fly?
> Ah, you haven't discovered vim's nifty "gq" sequence. Read up on it a
> bit. For example, I'm in vim and type an entire paragraph, yet vim
> thinks it a single line. I go to the beginning of the line and hit
>
> gqG
>
> And it breaks my single line into multiple lines and left justifies
> everything. Very nice...
Ah, so intuitive! It sounds like Pico's "justify" command, which I love,
and 'pine' for in Emacs. heh. heh. Of course, I'm sure Emacs can do it,
but the key stroke is probably something like
M-X-G make-this-paragraph-nice-and-pretty
Luke
- Prev by Date:
Re: [TCLUG:19757] Editors, keybindings, color, etc. (was: EmacsHTMLmode)
- Next by Date:
Re: Re: [TCLUG:19757] Editors, keybindings, color, etc. (was: EmacsHTMLmode)
- Prev by thread:
Re: [TCLUG:19757] Editors, keybindings, color, etc. (was: Emacs HTMLmode)
- Next by thread:
Re: [TCLUG:19757] Editors, keybindings, color, etc. (was: EmacsHTMLmode)
- Index(es):