Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 08:14:18 -0400
From:      Steve Bertrand <steve@ibctech.ca>
To:        Manish Jain <invalid.pointer@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: A question for developers
Message-ID:  <4A89499A.7040000@ibctech.ca>
In-Reply-To: <4A865FA5.1070609@gmail.com>
References:  <4A858FC0.8030804@gmail.com> <4A859B2A.4040708@ibctech.ca> <4A865FA5.1070609@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms090801060001050106010903
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Manish Jain wrote:

> You are right. Syntax highlighting only works well with X. On the
> console, to the best of knowledge, there is no way to change the colours
> through vim's rc files.

Syntax colour changing does work via .vimrc on the console. The
constructs are named differently: ctermfg, cterm etc.

The default however uses bright yellow and very light blue for many
things, which doesn't appear well on my white console.

Also, there is only a limited number of colours for the console. Your
scheme provided me with what I needed in order to play around for myself.

>>> With that said, I can tell that what you provided me with is much better
>>> than the default. I'll play around this afternoon and see what I can
>>> come up with.
> 
> I am really glad you like my colour set. Please pass it on to anyone who
> might be interested.
> 
> I do not know what your level of expertise with Vim is. Provided you are
> or intend to be serious user and that your knowledge is somewhere in the
> range of beginner to intermediate, I might be able to help a little
> further. 

Well, I just started with it about a week or two ago, but I plan on
using this as my editor from now on.

> Attached is vimref.txt (in a zip), which I created as a
> mini-reference for everything I found useful for daily work. Please go
> through this file AFTER running vim's own tutor.
> 
> Some lines from my .vimrc which you may find useful :
> 
> set backspace=2 whichwrap+=<,>,[,]
> vnoremap <BS> d
> 
> set autoindent
> set nobackup
> set nohlsearch
> set nonumber
> set ruler
> set linebreak
> set wrap
> set laststatus=2
> set tabstop=4
> set shiftwidth=4
> set noexpandtab
> set showmode
> set nocompatible
> set vb t_vb=
> set display=lastline
> set ignorecase
> set nomodeline

Many of these were documented in the tutor, and others I have found
while reading other docs.

Thanks!

Steve

--------------ms090801060001050106010903
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC
AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX
DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G
CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w
Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o
yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh
3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6
VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt
MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3
DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu
ui5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CpYjRaX4VBrk9jR9Bd89vp+AMrKwN9A34bbVk4
pIzLmWsn2njizIKXfOff2+DZVumbv/VuIDy27OBWVJCr+pC9XClyryocU/gh0F9cXoFk700W
/ib8zqdTwPeQs0BvwAmqOf6r9fH1YxxUMjSpAHA15pqYmcPu/OoVufOA3u5lzPOpTZCvJ1qk
zlP7hu1GWEslOj+S0Kj90G2XV+TqHvtQ+zfSr0JOL2Ze0pNPgmOSRicAAAAAAAA=
--------------ms090801060001050106010903--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A89499A.7040000>