Re: Starting in creamlite behavior
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: William M. <wi...@kn...> - 2003-04-10 14:41:12
|
On Thu, Apr 10, 2003 at 03:28:29AM -0400, Steve Hall wrote: > > That still didn't help. I looked at the loaded files via the :script > > command and saw a file named cream-colors.vim being loaded. This > > file does not have the Sig or EQuote settings. Do I need to remove > > this file? Does the cream-colors-default.vim replace this file? > > Hmm... try the new version of Cream: That works! FYI, to install Cream for all users on a Linux system, you need to manually set the $CREAM directory variable to the system location of $VIM. For me, running Debian Woody, it is set in my global vimrc before I source cream as: let $CREAM='/usr/share/vim/cream/' > I use ctags (ctags.sf.net). We don't generate tags since it is > difficult across platforms and because it is impossible to guess what > other directories might also be involved. (For example, the Cream > developer generator considers both the main functions and the addons.) > Since we consider this a programmer's feature, we leave it up to the > individual to generate them. As do I. I'm not sure I follow your logic here. Vim comes with a build tags icon in the toolbar which works for probably 90% of the users. Why not just follow suit and offer a standard means of generating tags rather than making Cream users track down how to run an external program (I had to look it up b/c I don't use it that often) then figure out the commands necessary to generate the tags and finally type in the commands to perform the tag generation? I'd think that at least half of the target audience of a text editor would be programmers of some ilk. Otherwise, I find that folks are using word processors. > I find at least 6 remappings just in insert mode (search cream-keys > for "nore"). But you'll probably come across many more in normal mode, > simply because there's no point in remapping them if we're only using > insertmode. (e.g., <C-f>, <C-e>, <C-w>, <C-q>). Also, a re-mapped > normal mode key means adjusting the calls at insertmode, too, > something I'm not inclined to do. I'm not sure I follow why a re-mapped normal mode key would mean that you'd need to adjust the calls in insertmode. The noremap function maps normal, insert and visual. We could instead use the nnoremap or, as I'm doing with the cream-keys-normal.vim, use the nmap function both of which only map normal mode keys. You have created a lot of mappings, many of which seem reasonable even though they are not Vim defaults. It will take me another night or two to finish up my editing and testing of the cream-keys-normal.vim. William -- Knowmad Services Inc. http://www.knowmad.com |