... That's quite easy: imap <c-b> <c-v><c-a><c-]> and define your abbrevs like so: ab foo<c-a> foobarbaraann() Then foo<c-b> will expand to foobarbaraann() but...
99912
Antony Scriven
adscriven@...
Dec 31, 2008 10:15 am
2008/12/31 pansz <panshizhu@...>:
> ³ÌÁº дµÀ:
> > Thanks a lot for your help. What I want to get is that,
> > turn off space or enter for...
99913
Hunt Jon
jona.hunt777@...
Dec 31, 2008 10:39 am
Hi I'm using a Mac and VIM, which comes by default. If I run ":shell", the shell doesn't seem to read any shell startup files such as .bash_login, .profile or...
99914
Tony Mechelynck
antoine.mechelynck@...
Dec 31, 2008 11:59 am
... "Saving the name & case" of a deleted file is a concept which is new to me. The name-with-case of an existing file is kept as that file's Long File Name...
99915
Tony Mechelynck
antoine.mechelynck@...
Dec 31, 2008 12:27 pm
... [...] ... With 'showcmd39; on, you see what you are typing for a multikey mapping at the bottom right of the screen. For the {lhs} of a mapping, you would...
99916
Dave Wood
dave@...
Dec 31, 2008 12:44 pm
When I save a file I see something like: xxxx 25L, 5743C written I gather this is lines and characters(?) Is it possible to customise this to show words as...
99917
StarWing
weasley_wx@...
Dec 31, 2008 1:26 pm
you can see the option of 'ruler39;, 'rulerformat39;, 'shortmess39;, 'statusline39;. there are something you want more or less. ... ...
99918
Tony Mechelynck
antoine.mechelynck@...
Dec 31, 2008 1:49 pm
... IIUC, <S-B> -- or <S-b> -- is none other than B, i.e., capital B, which you produce by hitting b with the Shift key depressed. Ctrl-b and Ctrl-B are...
99919
Jukka Salmi
j+vim@...
Dec 31, 2008 2:06 pm
... Maybe I was just not patient enough: after subscribing to this list a week ago and not receiving list messages since (as described above), I eventually...
99920
Antony Scriven
adscriven@...
Dec 31, 2008 2:07 pm
On Wed, Dec 31, 2008 at 12:27 PM, Tony Mechelynck ... ... until you make a typo or the mapping times out. --Antony ...
99921
Dave Wood
dave@...
Dec 31, 2008 2:15 pm
... Sorry I can't see anything there regarding the file written message. Do you know which message I mean? It's what gets put in message line when you save a...
99922
Tony Mechelynck
antoine.mechelynck@...
Dec 31, 2008 3:30 pm
... 1. Does ... display a Vim script? If it doesn't, you have a problem. 2. You are running gvim aren't you? The following will give you menus even in Console...
99923
Matthew Winn
vim@...
Dec 31, 2008 4:21 pm
On Wed, 31 Dec 2008 09:18:07 +0800, pansz <panshizhu@...> ... These days there's very little need for ^S/^Q for flow control. Serial links usually use...
99924
Florian Rehnisch
eixman@...
Dec 31, 2008 4:40 pm
... No new files and happy new year, to all, not just the german fellows. Well, in Germany, both the 25th and 26th are federal holidays. I didn't expect a...
99925
Tim Johnson
tim@...
Dec 31, 2008 4:41 pm
... Yes. ... Interestingly, if I run gvim as root : => sudo gvim I get the menubar. ... Thanks Tony. Will play with this soon. cheers tim ...
99926
Mark Wilden
mwilden@...
Dec 31, 2008 5:11 pm
Well, here's something funny. Without doing anything at all, I started receiving messages from this group last week. Obviously, I'd signed up at some point in...
99927
Gary Johnson
garyjohn@...
Dec 31, 2008 5:51 pm
... You can use the escape() function to escape certain characters in a string. Your mapping would then become map <C-B> 0y$:!<C-R>=escape(@0,'#39;)<cr><cr> See...
99928
Charles Campbell
Charles.E.Campbell@...
Dec 31, 2008 5:54 pm
... The shellescape() function was designed for this situation. Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this...
99929
Gary Johnson
garyjohn@...
Dec 31, 2008 6:41 pm
... When you execute ":shell", Vim should run the program specified by the value of the 'shell39; option, which Vim determines automatically upon startup. Vim...
99930
Tim Johnson
tim@...
Dec 31, 2008 8:41 pm
... Installed the above. Just getting the hang of it. Back to the original problem: FYI: On ubuntu, vim.full which is the origin of the vim/gvim symlink has...
99931
Ted Pavlic
ted@...
Dec 31, 2008 9:27 pm
Pardon the terse response. I'm on a cell phone. Look at shcf setting in vim. Change to -lc to run a login shell. Otherwise use macvim with login shell pref...
99932
Gary Johnson
garyjohn@...
Dec 31, 2008 10:04 pm
... 'shcf' doesn't apply here. The OP is not executing a "!" or ":!" command--he39;s executing ":shell", which doesn't use 'shcf'. Regards, Gary ...
99933
Ben Kim
bkim@...
Dec 31, 2008 10:55 pm
Dear Vimmers, I use putty to ssh into my machine from a windows mobile device (wing). It doesn't have esc and control keys. I'd like to know whether anyone...
99934
anhnmncb
anhnmncb@...
Dec 31, 2008 11:14 pm
... I havn't tried it yet, but I think you can remap all <ESC> or <CTRL> relative key mapping to another one that your keyboard has. For example, map <Leader>c...
99935
anhnmncb
anhnmncb@...
Dec 31, 2008 11:23 pm
Hi, list, when I type Chinese text in vim, I find it's unconvenient for completing Chinese word with C-p/n, because a Chinese word is not seperated by space...
99936
anhnmncb
anhnmncb@...
Dec 31, 2008 11:29 pm
... I meant set iskeyword-="and". ... Also, it will let me can navigate quicker in a long Chinese sentence, now I have to use /? or fFtT or some hjkls then...
99937
Tony Mechelynck
antoine.mechelynck@...
Jan 1, 2009 12:46 am
... meaning: whenever a line includes the following three parts: - zero or more of anything, as many as possible - space, equal, space - zero or more of...
99938
_sc_
toothpik@...
Jan 1, 2009 1:06 am
... a normal mode <Leader> map won't help him much when he wants to <ESC> out of input mode i think i'd recommend an iabbr -- maybe something like iabbr eee...
99939
Tony Mechelynck
antoine.mechelynck@...
Jan 1, 2009 1:58 am
... Maybe your ISP had spam filters blocking vim-list mail, and their criteria have been somehow adjusted? About the time when the vim lists were transferred...
99940
Tony Mechelynck
antoine.mechelynck@...
Jan 1, 2009 2:16 am
... If it were only Escape which were missing, you could get it back by means of a mapping (or rather, a pair of mappings) such as e.g. ... The lack of Ctrl...