vim: revert a specific change in the undo history

2023-07-11 Thread ping song
say I've done 3 changes A, B, C. but I realized B is a big mistake. A and C is good. can I just delete change B, but keep A and C? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

break long ex command into multiple lines

2022-07-25 Thread ping song
experts: is there a way to break very long ex command into multiple line? for example I'm using Asyncrun https://github.com/skywind3000/asyncrun.vim plugin to execute a long command: :Asyncrun python3 myapp.py -a 123 -b 123 -c 123 -d 123 In my notes I wanted to record this but with line

vimrc: identify "small" version vs "huge" version

2020-10-02 Thread ping song
experts: I found in centos 7 there is /usr/bin/vi and /usr/bin/vim, with same version, patches. but vi is the "small" version and "vim" is the huge one. obviously both will use same .vimrc, and when vi is used a lot of errors pop up because of the much less features compiled. how do I differ these

Re: vim shows entire file in oneline

2020-04-17 Thread ping song
figuration in my local PC vim8.1 , the same log file was identified as "fileformat unix", and I see multiple lines. I wonder why? is this default behavior changed in vim8.1? On Thu, Apr 16, 2020 at 12:14 AM ping song wrote: > experts: > I just ran into a weird issue today... &

vim shows entire file in oneline

2020-04-15 Thread ping song
experts: I just ran into a weird issue today... when opening a log file in one of my server, It displays everything in one line, joined by ^J (ascii code 10). g ctrl-g gives: Col 32004 of 468-5005640; Line 1 of 1; Word 20 of 144087; Byte 32004 of 469 when I copy the same file into my

vim dot repeat removal of a column

2018-02-21 Thread ping song
I found this is buggy... I visual block one column, x to remove it, now I want to repeat this 5 times. but 5. does not work - I still see one column being removed. is this a day 1 bug or this is per design? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type

TOhtml folding + button in the generated html page

2018-01-30 Thread ping song
I've been using this tool for long time and , especially under diff mode I love its ability to generate side by side 2 panels showing the difference in a good way. and the folding button in html panel is very useful. but recently I changed a new laptop and install vim8, I found the folding button

vim TOhtml

2017-05-18 Thread ping song
I remember previously when doing diff, I can use TOhtml to generate a webpage, which can be collapsed or expanded by clicking the "+" side sign. but today I found it doesn't work - the webpage is generated but the "+" is not clickable anymore. any idea? -- -- You received this message from the

vim stuck on write

2016-09-26 Thread ping song
Experts: I need some help here please... I have a on-going projects that I'm working on with vim. I never saw this until today... whenever I change a tcl file and :write the vim got stuck...for ever. no cpu spike, gnu screen/tmux works fine where vim is running inside. no file permission issue -

vim: keep undo when moving a file?

2016-07-05 Thread ping song
I have a file that I keep using for quite a long while, it's convenient to keep the editing history forever, so if something gone wrong I can always undo back and locate the issue. today I moved the file to another folder and all undo history gone. I tried to rename my original undo file

Fwd: feature work in console vim , but not over ssh

2016-01-19 Thread ping song
. http://asciiflow.com/#Draw To: ping <songpingem...@gmail.com> ping wrote: > On Friday, April 11, 2014 at 10:47:56 AM UTC-4, Charles Campbell wrote: >> ping song wrote: >>> hi Dr. Chip: >>> I'm a big fan of your Drawit plugin (thanks!). >>> today I hear of

vim: register * and + missing in ubuntu1404 server

2015-11-17 Thread ping song
experts: I recently switch from ubuntu desktop to ubuntu server , both are 14.04. and I couldn't find the register * and +. this seems happened twice (whenever I change a system) and looks quite annoying. I couldn't find a working solution. I have all necessary vim modules/apps installed.

Re: vim: what is the best python IDE plugin?

2015-07-01 Thread ping song
PM, Timothy Knox t...@thelbane.com wrote: Somewhere on Shadow Earth, at Wed, Jul 01, 2015 at 12:41:05PM -0400, ping song wrote: experts: I'm learning python now...as always I don't want to miss any VIM magics. is there a best plugin to help me develop python scripts in vim? trying

vim: what is the best python IDE plugin?

2015-07-01 Thread ping song
experts: I'm learning python now...as always I don't want to miss any VIM magics. is there a best plugin to help me develop python scripts in vim? trying to google and don't find one. thanks. regards ping -- -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: vim: least key stroke to replace a word

2015-06-02 Thread ping song
did other tests, it looks Ns is the best one in that: it support repeat with . it is reliable. cta method is good (support repeat), but not reliable (it assumes the 1st word does not contain an 'a'.) thanks! On Thu, Feb 19, 2015 at 7:50 AM, HATe dapureh...@gmail.com wrote: ping song

Re: vim: least key stroke to replace a word

2015-02-18 Thread ping song
thanks folks! really good to learn... I prefer not to define new maps for this purpose. the recording method looks good if I work contineously on it in a day, but need some tool design work everytime I want to use it. the wcb and 4s looks good in the sense that it delete also the space next to the

vim: least key stroke to replace a word

2015-02-17 Thread ping song
experts: I know this looks stupid and simple, but I don't know the answer right now. say I want to replace a word : from: abc 456 to: 123456 what I did is: 1. put my cursor in a, then cw123escx , 7 strokes 2. put my cursor in b, then caw123esc, 7strokes 3. put my cursor in a, then

vim: stock trading plugin

2014-12-20 Thread ping song
http://bluegene8210.is-programmer.com/user_files/bluegene8210/Image/Screenshot%20from%202014-11-05%2022:39:33.png whatelse vim can't do? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

vim: search and jump

2014-12-14 Thread ping song
there is one feature that I had previously, but got lost after I reinstall everything in a new machine from scratch - I couldn't remember from which plugin this was provided... anyway...the feature is this: I search with /abc, if some matches found within current screen, the cursor will move to

[2nd post] vim taglist: jump to local file first

2014-11-25 Thread ping song
can anyone help on this? On Sat, Nov 15, 2014 at 12:17 PM, ping song songpingem...@gmail.com wrote: this annoys me for quite a while... I started some scripts and created some functions/procedures in it. later when I created new script I simply borrowed these (well tested) fucntions

Re: vim: surround plug bug

2014-11-15 Thread ping song
looks I have to live with it. thanks! On Sun, Nov 9, 2014 at 3:12 AM, glts 676c7...@gmail.com wrote: On Sunday, November 9, 2014 9:02:55 AM UTC+1, Eric Christopherson wrote: On Sun, Nov 09, 2014, Eric Christopherson wrote: On Sat, Nov 08, 2014, ping song wrote: I believe this is easy

vim taglist: jump to local file first

2014-11-15 Thread ping song
this annoys me for quite a while... I started some scripts and created some functions/procedures in it. later when I created new script I simply borrowed these (well tested) fucntions/procedures in new scripts, but I may modified them here and there to get the new task done. now I end up with

Re: vim: how to extract .vba file to a specific folder

2014-11-08 Thread ping song
that works (Usevimball), thanks! On Fri, Nov 7, 2014 at 6:23 PM, glts 676c7...@gmail.com wrote: On Friday, November 7, 2014 11:05:03 PM UTC+1, ping wrote: how to extract the vim ball to another folder? the reason I ask this is, I'm now using pathogen to install all my previous favorite

Re: Conqueterm blanks some lines

2014-11-08 Thread ping song
try vimshell , not much better though. at least it solve one issue that is not resolvable in conqueterm: long lines won't be broken into multiple lines. which is good. On Wed, Nov 5, 2014 at 8:56 AM, Ping songpingem...@gmail.com wrote: I think conqterm is a dead project. from iPhone On Aug

Re: vim: Zoomwin plugin stop working after c-wc-o

2014-11-08 Thread ping song
, Charles Campbell charles.e.campb...@nasa.gov wrote: Eric Christopherson wrote: On Sat, Nov 01, 2014, ping song wrote: it's very easy to reproduce. just c-wc-o and then all windows won't came back anymore. I know this is expected. but what's the value to keep that if we have Zoomwin

vim: surround plug bug

2014-11-08 Thread ping song
I believe this is easy to reproduce: test string 1. hi hello world. test string 2. hi hello world . I want to surround hello world (generating - hi hello world). using surround.vim plugin, if my cursor is within hello, but not on h, the provided method is as following: ys2aw if my cursor is on

vim: how to extract .vba file to a specific folder

2014-11-07 Thread ping song
how to extract the vim ball to another folder? the reason I ask this is, I'm now using pathogen to install all my previous favorite plugins but some of them simply don't have a github mirror. and they are only available in the form of vim ball .vba file: e.g.

vim: Zoomwin plugin stop working after c-wc-o

2014-11-01 Thread ping song
it's very easy to reproduce. just c-wc-o and then all windows won't came back anymore. I know this is expected. but what's the value to keep that if we have Zoomwin? the suggestion will be to provide an option to also map that to what c-w_o does... -- -- You received this message from the

vim freeze from inside gnu

2014-10-24 Thread ping song
this is reproduced at this time. whenever I execute register command and hit enter, it freeze... in the begining it only happen in one of my gnu window, but now it happen in 3 of them... anyone experiences that? -- -- You received this message from the vim_use maillist. Do not top-post! Type

Re: vim: netrw: how to preview vertically but on the right?

2014-09-25 Thread ping song
the 1 0 works for me, thanks!! On Wed, Sep 17, 2014 at 10:59 AM, Charles E Campbell drc...@campbellfamily.biz wrote: ping song wrote: current behavior after I set let g:netrw_preview=1 is to open a narrow vertical window from the left. but I would prefer more to have a larger vertical

vim: netrw: how to preview vertically but on the right?

2014-09-16 Thread ping song
current behavior after I set let g:netrw_preview=1 is to open a narrow vertical window from the left. but I would prefer more to have a larger vertical window opened on the right... how to change this behavior ? thanks. -- -- You received this message from the vim_use maillist. Do not

best vim plugin for tex?

2014-09-03 Thread ping song
I wanted to start to write some tex files in vim and is looking for a plugin to make the tex edition/generation as easy as possible. is there a best plugin for this? thanks. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: best vim plugin for tex?

2014-09-03 Thread ping song
thanks! I also found this one... https://github.com/lervag/vim-latex more often that, having more than 1 option is not as good as it sounds -- I don't know which one to pick ... On Wed, Sep 3, 2014 at 5:32 PM, Marc Weber marco-owe...@gmx.de wrote:

vim: how to copy selected text from vim running inside a remote ssh session, to local windows clipboard

2014-06-05 Thread ping song
experts: not sure this was asked before... I run ssh into remote pc(linux) from local PC (windows), run vim from within ssh then select some text from vim now I want to paste these text into local clipboard (so I can paste into outlook, etc).. is there any good way to implement this? I currently

Re: Do you use status line plugins like powerline or airline?

2014-04-26 Thread ping song
yes I use vim airline, that's a great plugin! On Sat, Mar 15, 2014 at 7:17 AM, Paul Isambert zappathus...@free.fr wrote: Charles Campbell charles.e.campb...@nasa.gov a écrit: Joseph Orbegoso Pea wrote: I'm curious to gain some insight on powerline/airline usage. If you know what

vim fold: how to avoid the +-- marks

2014-04-26 Thread ping song
experts: a question about vim fold: I can fold these: a b c d e into : a b +-- 2 lines: c e I just wonder, how to avoid displaying the +--, and just leave it as: a b 2 lines: c e sometime this looks cleaner for me... especially if I need to refer the folded

Re: taglist: how to display tcl variables?

2014-04-24 Thread ping song
thanks. I'll look into it. On Wed, Apr 23, 2014 at 2:49 PM, Yegappan Lakshmanan yegapp...@gmail.comwrote: Hi, On Sat, Apr 19, 2014 at 10:20 AM, ping song songpingem...@gmail.com wrote: I remember I ever saw the variables in tlist window. but currently I only see functions/procedures

Re: vim: portablity of backup files?

2014-04-22 Thread ping song
oh yeah, that's right! thanks! ...except 3. :) -- I copied over the undodir and now I inherited all historical persist undo in the new machine for all files! - except for those I have changed again in local PC before copying over the undodir... On Mon, Apr 21, 2014 at 9:46 PM, Ben Fritz

Re: vim: missing register * and #

2014-04-22 Thread ping song
On Sat, Apr 19, 2014 at 2:25 PM, Gary Johnson garyj...@spocom.com wrote: On 2014-04-19, ping song wrote: On Thu, Apr 17, 2014 at 6:46 AM, Tim Chase wrote: On 2014-04-17 03:13, John Little wrote: Shlomi Fish said: it's possible the Ubuntu console vim packages

Re: vim: missing register * and #

2014-04-22 Thread ping song
remotely, now within GNU screen I can see the * + so confusingI'll post if I can figure this out... On Tue, Apr 22, 2014 at 11:41 PM, ping song songpingem...@gmail.com wrote: On Sat, Apr 19, 2014 at 2:25 PM, Gary Johnson garyj...@spocom.com wrote: On 2014-04-19, ping song wrote

Re: vim: missing register * and #

2014-04-19 Thread ping song
thanks. I means the + and * register.. It looks both vi and vim were linked to the right target -- vim.gnome: ping@ubuntu1404:~$ sudo update-alternatives --config vi [sudo] password for ping: There are 4 choices for the alternative vi (providing /usr/bin/vi). SelectionPath

vim: portablity of backup files?

2014-04-19 Thread ping song
I recently copied over a bunch of files to another machine and realized I missed all of the backup files (for persistent undo). I managed to find out the backupdir and copied them over also, still I can't undo, I think I use the same folder path on both machines... any thought? regards ping

taglist: how to display tcl variables?

2014-04-19 Thread ping song
I remember I ever saw the variables in tlist window. but currently I only see functions/procedures,nothing else. I change the taglist.vim : let s:tlist_def_tcl_settings = 'tcl;c:class;v:variable;f:method;m:method;p:procedure' but still not working... research on ctag showing that it might not

Re: Poll: What's good about plugin managers?

2014-04-16 Thread ping song
really nice site! will read through..thanks! On Tue, Apr 8, 2014 at 3:57 AM, Marc Weber marco-owe...@gmx.de wrote: I've already said that most wolk reasonably well for most common use cases. Smaller differences are documented here (maybe this is incomplete):

vim: missing register * and #

2014-04-16 Thread ping song
after installing vim in ubuntu14.04 in a new HD, I found I'm missing * and # register now... did some research but still no idea how to get it back. I did have vim-gnome installed, and version shows I have the clipboard ability... what am I missing here? :version VIM - Vi IMproved 7.4 (2013

vim drawit vs. http://asciiflow.com/#Draw

2014-04-10 Thread ping song
hi Dr. Chip: I'm a big fan of your Drawit plugin (thanks!). today I hear of asciiflow.com/#Draw, it looks surprisingly nice too. I guess it's not possible to have the similiar ability in vim? FYI. regards ping -- -- You received this message from the vim_use maillist. Do not top-post! Type

Re: Poll: What's good about plugin managers?

2014-04-07 Thread ping song
forks: any conclusions/progress about the discussion? I just got a new PC and I'd like to try one of the plugin manager way to start my vim journey on it. previously I only did that manually in years. On Thu, Mar 27, 2014 at 11:43 AM, Nikolay Pavlov zyx@gmail.com wrote: On Mar 27, 2014

Re: Poll: What's good about plugin managers?

2014-04-07 Thread ping song
I meant folks...:) On Mon, Apr 7, 2014 at 2:54 PM, ping song songpingem...@gmail.com wrote: forks: any conclusions/progress about the discussion? I just got a new PC and I'd like to try one of the plugin manager way to start my vim journey on it. previously I only did that manually

Re: Poll: What's good about plugin managers?

2014-03-23 Thread ping song
I think it's best to have a vim built-in standardized/official plugin manager. for an ordinary user it's often confusing to choose between many options - so better to have an official one (better have most features centralized/integrated) to start with ... On Sun, Mar 23, 2014 at 12:47 PM, ed

Sum plugin not support comma in digits

2014-02-27 Thread ping song
hi Dr. chip: I've been using your Sum plugin and it helps from time to time. today I found that it does not support the comma as displayed in my bank account - give me wrong huge value (I hope the number become true though..) currently I work around it by removing the comma manually and re-Sum. do

vim: how to leave vim in insert mode after execute a command

2014-01-21 Thread ping song
it looks, after any command executed, vim will be left normal mode. how to make vim stay in insert mode after any ex command ? example: :normal iabc -- after this, I have abc in my buffer , but in normal mode. -- -- You received this message from the vim_use maillist. Do not top-post! Type

vim fugitive Glog error message

2014-01-09 Thread ping song
hi Tim: whenever I issue Glog (git log) command with fugitive plugin, I got the following errors: :Glog :!git --git-dir=/home/ping/temp-git/.git --no-pager log --no-color '--pretty=format:fugitive:///home/ping/temp-git/.git//%H/file1.txt::%s' -- file1.txt 21| tee /tmp/vw8oisc/8

constant vim coredump

2014-01-04 Thread ping song
I got constant vim coredump whenever I open my session file: vim -S fuf Vim: Caught deadly signal SEGV Vim: finished saved session fuf Segmentation fault (core dumped). I'm using vim 7.4. seems only happen when I open this session file... -- -- You received this message from the vim_use

Re: constant vim coredump

2014-01-04 Thread ping song
strange that I can't locate the core...it's not in my current folder and the folders of my opened file.. attached is the vim --version and the session files... On Sat, Jan 4, 2014 at 11:18 AM, Nikolay Pavlov zyx@gmail.com wrote: On Jan 4, 2014 7:57 PM, ping song songpingem...@gmail.com

vim read remote text file and web page from a URL

2013-12-28 Thread ping song
I'm like to open a remote well-formatted text file from vim directly: vim http://tools.ietf.org/rfc/rfc4601.txt it shows me the file, well formatted. but then sometime I want to check a web page quickly: vim http://www.google.com adding these 2 lines the webpage can be rendered by elink and get

Re: vim quickfix: make a enter locate the match but don't jump on it.

2013-12-22 Thread ping song
from ~/.vim/plugin/taglist.vim Press ENTER or type command to continue kind of a tricky request, like:how to make the CR not to jump over, while after borrowing taglist's CR magic? On Sat, Dec 21, 2013 at 8:51 PM, ping song songpingem...@gmail.com wrote: thanks Chris, this works! I didn't

Re: vim quickfix: make a enter locate the match but don't jump on it.

2013-12-22 Thread ping song
overide in that local buffer/ft. thanks! On Sun, Dec 22, 2013 at 3:00 PM, Yegappan Lakshmanan yegapp...@gmail.comwrote: Hi, On Sun, Dec 22, 2013 at 11:48 AM, ping song songpingem...@gmail.com wrote: gee..I just tried this idea on another scenario, didn't work... this doesn't work, guess

vim: any good tcl/expect debugging plugins?

2013-12-22 Thread ping song
like perl-support or bash-support... is there a tcl/expect one? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you

Re: vim: combine quickfix with bufdo/tabdo/argdo/windo..

2013-12-21 Thread ping song
thanks Ben. that works as expected, not quite handy though...but still good. On Fri, Dec 20, 2013 at 9:08 PM, Ben Fritz fritzophre...@gmail.com wrote: On Friday, December 20, 2013 7:29:52 PM UTC-6, ping wrote: but if it look at vimgrep, it actually provide very little control of on what

Re: vim: conqueterm : truncated lines

2013-12-21 Thread ping song
anyone got any resolution for this issue? is conqterm a dead project ? there seems to be no bug fix since 2 years ago... it's just unfortunate since this is one of the greatest extensions that far expand vim's magic... On Wed, Mar 6, 2013 at 2:16 PM, ping songpingem...@gmail.com wrote: On

Re: vim quickfix: make a enter locate the match but don't jump on it.

2013-12-21 Thread ping song
thanks Chris, this works! I didn't know that vim can: define a map for just one filetype further, just for one buffer. that's nice! On Wed, Dec 18, 2013 at 4:39 AM, Christian Brabandt cbli...@256bit.orgwrote: On Wed, December 18, 2013 10:30, ping song wrote: I guess this is an old topic

Re: vim quickfix: make a enter locate the match but don't jump on it.

2013-12-21 Thread ping song
I think this might be another great thought that solves the issue from a different angle.. filter the quickfix 2nd time is a good idea. thanks! On Wed, Dec 18, 2013 at 5:37 AM, Marc Weber marco-owe...@gmx.de wrote: Map :cnext and :cprev to keys, then :cnext is fast. If you have to find a

vim: combine quickfix with bufdo/tabdo/argdo/windo..

2013-12-20 Thread ping song
I'm quite sure that vim is lacking an important/handy feature here: it provides the bufdo/tabdo/argdo/windo , wich gives precise control to what files you are operating on. it also provide vimgrep+QFwin, which provide a built-in powerful multi-file search ability. but if it look at vimgrep, it

Re: vim is very slow when opening multiple , large , gzip files

2013-12-18 Thread ping song
you are absolutely right... vim -p seems the best option available ..(-o/O doesn't look good for files more than 3..). now the file toggling is MUCH faster, so only 1 time slow on start up and all other later operation is fast. great ! On Tue, Dec 17, 2013 at 3:21 PM, Ben Fritz

Re: vim is very slow when opening multiple , large , gzip files

2013-12-18 Thread ping song
thanks! On Wed, Dec 18, 2013 at 4:00 AM, ping song songpingem...@gmail.com wrote: you are absolutely right... vim -p seems the best option available ..(-o/O doesn't look good for files more than 3..). now the file toggling is MUCH faster, so only 1 time slow on start up and all other

vim quickfix: make a enter locate the match but don't jump on it.

2013-12-18 Thread ping song
I guess this is an old topic, at least I asked earlier some time ago. but I seems never got the good resolution... quickfix windows is handy. the :cXXX commands are also good. current work flow is sth like this: 1. you search via vimgrep :vimgrep /abc/gj ## 2. :cw to open the quickfix(QF) win

vim is very slow when opening multiple , large , gzip files

2013-12-17 Thread ping song
I know it might be normal, how can I expect it to be same fast as small/single txt file? but the thing is `less` is much faster, in the same situation... so this is how I opened them: vim *.gz and I got all these gz files opened. each of the gz files is about 4M Bytes. so far nice and the vim

Re: vim: toggle between tabs and toggle between buffers

2013-12-13 Thread ping song
: ping song songpingem...@gmail.com: I tried these pseudo-codes, but these are just 1 time thing and won't change over time...couldn't figure out a good way. ;if more than one tab, don't hack if tabpagenr($) 1 unmap gt unmap gT ;otherwise , if there is one tab, use gt,gT,Ngt

Re: vim: toggle between tabs and toggle between buffers

2013-12-12 Thread ping song
thanks. this is nice. just one more enter in the end. noremap silent ,l :call SIDswitch()enter reading about SID again...(I figured it out ever) On Thu, Dec 12, 2013 at 4:40 AM, Paul Isambert zappathus...@free.fr wrote: ping song songpingem...@gmail.com: currently I have a map to quickly

Re: vim: toggle between tabs and toggle between buffers

2013-12-12 Thread ping song
furthermore, I want to overide Ngt to :bNenter, when there is only one tab... this looks requiring N being extracted and used as a parameter of the function... how to implement that? thanks! On Thu, Dec 12, 2013 at 11:29 AM, ping song songpingem...@gmail.com wrote: thanks. this is nice. just

Re: vim: toggle between tabs and toggle between buffers

2013-12-12 Thread ping song
map gt :bncr map gT :bpcr else map gt :C-Uexec b . v:countcr endif endif On Thu, Dec 12, 2013 at 11:23 PM, Nikolay Pavlov zyx@gmail.com wrote: On Dec 13, 2013 1:56 AM, ping song songpingem...@gmail.com wrote: furthermore, I want to overide Ngt to :bNenter, when

vim: toggle between tabs and toggle between buffers

2013-12-11 Thread ping song
experts: currently I have a map to quickly switch between 2 tabs: nmap ,l :exe tabn “.g:lasttabCR au TabLeave * let g:lasttab = tabpagenr() it works nice. but I'm thinking to extend that to another scenario, that if I got only one tab left but still have multiple buffers, the same map will

how to remap ';' key, without affacting/slowing down its original function?

2013-12-09 Thread ping song
I'm looking at my keyboard for any un-used but still good keys left for my own maps I know ; was by default used as a repeat movement key. I thought that's not quite frequently-used, but still hesitating to block it. so thinking of ; key, that makes sense only when: 1) a fFtT key has been

how to disable (or toggle) csv plugin?

2013-11-29 Thread ping song
csv plugin is nice, but for some reason when I open a large file it take forever to load and then freeze. Ctrl-c doesn't help. is there a way to disable it (without uninstall) temporarily? thanks! -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: Fwd: vim: what the current best practice to work with excel file (xlsx)?

2013-08-28 Thread ping song
hi Chris: did you add any new feature to solve this problem? today I use your plugin to open another 20M csv file, and since I mapped my blank key into C-f, it froze for quite a while on my keystroke again... can I config the plugin to use other keystroke for what it is doing with blank key?

Re: vim: how to use back reference to compare strings?

2013-08-12 Thread ping song
Aug 2013, ping song wrote: I tested this again these test lines, doesn't work. abc123 bla bla bla abc123 bla bla abc123 bla bla bla abc1234 bla bla abc123 bla bla bla abc123 bla bla abc123 bla bla bla abc1234 bla bla abc123 bla bla bla abc123 bla bla :g#\(abc\d\+\)\(.*\)\(abc\d

Re: vim: how to use back reference to compare strings?

2013-08-11 Thread ping song
thanks again John! I tried your 1st amendment , which is: :g#\(abc\d\+\)\(.*\)\(abc\d\+\)\(.*\)#s//\=Diff(submatch(1),submatch(3))/n really wireld , I still got the same result -- a message saying: 5 substitutions in 5 lines, nothing got echoed out... I copied from your email and pasted into my

Re: vim: how to use back reference to compare strings?

2013-08-10 Thread Ping Song
meant On Sat, Aug 10, 2013 at 3:30 AM, Marcin Szamotulski msza...@gmail.com wrote: Hi, I am not sure if I understand you correctly but you can use \(...\) and and then reuse it with \1 (it matches the same string as what \(...\) have matched). Regards, Marcin On 00:44 Sat 10 Aug , ping song

Re: vim: how to use back reference to compare strings?

2013-08-10 Thread ping song
I tested this again these test lines, doesn't work. abc123 bla bla bla abc123 bla bla abc123 bla bla bla abc1234 bla bla abc123 bla bla bla abc123 bla bla abc123 bla bla bla abc1234 bla bla abc123 bla bla bla abc123 bla bla

Re: vim: how to use back reference to compare strings?

2013-08-10 Thread ping song
I'm expecting to see only line 24... any idea? regards ping On Sat, Aug 10, 2013 at 5:11 PM, Niklas Reinhart niklas.reinh...@gmail.comwrote: Hi, this works for me: abc\(\d\+\).*abc\1\@! Regards Niklas Am Sat, 10 Aug 2013 16:45:30 -0400 schrieb Ping Song songpingem

Re: vim: how to use back reference to compare strings?

2013-08-10 Thread ping song
I also checked help \@!, and got this: Useful example: to find foo in a line that does not contain bar: /^\%(.*bar\)\@!.*\zsfoo but it seems, it desn't work with back-ref ... guys, who can help explaining these ? On Sat, Aug 10, 2013 at 10:50 PM, ping song songpingem...@gmail.com wrote: hi

vim: how to use back reference to compare strings?

2013-08-09 Thread ping song
hi guys: I run into a scenario that , I need to compare 2 part of the regex string in one line : abc123456 bla bla bla abc1234 so I'm thinking, can we use the backreference, to compare the first abc\d\+ with the second one and only print out a message in case we detect the different ones ?

Re: vim: how to produce the html pages like the vim help html?

2013-07-23 Thread ping song
any help? On Mon, Jul 22, 2013 at 9:03 AM, ping songpingem...@gmail.com wrote: this looks real nice! http://vimdoc.sourceforge.net/**htmldoc/http://vimdoc.sourceforge.net/htmldoc/ the thing that I like it , is that it looks exactly what it is in vim , compacted pure text but still

Re: VIM: best way to swap the Caps and esc, but JUST for vim

2012-06-16 Thread ping song
On Sun, Jun 17, 2012 at 10:18 AM, ping song songpingem...@gmail.com wrote: experts: this might be an old topic...but surprisingly I don't get a good answer from google easily... in my work I use linux and I already swapped the esc/caps with xmodmap, so I don't have issue to do