Re: A Few Issues with the non-gui vim

2011-04-02 Thread bill lam
to change colors in xterm, you create or amend ~/.Xresource and add lines such as, ! change darkblue brighter XTerm*VT100*color4: #0088ff you have to run xrdb or restart x to take effect. BTW ubuntu does not use xterm as its default term emulator as far as I know. -- regards, =

Re: Problems using value returned by external command

2011-04-01 Thread bill lam
If your shell or echo command support this option, try echo -n "Good" -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post

Re: Compiling vim7.3 with python-interp support

2011-03-25 Thread bill lam
I would still recommend downgrading to make your system a sane state. However this is not really a vim compilation problem, you may seek better advice in ubuntu support forum. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subke

Re: Building for Windows 7 64 bit with 64 bit dynamic perl

2011-03-24 Thread bill lam
I cannot remember clearly because I no longer compile vim myself. Last year I built vim using mingw without perl. It might be a 64-bit built but I cannot be sure. You might try by yourself since it was quite straight forward if I remember correctly. -- regards,

Re: Compiling vim7.3 with python-interp support

2011-03-24 Thread bill lam
If you really want to install python-dev, then you may need to downgrade python to satisfy the requirement, sudo aptitude install python:2.6.6-2ubuntu1 HTH -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-k

Re: Odd configure problems on Cygwin

2011-03-23 Thread bill lam
During ./configure, it will compile and run some c programs, if new files cannot get x permission, eg. umask setting, then those test programs cannot be run. Срд, 23 Мар 2011, Gary Johnson писал(а): > On 2011-03-23, Benjamin R. Haskell wrote: > > On Wed, 23 Mar 2011, Gary Johnson wrote: > > > >

Re: VIM 7.3 Problem with F1-F10 in terminal ubuntu 10.10

2011-03-16 Thread bill lam
On my framebuffer term, F1 is ^[OP I use map #1 to map #12 for mapping F1 to F12, it may also work for you. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from

Re: Better syntax highlight file for Git log output?

2010-12-03 Thread bill lam
gt; controlling Git within vim and in most cases vim never lets me down. Now I > just want to have some better syntax highlights for git log (with "--graph", > "--stat", etc.) to color the output easily. > > Any good ideals? > > Regards, > Xell > >

Re: Better syntax highlight file for Git log output?

2010-12-03 Thread bill lam
Сбт, 04 Дек 2010, Xell Liu писал(а): > Plese specify them. Thanks very much. > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. many tools inside this page, I use tig https://git.wiki.kernel.org/index.php/InterfacesFron

Re: Better syntax highlight file for Git log output?

2010-12-03 Thread bill lam
Птн, 03 Дек 2010, Xell Liu писал(а): > I'm using git-vim and fugitive, the most popular git plugins avaliable now, > however they are far from satisfaction. I think you choose a wrong tool. There are other specialised tools for viewing git log. -- regards, ===

Re: fvwm vim problem

2010-11-28 Thread bill lam
Вск, 28 Ноя 2010, Ken Arromdee писал(а): > On Sun, 28 Nov 2010, Thomas Adam wrote: > >>I am running vim 7.2.  When I try to edit a .fvwm2rc, I get syntax errors in > >>fvwm.vim.  It seems that this is not updated for vim 7.2. > >> > >>I found a message by Googling which referred to an updated file

Re: VIM-Crypt help

2010-11-24 Thread bill lam
vim should be a meta package. try sudo aptitude search vim vim-tiny should already installed. choose either vim-gtk (with gvim) or vim-nox (without gvim) should provide big or huge feature. and please don't top post. -- regards, GPG key 1024

Re: exclude dirs when creating project using myproject.vim?

2010-11-22 Thread bill lam
Not knowing the answer to the first question. For the second, I use au BufEnter to setlocal tags for each project. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this messag

Re: Help about colorscheme.

2010-11-22 Thread bill lam
typo. should be aptitude (I usually use tab completion and rarely type the whole word) -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" mailli

Re: Help about colorscheme.

2010-11-21 Thread bill lam
apt remove does not remove all traces. try this sudo aptitide purge '~c' before installing the new vim 7.3 -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from

Re: Building gvim

2010-11-07 Thread bill lam
Вск, 07 Ноя 2010, statquant2 писал(а): > > Thanks a lot gyus that is woking fine now !! > I did sudo apt-get install libgtk2.0-dev" and to be on the safe side "sudo > apt-get install gnome-core-devel" > Then ./configure --with-features=huge then make then src/vim -g WORKED. > > Thanks a lot for h

Re: Make it work like a typewriter?

2010-11-06 Thread bill lam
Assuming you are serious, I suggest notepad would be a better starting point. At least you don't have to constantly switch between insert and normal mode. ymmv -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --re

Re: using xpdf to read pdf in vim on XP

2010-10-24 Thread bill lam
It said it need pdftotext. If you really can find it after installing xpdf, then copy that file to windows/system32 should be ok. On my debian pdftotext is _not_ provided by xpdf, not sure for window. Вск, 24 Окт 2010, flebber писал(а): > I am trying to be able to use vim to read pdf's. Followin

Re: [?] vim,console,Mark

2010-10-19 Thread bill lam
Usually html format emails make little difference to me, but all text inside your email are in bold font makes rendered rather funny in text-mode mua. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 443

Re: Python not working on vim7.3

2010-10-18 Thread bill lam
Пнд, 18 Окт 2010, binxter писал(а): > I recently installed Python 3.1.2 on my system as well as gvim7.3. > When I launch gvim and type the command :version I see +python/dyn as > well as +python3/dyn > > However, when I run > :python3 print('hi') > > I receive the following error: > E370: Could n

Re: Compiling Vim with Gui in Ubuntu 10.10 64bits

2010-10-13 Thread bill lam
Срд, 13 Окт 2010, Felipe Orellana Castillo писал(а): > I don't see any error message > > I've installed gnome-devel package because It may be useful, but not > I'm keep recieving the same lines =/ > > checking for X... (cached) no > checking if X11 header files can be found... yes > checking --en

Re: Compiling gvim on Debian

2010-10-12 Thread bill lam
Try adding --with-x BTW, please do not top-post. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply be

Re: Default print settings use tray 1 of printer

2010-10-10 Thread bill lam
Пнд, 11 Окт 2010, Tony Mechelynck писал(а): > On 08/10/10 22:10, Doug K wrote: > >How do I define what tray to use on the printer? > > > >1) I am running gVim 7.3 on windows 7. > >2) I am using the print command from the toolbar on the gui. > >3) I have set printoptions=paper:letter in my _vimrc >

Re: How to set utf-8 locally (for a buffer) on loading the file

2010-10-06 Thread bill lam
Tony, does gfw help if the OP only worries CJK characters? -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post! Type your

Re: GVIM and Windows XP problem

2010-10-05 Thread bill lam
Пнд, 04 Окт 2010, carey писал(а): > I've been using gvim version 7.1 for a long time without any problems. > Somewhere between Friday afternoon and Monday it lost the ability to > display the menu or toolbar (though the gray area for the toolbar is > there). > > Things I've tried: > > Uninstallin

Re: 答复 : Re: Why Vimball archives are evil?

2010-09-25 Thread bill lam
Сбт, 25 Сен 2010, Stahlman Family писал(а): > > > bill lam wrote: > >Сбт, 25 Сен 2010, Stahlman Family писал(а): > >>more likely he is to move on to something else without trying the > >>plugin. > > > >I agree this likely to happen, but it is also

Re: 答复 : Re: Why Vimball archives are evil?

2010-09-25 Thread bill lam
Сбт, 25 Сен 2010, Stahlman Family писал(а): > more likely he is to move on to something else without trying the > plugin. I agree this likely to happen, but it is also likely that some people who will just move on without trying the plugin if it is a vimball format. FWIW I'm one of them. A more s

Re: Why Vimball archives are evil?

2010-09-25 Thread bill lam
I know my feeling towards vimball is illogical. There is no evil in vimball archive itself, but its short-form 'vba' associates with 'visual basic' and this makes me do not want to even look at it. If it were vmb, vma or vima it would look more pleasant. Just my 2 cents. -- regards, ===

Re: how to fake hlsearch?

2010-09-19 Thread bill lam
vim.tiny does not support even user defined command and function, I think you should be live with it if there is no possibility that a normal version of vim being available. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.

Re: minor bugs in window vim compilation

2010-09-18 Thread bill lam
Сбт, 18 Сен 2010, Bram Moolenaar писал(а): > It appears that IME is defined, resulting in FEAT_MBYTE_IME to be > defined, and feature.h will then define FEAT_MBYTE. > > Try removing IME. I tested it needs to turn off MBYTE and IME in order to compile TINY. I'm still not convincing why MBYTE and I

Re: minor bugs in window vim compilation

2010-09-18 Thread bill lam
Птн, 17 Сен 2010, Bram Moolenaar писал(а): > > Bill Lam wrote: > > > I was able to build window vim using mingw cross-compiled under debian. But > > I found it failed to link for TINY build, the reason is inside os_mswin.c, > > enc_to_utf8 and acp_to_enc routine

Re: Error When Opening an Perl Script

2010-09-15 Thread bill lam
Втр, 14 Сен 2010, Gareth Oakes писал(а): > > > Hi VIMers: > > > Pls help me with this problem. > > > > > ### > > > OS Env: Windows XP Pro, SP3 (English Version) > > > > > Problem Details: > > > Errors occur when a perl script is opened. Th

Re: Error When Opening an Perl Script

2010-09-14 Thread bill lam
Срд, 15 Сен 2010, Dennis Cao писал(а): > Hi Simon, > Sorry, I think it is caused by gmail. I wrote the mail and sent it > days ago. But the mail is NOT sent successfully. > So I re-sent the mail in gmail yesterday. Then some error occurs. Some > characters are transformed into UTF-8 format. > > My

Re: Mark selection for replace

2010-09-13 Thread bill lam
It can also be performed without using visual mode 1. mark the beginning line eg, ma 2. move cursor to the ending line of block intended. 3. substitute with range eg, :'a,.s/foo/bar/g -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyse

minor bugs in window vim compilation

2010-09-13 Thread bill lam
I was able to build window vim using mingw cross-compiled under debian. But I found it failed to link for TINY build, the reason is inside os_mswin.c, enc_to_utf8 and acp_to_enc routines are nested inside feature clipboard, but moving these feat_mbyte out of clipboard's #IF block. It can build succ

Re: ctags + Java

2010-09-10 Thread bill lam
Птн, 10 Сен 2010, Nathan Neff писал(а): > 2010/9/10 bill lam : > > Птн, 10 Сен 2010, Erik Falor писал(а): > >> On Thu, Sep 09, 2010 at 07:44:34PM -0500, Nathan Neff wrote: > >> > I was able to solve the problem by using exuberant ctags, but I find it > >> &

Re: ctags + Java

2010-09-10 Thread bill lam
Птн, 10 Сен 2010, Erik Falor писал(а): > On Thu, Sep 09, 2010 at 07:44:34PM -0500, Nathan Neff wrote: > > I was able to solve the problem by using exuberant ctags, but I find it > > odd that ctags man page states that it works for the Java language. > > > > Does anyone use ctags on Java/other prog

Re: copy vim text through screen windows

2010-09-09 Thread bill lam
Срд, 08 Сен 2010, Moses N писал(а): > Hi, >I use vim 7.1 with GNU screen by connecting to a development server > through putty. I am not able to copy vim text from one screen window and > paste it on the other. My vim is compiled with +xterm_clipboard and i have > done :set clipboard=unnamed.

Re: Somehowofftopic: Cursorkeys with *vi* on Solaris...

2010-09-08 Thread bill lam
Чтв, 09 Сен 2010, meino.cra...@gmx.de писал(а): > Hi, > > this is a somehow offtopic question, but I need a little help to > survive... ;) > > At work I am urged to use the plain vi on a SUN Solaris (5.3, I think) > workstation very often. > I cannot install vi mthere for various reasons. > > On

Re: Trouble Installing Vim on MinGW

2010-09-06 Thread bill lam
Вск, 05 Сен 2010, alan...@comcast.net писал(а): > Although I've installed ncurses, in trying to install vim, I get > complaints about things related to ncurses, either way I try to > compile it: > > 1) Using just "make", I get an error, with the last lines of make's > output: > checking --with-t

Re: OpenSuse snafu resolved - need standard minimum

2010-09-04 Thread bill lam
Сбт, 04 Сен 2010, Henry Hertz Hobbit писал(а): > After some emails back and forth between me and Tony Mechelynck > who first commented that OpenSuse had an autocmd and nomodeline > the answer to getting rid of the shoving the cursor down to the bottom > on re-entry into a previous buffer is reveale

Re: "examinee" is regarded as an incorrect word in vim

2010-09-04 Thread bill lam
Сбт, 04 Сен 2010, H Xu писал(а): > Hello, > > The word "examinee" is regarded as an incorrect word when spell check is > on, while it is a very common word. Is this a bug? > > Regards, > Hong Xu > 09/04/2010 To be fair, ispell also flagged this word as misspelled albeit dict returned entries fo

Re: highlight lines longer than 80 chars for a specific file types.

2010-09-04 Thread bill lam
Сбт, 04 Сен 2010, Reuven Sayag писал(а): > Hi, > I would like to highlight lines that are longer then 80 chars. > I use: > :match ErrorMsg '\%>80v.\+' > the problem is that I only want to do that for cpp and h files, to set > if for 100 for java and to unset it for any other type. > Anyone knows ho

Re: History doesn't work !

2010-08-27 Thread bill lam
Птн, 27 Авг 2010, member thudfoo писал(а): > On Fri, Aug 27, 2010 at 3:58 PM, Simon Ruderich wrote: > > On Fri, Aug 27, 2010 at 02:17:34PM -0700, Tintin72 wrote: > >>>Did you use sudo vim instead of sudo -e ? > >> > >> Yes I did. I don't know sudo -e. What it's about ? > > > > man sudo will tell y

Re: History doesn't work !

2010-08-27 Thread bill lam
Птн, 27 Авг 2010, Tintin72 писал(а): > > Did you by any chance run vim by using sudo? > > Yes I did for some admin stuffs. > Do you think the pb came from it ? Did you use sudo vim instead of sudo -e ? -- regards, GPG key 1024D/4434BAB3 2008

Re: History doesn't work !

2010-08-27 Thread bill lam
Птн, 27 Авг 2010, Tintin72 писал(а): > Hi, > > Well, it's all in the title. > After a fresh install (Vim 7.2.330 on Ubuntu 10.04) I noticed > that the up and down arrows don't work at all to get the last typed > command. > It's the very first time I get this pb with Vim. > > What's wrong ? > > T

Re: Getting word under cursor

2010-08-26 Thread bill lam
Птн, 27 Авг 2010, Gusman писал(а): > Hi, > > Currently I want to make to script that grepping word under cursor in my > project files. > But until know I still confuse how to get the word under cursor, I've been > used expand("") but > I just return the first word of line and the last one. > > Th

Re: Vim 7.3 - E10 Errors Editing _vimrc

2010-08-22 Thread bill lam
I was also troubled by python.vim awhile ago, it was pointed by that one way to prevent python.vim from loading during startup would be add this line into .vimrc let g:vimsyn_embed=0 -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserve

Re: netrw autologin

2010-08-21 Thread bill lam
Сбт, 21 Авг 2010, epanda писал(а): > > > machine ftp.example.net login epanda password qx3rv85f > > machine ftp.example.com login epanda password a4s5vbx8 > > default login anonymous password callingel...@hotmail.fr > > Thank you for the example. > > I don't have dual boot. One boot on Windows c

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whit

2010-08-20 Thread bill lam
Птн, 20 Авг 2010, aleCodd писал(а): > > i reckon i was confused how this mailing list worked and thought it is the > same moderator.. > so is there a separate moderator for the nabble website specific to the vim > group... > > or is it general... > > thanks.. > I hate to bore you but I still t

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whit

2010-08-20 Thread bill lam
Птн, 20 Авг 2010, ale писал(а): > this is regarding the nabble webiste.. I think you should send your request directly to webmaster of nabble.com instead of here. Do you actually think that the guys in nabble.com will answer you here? BTW I still think you owed the moderators an apology. -- re

Re: How to open the latest modified file

2010-08-20 Thread bill lam
By looking at message-id of your emails, it seems you actually sent this and also other posts several times. May I ask what was the reason? -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 --

Re: How to open the latest modified file

2010-08-19 Thread bill lam
Чтв, 19 Авг 2010, eliweiq001 писал(а): > > > On 8月19日, 下午7时11分, Christian Brabandt wrote: > [---=| Quote block shrunk by t-prot: 27 lines snipped |=---] > > > > com! -complete=dir -nargs=? EditLastModified :exe ':tabe ' . > > OpenLastModified() > > #v- > > > > Use :OpenLastModified to open the

Re: ^M character -> / CTRL-V CTRL-M

2010-08-19 Thread bill lam
Чтв, 19 Авг 2010, Mostafa S.Ari писал(а): > Thank you Sven > > this is a vim script file and the message is > E15 Invalid Expression ""^M > I search it with /^M but I cant find any pattern. > I source it in another file that when vim start it load and vim at start > time give this errors > I have

Re: In Windows system() exec is too slow.

2010-08-18 Thread bill lam
Срд, 18 Авг 2010, 777 писал(а): > Hello All: > I want use system() in vim script, I find it too slow. > use it exec a very simple cmd, it will take about 1-2s > (goto to cmd.exe, exec some cmd, reback to vim). > Can make it fast? > Thanks. I think there sh

Re: ctags + php + static methods/methods with similar names

2010-08-17 Thread bill lam
Втр, 17 Авг 2010, Sven Richter писал(а): > 2. When i try to follow a method with CTRL+] it works, but jumps into > the first found method. > For instance, almost every class has a method called: > fetchById() > and i want to get into the class that is being called and not the > first found one. Yo

Re: i really think the moderating is insulting to say the least

2010-08-17 Thread bill lam
Apparently you posted throught nabble. Did you examine the email header to identify where the delay was? You may try post throught google group website or the real gmail smtp for comparison. BTW I think you owned the moderators an apology. -- regards, ===

Re: Abbreviation is expanded by only pressing the key , how to do?

2010-08-17 Thread bill lam
Втр, 17 Авг 2010, coolesting писал(а): > > Hi ,Tim, it is reasonable to your advice and reference, > as mention early i said, maybe is not sufficient detail for express this > problem, > let me show the instance as the following, > > " a abbreviation in .vimrc file > :ab php > > " a ex command-

Re: Typing accents

2010-08-16 Thread bill lam
Пнд, 16 Авг 2010, Alessandro Antonello писал(а): > Hi, all. > > Yesterday I download and install the new Vim version 7.3 and I started facing > some kind of problem when typing accent characters like single quote, double > quote, tilde, back tick and circunflex. The problem seams randomly because

Re: Vim 7.3 released!

2010-08-16 Thread bill lam
Пнд, 16 Авг 2010, Bram Moolenaar писал(а): > > Bill Lam wrote: > > > Congratulation! > > > > BTW, will development trunk be switched to 7.3 or patches will still be > > backported to 7.2? > > I do not see a reason to keep patching 7.2. If someone takes

Re: Vim 7.3 released!

2010-08-15 Thread bill lam
Congratulation! BTW, will development trunk be switched to 7.3 or patches will still be backported to 7.2? -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from t

Re: command autocomplete

2010-08-15 Thread bill lam
Вск, 15 Авг 2010, Mostafa S.Ari писал(а): > Hi again bill > > I use the big and huge options but the problem still remains. > > best > Mostafa > > On Sun, Aug 15, 2010 at 1:43 PM, bill lam wrote: > > > Вск, 15 Авг 2010, Mostafa S.Ari писал(а): > > >

Re: command autocomplete

2010-08-15 Thread bill lam
Вск, 15 Авг 2010, Mostafa S.Ari писал(а): > I have compile vim 7.2 in ubuntu but the command line auto completeness with > tab key is not > enable. How could I make it enable? > > best > Mostafa Ari > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your repl

Re: INSERT mode

2010-08-14 Thread bill lam
(moderators, sorry for top-posting in my previous message) Сбт, 14 Авг 2010, robin clark писал(а): > >> inoremap > >> inoremap Hitting esc in insert mode will go to command mode with cursor move one character backwards except in the begining of a line.[1] [1] vi Tutorial http://www.dina.kvl

Re: INSERT mode

2010-08-13 Thread bill lam
now. It exits insert mode when I hit a > cursor key. Thank you so much ! > I was about to remove vim from my ubuntu ! > Now I don't have to think about the editor when trying to write my > thesis. > > > On Aug 14, 2:46 am, bill lam wrote: > > Птн,

Re: INSERT mode

2010-08-13 Thread bill lam
Птн, 13 Авг 2010, Tim Chase писал(а): > > :inoremap > :inoremap > ... > > to force the behavior you want. I guess the old vi does not recognise arrow keys in input mode, pressing arrow keys will just generate the sequences ^[OC etc. The OP might want a imap to map all arrow keys to n

Re: how to prevent loading python.vim

2010-08-12 Thread bill lam
Чтв, 12 Авг 2010, pansz писал(а): > 1. vim-tiny: This is Tiny version of vim, pretty useless IMO. This is an insult to the original vi. ;-) More seriously, after using vim.tiny for a week, I found it fit for most jobs that I needed such as composing email and editing script files. -- regards,

Re: how to prevent loading python.vim

2010-08-12 Thread bill lam
When I compiled vim from source, I chose "normal" built. However since debian squeeze can offer updated vim, I switched to use vim from its repository. It offers vim.gtk (huge) and vim.tiny (indeed tiny) but no "normal" version. Now I link vim to vim.tiny and only run vim.gtk when I need more fun

Re: Visual bell in VIM

2010-08-10 Thread bill lam
Втр, 10 Авг 2010, Jürgen Krämer писал(а): > > Hi, > > bill lam wrote: > > > > But h: said 'errorbells' and 'visualbell' are default off. > > > > quote from :help 'errorbells' (note the second sentence): > > | Ring th

Re: Visual bell in VIM

2010-08-10 Thread bill lam
Втр, 03 Авг 2010, Ricky J. Wu писал(а): > > > On 8月3日, 下午7时37分, George Potapov wrote: > > Hello. > > I don't like bell and visual bell so I decided to switch it off in my vim. > > I looked it up in the documentation. It says: > > > > == cut == > > When no beep or flash is wanted, use ":set vb t_

Re: need advice on hjkl and rsi

2010-08-07 Thread bill lam
Just to post a report on this subject. I tried dvorak but found it quite difficult to use hjkl and it also required both hands. Since I also use other programs with vi key-binding, I add another keyboard layout that being a mirror image of qwerty. Typing speed is very slow but suitable for reading

Re: how to prevent loading python.vim

2010-08-06 Thread bill lam
Птн, 06 Авг 2010, ZyX писал(а): > Ответ на сообщение <>, > присланное в 14:08:40 06 августа 2010, Пятница, > отправитель bill lam: > > It is a syntax/vim.vim feature. To disable it set ``g:vim_synembed'' to 0 in > your vimrc, see ``:h g:vim_synembed'&

Re: how to prevent loading python.vim

2010-08-06 Thread bill lam
Птн, 06 Авг 2010, Ben Fritz писал(а): > > > On Aug 6, 5:08 am, bill lam wrote: > > > > I set compatible ... in ~/.vimrc > > Why on earth do you do that? > Because there is such an option. ;-) -- regards, GPG

Re: how to prevent loading python.vim

2010-08-06 Thread bill lam
Птн, 06 Авг 2010, Marc Weber писал(а): > Hi lam, > > Excerpts from bill lam's message of Fri Aug 06 07:36:26 +0200 2010: > > Vim from debian (huge build) defaults to load syntax files such as > > python.vim from its system runtime. Is it possible to prevent loading > > some or all syntax file whe

how to prevent loading python.vim

2010-08-05 Thread bill lam
Vim from debian (huge build) defaults to load syntax files such as python.vim from its system runtime. Is it possible to prevent loading some or all syntax file when starting vim by adding some command inside .vimrc? I want to load only those syntax file that I needed. -- regards, =

Re: I think vim.org should have a common plugin package on vim.org

2010-08-03 Thread bill lam
Срд, 04 Авг 2010, H Xu писал(а): > use emacs. These people don't use both vim or emacs. For people who > decide to use vim or emacs, they have to preview both of them. Emacs has > bundled many plugins, so emacs can integrate with gdb, edit tex file > efficiently and some other things without instal

Re: Can't suppress autofolding for php files

2010-08-03 Thread bill lam
Втр, 03 Авг 2010, Tim Johnson писал(а): > * Tim Johnson [100803 17:12]: > > I have just started working with php, so I have no previous > > experience as a metric. I have downloaded and installed piv.vim. I > > have the following in my .vimrc: let g:DisableAutoPHPFolding = 1 > > > > Yet, vim in

Re: Vim 7.3c ready for beta testing

2010-08-03 Thread bill lam
Втр, 03 Авг 2010, Ben Fritz писал(а): > > > On Aug 3, 3:54 pm, Bram Moolenaar wrote: > > Ben Fritz wrote: > > > On Aug 2, 2:52 am, Bram Moolenaar wrote: > > > > > > I find it more important to support Windows 7, so unless we find a way > > > > to support Windows 2000 without breaking Windows 7

Re: some bugs

2010-07-28 Thread bill lam
Втр, 27 Июл 2010, Tony Mechelynck писал(а): > On 27/07/10 18:44, bill lam wrote: > >Втр, 27 Июл 2010, Tony Mechelynck писал(а): > >>On 27/07/10 12:51, Boyko Bantchev wrote: > >>>Recently I've spotted the following problems using > >>>GUI (GTK2) Vim

Re: [Bug Report]E13 error in v73b

2010-07-27 Thread bill lam
Втр, 27 Июл 2010, Ricky J. Wu писал(а): > Hello all > > When I was using version 7.3b to open file and write after edit, I > encounter E13 error. I must use w! to override. Do you have the same > problem? > It works for me. I guess you could provide more context when submitting a "bug report"

Re: some bugs

2010-07-27 Thread bill lam
Втр, 27 Июл 2010, Tony Mechelynck писал(а): > On 27/07/10 12:51, Boyko Bantchev wrote: > >Recently I've spotted the following problems using > >GUI (GTK2) Vim 7.2.330 on Ubuntu 10.04 (April 2010) > >with GNOME 2.30.2 (build 25.6.2010). > > > >-1- > >Unicode characters with grave (U+0300) or acute (

Re: need advice on hjkl and rsi

2010-07-26 Thread bill lam
Thank all for suggestions, I'll try dvorak keyboard first and also try ten-key with left hand. While I can use mouse with left hand, I think the design of mouse is anti-ergonomic for prolonged use. BTW I already managed to hold chopsticks with left hand, but writing is far more difficult. -- re

Re: [bug report] Vim Help on IME

2010-07-25 Thread bill lam
Вск, 25 Июл 2010, Sean писал(а): > Hi Bram, > > It is a good time to consider this Vim help entry as a bug: > > :help IME > > > 8. Input on MS-Windows *mbyte-IME* > > To input multibyte characters on Windows, you have to use Input > > Method Editor(IME). process of your edi

need advice on hjkl and rsi

2010-07-25 Thread bill lam
My right hand (fingers,palm,wrist,elbow,shoulder) was previously suffered from RSI because of using mouse. Now I never use mouse except in firefox (iceweasel) and x selection. Recently I need to do heavy editing and data entry, apparently navigation using hjkl started to injure my right hand agai

Re: gvim project plugin

2010-07-25 Thread bill lam
Вск, 25 Июл 2010, packet писал(а): > On Sat, Jul 24, 2010 at 9:28 PM, bill lam wrote: > > [---=| Quote block shrunk by t-prot: 75 lines snipped |=---] > > regards, > > > > GPG key 1024D/4434BAB3 2008-08-24 > >

Re: gvim project plugin

2010-07-24 Thread bill lam
Сбт, 24 Июл 2010, Tony Mechelynck писал(а): > On 24/07/10 13:28, packet wrote: > > > > > >On Sat, Jul 24, 2010 at 12:54 AM, Tony Mechelynck > >mailto:antoine.mechely...@gmail.com>> wrote: > > > >On 24/07/10 06:52, packet wrote: > > > >Here what i don't understand how to install for my g

Re: format c program

2010-07-16 Thread bill lam
Сбт, 17 Июл 2010, Tony Mechelynck писал(а): > On 17/07/10 03:41, bill lam wrote: > >I want to edit and format (pretty print) someone else c programs. > >It should use hard-tab and tabstop=8, but indentation sometime use tab > >while sometime use spaces, like > > > &g

format c program

2010-07-16 Thread bill lam
I want to edit and format (pretty print) someone else c programs. It should use hard-tab and tabstop=8, but indentation sometime use tab while sometime use spaces, like /* return a pointer to a cell's [struct ent *], creating if needed */ struct ent * lookat(int row, int col) { register struct

Re: toupper all text inside dquote

2010-07-13 Thread bill lam
Втр, 13 Июл 2010, Bee писал(а): > How is it different from this? > > :%s/ = ".*"$/\U& Tim's solution does not require string to be at the end of line. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4

Re: toupper all text inside dquote

2010-07-12 Thread bill lam
Tim, thanks, that is what I needed. Also thanks to Ben for input. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post! T

toupper all text inside dquote

2010-07-11 Thread bill lam
I have a text file, leftstring M151 = "USD" let E152 = 1180 leftstring G152 = "121209" leftstring H152 = "1212-1" leftstring I152 = "200h01" leftstring I152 = "foo\"bar" let K152 = 648600 I want to change upper case for text in pattern ="text"$ when text contains " it will escaped to \" How to

Re: inverted pattern for glob

2010-07-08 Thread bill lam
Tony, As always, thanks for your detail advise. I tested it ok. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post! Typ

inverted pattern for glob

2010-07-08 Thread bill lam
I want a bufwritepre event for all files except a few, pseudo code like au bufwritepre !(*.[chy] Makefile*) :if Is that possible? -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 --

Re: bufwritecmd prevent changes

2010-07-05 Thread bill lam
Втр, 06 Июл 2010, Jürgen Krämer писал(а): > > > bill lam wrote: > > Втр, 06 Июл 2010, Jürgen Krämer писал(а): > >> > >> are you sure this really worked? If you set up a BufWriteCmd autocommand > >> it's the responsibility of this command to do the

Re: Mercurial revision numbers in statusline

2010-07-05 Thread bill lam
Втр, 06 Июл 2010, bill lam писал(а): > matchit.vim that I sourced. Sorry, typo. should be plugin/matchparen.vim in $VIMRUNTIME -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 --

Re: Mercurial revision numbers in statusline

2010-07-05 Thread bill lam
Втр, 06 Июл 2010, Jürgen Krämer писал(а): > > Hi, > > bill lam write: > > > > Can you explain why in JK's code, it will call shell command even on > > cursor movement although he commented it should call inside bufread > > event? I tested it really s

Re: bufwritecmd prevent changes

2010-07-05 Thread bill lam
Втр, 06 Июл 2010, Jürgen Krämer писал(а): > > Hi, > > bill lam wrote: > > Not sure if this is related to updating vim this morning > > I used to have this (simplified) setting in ~/.vimrc > > > > if has("autocmd") > > augroup misc_au

Re: bufwritecmd prevent changes

2010-07-05 Thread bill lam
I found it by myself, it needs to use bufwritepre. I guess the behaviour of bufwritecmd or bufwritepre, or library script had changed. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You

Re: Mercurial revision numbers in statusline

2010-07-05 Thread bill lam
Tony, Can you explain why in JK's code, it will call shell command even on cursor movement although he commented it should call inside bufread event? I tested it really slow very much to the point that I have to vim -u NONE or otherwise cannot edit anything. -- regards, ===

Re: Mercurial revision numbers in statusline

2010-07-05 Thread bill lam
Пнд, 05 Июл 2010, Tony Mechelynck писал(а): > 2. The problem withthis whole approach is that it could run a shell > command every time the status line needs to be refreshed, which might > mean at every move of the cursor. I think that it might cache the version number into a variable during bufrea

  1   2   3   4   5   >