Re: Limiting ftplugins to relevant buffers

2013-01-21 Thread sc
n are active in this buffer. How can I > prevent this? have you tried using "setl" instead of "set"? sc -- 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

Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-15 Thread sc
On Mon, Jan 14, 2013 at 11:19:37PM -0500, stosss wrote: > On Mon, Jan 14, 2013 at 9:57 PM, sc wrote: > > On Mon, Jan 14, 2013 at 08:24:40PM -0500, stosss wrote: > >> I just started creating :iabbrev for all sorts of simple things. They > >> all work just fine when Vi

Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread sc
is not .vimrc sourced automatically? And isn't .vimrc where you've defined them? sc -- 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

Re: auto switch mode to NORMAL when + is pressed

2013-01-07 Thread sc
normal mode command then returns you to insert mode. In your example above when executed from insert mode would leave insert mode, perform , and return you to insert mode. see :h i_CTRL-O sc -- You received this message from the "vim_use" maillist. Do not top-post! Type you

Re: Opening/creating a filename with a space using the :e command?

2012-12-31 Thread sc
n't open a file name > with a space in it. > Do I need to do some kind of special escape sequence in order to open it, or > is VIM just designed such that I can't do this? no, not special, the most common, mundane escape sequence in all of computerland: :e ~/File\ name sh

Re: CTRL-A & CTRL-X backwards

2012-12-24 Thread sc
on't know how that happened. by any chance is there a '-' in front of your number? sc -- 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

Re: vim: strange issue with gq

2012-12-04 Thread sc
d vim -u > NONE) there is no issues with the same texts. But I just can't locate > the issues. > any idea how to narrow it down? I'd start by asking vim what he believes is the filetype -- this looks to me like a syntax buggaboo. sc -- You received this message from the "vi

Re: email plugin

2012-11-29 Thread sc
utt you might try ;) exactly -- get mutt and configure to use vim as your editor -- get postfix and his fetchmail and you won't need much else sc -- 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

Re: move a range of text to address?

2012-11-13 Thread sc
d S-F8 to that very function with nnoremap :m+ inoremap :m+gi vnoremap :m'>+ nnoremap :m-2 inoremap :m-2gi vnoremap :m-2 sc -- 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

Re: close current buffer window / file

2012-11-10 Thread sc
dow, but I will only > close the File and look on the other buffer. > close or q, destroy my split window. I have a simple command defined in my .vimrc for this purpose: command! BD b # | bd # should do what you want sc -- You received this message from the "vim_use" maill

Re: How to "filter" a plaintext pattern in a separate fullpage buffer to work on it separately ?

2012-11-02 Thread sc
On Thu, Nov 01, 2012 at 01:53:47PM -0700, tjg wrote: > Thank you for your answer. > If I understand well, I must > - first search a pattern, e.g. /Robert > - then apply your local expression fold method, here o > Am I right ? yes, that's it exactly -- it's very useful when done you can resto

Re: How to "filter" a plaintext pattern in a separate fullpage buffer to work on it separately ?

2012-11-01 Thread sc
ese mappings, after any search if I hit o I get every line that doesn't have my search pattern folded away into oblivion and only lines with my search pattern are visible (and easy to work with). My mnemonic when working with these mappings is to think "only." oo then unfolds all

Re: Regarding NETRW and the buffer list

2012-10-19 Thread sc
t=0). But once I've opened my file, I'd > like the filepath to disappear from the buffer list. As I mentioned before, I > like to :bprev/:bnext through buffers, but continually coming across leftover > directory trees from NETRW is interfering with my rhythm (I always have

Re: vim: how to search a pattern through all files in a compressed file (e.g. a tar.gz ball)?

2012-09-14 Thread sc
On Fri, Sep 14, 2012 at 01:14:58PM -0500, sc wrote: > On Fri, Sep 14, 2012 at 01:11:45PM -0500, sc wrote: > > On Fri, Sep 14, 2012 at 12:46:08PM -0500, Tim Chase wrote: > > > On 09/14/12 12:10, Ben Fritz wrote: > > > > On Friday, September 14, 2012 12:06:41 PM UTC-5,

Re: vim: how to search a pattern through all files in a compressed file (e.g. a tar.gz ball)?

2012-09-14 Thread sc
On Fri, Sep 14, 2012 at 01:11:45PM -0500, sc wrote: > On Fri, Sep 14, 2012 at 12:46:08PM -0500, Tim Chase wrote: > > On 09/14/12 12:10, Ben Fritz wrote: > > > On Friday, September 14, 2012 12:06:41 PM UTC-5, sc wrote: > > >> On Fri, Sep 14, 2012 at 12:14:41PM -0400

Re: vim: how to search a pattern through all files in a compressed file (e.g. a tar.gz ball)?

2012-09-14 Thread sc
On Fri, Sep 14, 2012 at 12:46:08PM -0500, Tim Chase wrote: > On 09/14/12 12:10, Ben Fritz wrote: > > On Friday, September 14, 2012 12:06:41 PM UTC-5, sc wrote: > >> On Fri, Sep 14, 2012 at 12:14:41PM -0400, ping wrote: > >>> assume I have a tar ball containing

Re: vim: how to search a pattern through all files in a compressed file (e.g. a tar.gz ball)?

2012-09-14 Thread sc
ugh all the files in the tarball? do you have zgrep available? if so you can zgrep 'pattern' tar-gz-file | vim - sc -- 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

Re: Changing location of swap directory for selected files, how to?

2012-09-12 Thread sc
lso buys you the advantage of being able to query that path before a new edit session to see what if anything is already being edited you mentioned obtaining default behavior -- the default for 'directory' is to have real paths and all swapfiles in one place sc -- You received this messag

Re: VIM Syntax Highlighting - new vim does it wrong?

2012-09-10 Thread sc
has some look-aheads and/or look-behinds that make it just too busy to paint while you're scrolling. To verify try :syntax off and see if it persists. This is especially likely in view of your statement that it happens only with this type of file. sc -- You received this message

Re: cal in a doc

2012-09-10 Thread sc
On Mon, Sep 10, 2012 at 01:23:24PM +, Reid Thompson wrote: > On Mon, 2012-09-10 at 06:35 -0500, sc wrote: > > > > in the Who Cares!?! department we have this: Bee might conceivably be > > interested in a slightly fancier calendar, one with today's date > >

Re: cal in a doc

2012-09-10 Thread sc
ing in your vimrc: nnoremap :call Acdmo() inoremap :call Acdmo() function! Acdmo() read! ~/py/currmo 38 let im = strftime("%H:%M") call append(line("."), "") call append(line("."), im) call append

Re: Search within results from More prompt?

2012-08-14 Thread sc
r > using $PAGER? you can use the :redir command to redirect messages to a file, register, or variable, then search the file, or manipulate the register, or however best suits your style see :h redir for details sc -- You received this message from the "vim_use" maillist. Do not t

Re: Activating Windows gVim from the command line

2012-08-01 Thread sc
On Wed, Aug 01, 2012 at 04:36:50PM -0700, His Nerdship wrote: > I left a query about 10 days ago which was kindly and competently > answered by Ben (Fritz). Vielen Dank, Ben. > I have another problem stemming from the same issue, namely that the > moronic managers (aren’t they all?) at my new job

Re: buffer size

2012-08-01 Thread sc
On Tue, Jul 31, 2012 at 07:09:25PM +0200, rockybalboa4 wrote: > What ways are there to check the buffer size? >   > getfsize() >   >   > redir @" > execute "silent normal! g\" > redir END >   >   > More? let sz = line('$') call Dowhateverwith(sz) -- You received this message from the "vim_u

Re: How to turn off auto-indentation?

2012-07-31 Thread sc
On Tue, Jul 31, 2012 at 04:33:47PM -0400, Yves S. Garret wrote: > Hello, > 2 - Say I'm modifying multiple files. The "buffers" feature makes it much > easier to have multiple files in a single window and then switch between > them. This keeps my desktop sane by having just one window to look at.

Re: What's the best way to move to an arbitrary location on your screen?

2012-07-31 Thread sc
On Tue, Jul 31, 2012 at 01:20:14PM -0700, jeroen wrote: > On Tuesday, July 31, 2012 9:41:09 PM UTC+2, Ben Fritz wrote: > > > > Then I will usually use f, F, t, or T, or a / search, or w/W/b/B to get to > > the correct column, possibly with an initial _ or g_ to position the cursor > > at the be

Re: search limit for / ?

2012-07-24 Thread sc
On Tue, Jul 24, 2012 at 10:51:14AM +0200, Christian Brabandt wrote: > On Tue, July 24, 2012 06:32, sinbad wrote: > > how to limit the search to the current line while using / or ? > Use search() or f or F sc -- You received this message from the "vim_use" maillist. Do n

Re: vim : fold expansion and refresh

2012-07-12 Thread sc
e its normal function (move right). > how to solve this issue? > my guess there should be a small script/function that check if this > is on a folded text , > but my vimL ability doesn't allow me to make it concrete. > any help I can get ? see :help foldclosed() sc -- You received

Re: Can vim be made to start with selected files already open?

2012-06-05 Thread sc
foo.vim badd bar.vim This gives you control over what opens, uses the settings in your .vimrc, and leaves vim alone to be used for other projects without those files being opened > > Option 3) use most recently used file plugin such as tmru > > Then opening those files is a lot faster

Re: vim: can't open the fold with "l"

2012-06-05 Thread sc
so long I've grown to depend on it for fold toggling (I think I got it from Charles). You might like it too... sc -- 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

Re: Folding on markdown headers

2012-05-26 Thread sc
On Sat, May 26, 2012 at 05:54:32AM -0400, Eric Weir wrote: > On May 25, 2012, at 7:03 PM, sc wrote: > > when you start with an empty window, you have done nothing to > > tell vim what type of file you are going to create -- when you > > add text it still doesn't kno

Re: Folding on markdown headers

2012-05-25 Thread sc
#x27;t know -- if you write the file with a markdown extent, it COULD know if you would ask it to check (writing doesn't trigger filetype detection) -- so to ask it you might try something like :syntax enable perhaps that will help? sc -- You received this message from the "vim_use

Re: If in OldFile I :write NewFile, do I need to manually reload NewFile and close OldFile?

2012-05-23 Thread sc
rew and :bdel steps. Having saved > a file as NewFile, I don't want to have GVIM holding on to OldFile. > Are all these steps really necessary? Can some please tell me some more > straightforward way to simply write a file under a new name and begin editing > it without all the

Re: TOhtml - URL to link conversion

2012-05-11 Thread sc
n take the links out manually or write a script to remove the links. for me, if i am looking at vim snippets in a browser and there are links, i would expect to be able to click and go to the target of the link, and think it odd if it looks like a link but isn't -- you really want to unlink the links? sc -- 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

Re: No ~/.vim/after/syntax/php.vim

2012-05-04 Thread sc
+" operator highlighted as an error in PHP is it possible you have similarly fat-fingered the operator in your script? sc -- 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

Re: No ~/.vim/after/syntax/php.vim

2012-05-03 Thread sc
r type command to continue > Why might that be? This is on Kubuntu 11.10, KDE 4.7 with VIM 7.3. My > ~/.vim/after/plugin/matchparen.vim file works as expected, so it seems > that the "after" files are supported. the first obvious question is: does vim recognize the filetype of whatever you a

Re: Solved: set paste in : mode only

2012-04-17 Thread sc
On Tue, Apr 17, 2012 at 07:45:37PM -0700, ZyX wrote: > as well as `2:` in normal mode. cool beans -- i didn't know what happens when you put a count in front of ':' -- thanx ZyX, i'll be getting some mileage out of that! sc -- You received this message from the "v

Re: map colon

2012-03-28 Thread sc
er needed the semi-colon command my recommendation is to map it and save dozens of shift presses throughout the course of any given day it is up to you sc -- 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

Re: netrw and line highlighting

2012-03-25 Thread sc
fixed until it is if you just patch your vim with an autocommand, you fix one vim -- if you work with charles to fix netrw, everyone gets a better vim sc -- 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

Re: Compiling Vim and gVim on Debian

2012-03-20 Thread sc
s, configure will get you the normal version. To > get the huge version, you'll have to add "--with-features=huge". to get python and perl there are configure options you need to specify as well -- have a look at 'configure' and it'll tell you what you need to

Re: Move current line up

2012-03-13 Thread sc
h a function? two of my favorite settings in my .vimrc: nmap :m+ imap :m+a nmap :m-2 imap :m-2a nmap yyp imap yyp$a ok, it's more than two, but down (F8) and up (S-F8) are the two i use the most hth, sc -- You received this message from the "vim_use" maillist. Do no

Re: how should i escape @ in search?

2012-03-10 Thread sc
On Sat, Mar 10, 2012 at 06:11:31AM -0800, macovsky wrote: > hi guys, could you please help me how to escape @ in search patterns? > for instance i'd like to search for @product. i don't see a need to escape it at all -- why do you think you do? sc -- You received this

Re: Control characters

2012-03-09 Thread sc
-c | vim -c 'set ft=man nomod nolist' -c 'call Hideme()' -; } (all one line) where Hideme() is defined in your .vimrc as function! Hideme() setlocal noswapfile setlocal buftype=nofile setlocal bufhidden=hide endfunction i use it a lot and never see any gremlins

Re: No `oldfiles' in redhat vim 7.0.237.

2012-03-08 Thread sc
ce and build your own current vim -- benefits from that would include runtime files that match the executable, many bugfixes and new features sc -- 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

Re: Dr Chip

2012-03-03 Thread sc
On Sat, Mar 03, 2012 at 01:27:10PM -0500, Charles E Campbell Jr wrote: > Benjamin R. Haskell wrote: > >On Fri, 2 Mar 2012, Kartik Agaram wrote: > > > >>Holy crap, I just realized that Dr Chip's vim page is gone. > >> > >>http://mysite.verizon.net/astronaut/vim > >>http://drchip.0sites.net/astronaut

Re: Check if file is being edited with ++ff

2012-02-23 Thread sc
but is there a better way? i always tend to oversimplify things, and i like to avoid autocommands and plugins -- what i would do is add a variable to your .vimrc that would set or not the ff setting autocommand depending on the value of the variable -- then i would make two copies of all my vim start

Re: set vim indent like Notepad++ (attach: screenshot)

2012-02-22 Thread sc
On Wed, Feb 22, 2012 at 07:11:19PM +0100, Marco wrote: > On 2012-02-22 sc wrote: > > On Wed, Feb 22, 2012 at 12:49:06PM -0500, Charles Campbell wrote: > > > stardiviner wrote: > > > >I want to set vim indent guide like notepad++. the screenshot is in > > &

Re: set vim indent like Notepad++ (attach: screenshot)

2012-02-22 Thread sc
//drchip.0sites.net/astronaut/vim/index.html#INDGUIDE). > You need to have a "huge" vim (ie. to have signs enabled). actually, Big includes signs sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are rep

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread sc
he period. > The second line is highlighted from the word IF to the period. There > is only one syntax file for COBOL, cobol.vim. There is also an indent > file named cobol.vim but I don't see an indent problem. i saved this email as utl022.cbl, deleted the parts not cobol, and the

Re: Cygwin .vimrc file location and how to make changes?

2012-02-10 Thread sc
On Fri, Feb 10, 2012 at 12:28:52PM -0800, Ben Fritz wrote: > On Feb 10, 2:00 pm, tsai wrote: > > Hi everyone, > > > > After installing Cygwin, where is the default location of the .vimrc file > > so I can augment it? Kind of confusing. I know on my Linux box, it is > > hidden in the home directo

Re: Determining whether :update actually saved file?

2012-02-06 Thread sc
function and it > errors... it sounds as if you need a function that tests &modified -- something like function! MySave() if &modified write some-other-name echo 'i just wrote' some-other-name endif endfunction hth, sc -- You received this message f

Re: folding quickfix list based on the command which created it

2012-02-06 Thread sc
ng rule module -- with separate modules they'd never have to check to see what type of folding to do, they'd already know sc -- 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

Re: compiling 7.3+ with the conceal option

2012-02-01 Thread sc
On Wed, Feb 01, 2012 at 11:00:10AM +0100, Jean-Michel Pichavant wrote: > PS : shoud I use v...@vim.org or vim_use@googlegroups.com ? The > mailing list names on www.vim.org quite differ from the reply to of > the mails. take your pick -- they both go to the same list of ppl -- You received this

Re: Prefix lines with a counter

2012-01-21 Thread sc
ay to approach this is to play around with the ListItem function and mapping described in map.txt under :h map- it has the added advantage that you can add the numbers when and where you want, eg. when an item spans multiple lines and you don't want numbers on every line, AND you can ad

Re: Shift column right by spaces?

2012-01-21 Thread sc
you want - press ESC and the rest of the lines will get their spaces sc -- 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

Re: warning on opening encrypted file

2012-01-21 Thread sc
On Sat, Jan 21, 2012 at 02:20:26PM +0100, Bram Moolenaar wrote: > Toothpik wrote: > > On Fri, Jan 20, 2012 at 02:46:58PM -0600, sc wrote: > > > On Fri, Jan 20, 2012 at 09:14:13PM +0100, Bram Moolenaar wrote: > > > > > > Toothpik wrote: > > > >

Re: warning on opening encrypted file

2012-01-20 Thread sc
On Fri, Jan 20, 2012 at 02:46:58PM -0600, sc wrote: > On Fri, Jan 20, 2012 at 09:14:13PM +0100, Bram Moolenaar wrote: > > Toothpik wrote: > > > i'm one of those risk-takers who like to keep his passwords in a > > > module in his home path -- for the purposes of t

Re: warning on opening encrypted file

2012-01-20 Thread sc
mrc contains only set nocompatible set undofile so, for the next while or so i will be moving things around in my [monster] vimrc in an attempt to find out why anyone wanting to help out is welcome to see the beast at https://github.com/toothpik/toothpik-s-.vimrc/blob/master/.vimrc sc -- 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

warning on opening encrypted file

2012-01-20 Thread sc
long the line -- after all, it is indeed not a non-encrypted file and should not be reporting it as such my vim is 7.3.406 tia, sc -- 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

Re: Request for feature upgrade/enhancement.....

2012-01-12 Thread sc
y the garbage collector would kick in at different times sc -- 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

Re: Request for feature upgrade/enhancement.....

2012-01-12 Thread sc
s? > Rewriting either one is a lot of work - and its unlikely that > an individual will change it - unless being payed. > I'd be even happier if volunteers step up proofing me wrong. > Thoughts? ppl who've spent the time to learn viml won't want it wasted -- some of us even

Re: highlighting in terminal

2012-01-03 Thread sc
tall the CSApprox plugin - put if !has("gui_running") colo endif in your .vimrc oh wait -- you wanted an easy way? never mind sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are r

Re: mutt and vim playing together

2011-12-29 Thread sc
On Thursday, December 29, 2011 07:00:59 Kai Weber wrote: > Hi, > I use vim in combination with mutt. To start vim I have > following setting in my muttrc: [snip] > Any other recommendations for a good mail editing workflow? when i used mutt i liked having the flexibility of a mail script for vim

Re: Screen refresh lag on gvim + ubuntu 11.10 (gnome3)

2011-12-21 Thread sc
pt.php?script_id=2390 for the download you can create your own vim colorscheme using CSApproxSnapshot in gvim and then unload the plugin for efficiency sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: GVIM: Set working directory the same of the current file

2011-12-13 Thread sc
pen a new file, it should shows /var/www/myhost/web instead of my > user's directory. the most common way to do this is to set autochdir in your .vimrc -- see :h 'autochdir' sc -- You received this message from the "vim_use" maillist. Do not top-post! Type yo

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-11 Thread sc
Perhaps the difference could be that some fonts aren't recognized in > different gtk version. Which font are you using? it appears the color schemes, while similar, are different -- notice the blue literals in one and the yellow in the other sc -- You received this message from the "vim_u

Re: Copy entire existing directory to another one

2011-12-01 Thread sc
apd00r/vidir gives you the power of vim in a file manager sc -- 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

Re: line drawing inside vim

2011-11-23 Thread sc
talling it as a plugin the only trick to using it is you have to be careful if you're filtering a bash script through it not to filter any lines with an ascii pipe symbol -- it'll convert those too sc -- 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

Re: [HELP]Gvim can't find all the fonts on my system

2011-11-19 Thread sc
On Saturday, November 19, 2011 21:42:09 zhang listar wrote: > I have installed gvim72 on my system but gvim can't find all > the fonts installed on my system. > How to fix it? are you aware that gvim looks for fixed width fonts _only_? sc -- You received this message fro

Re: Bug with tab drop and vertical splits?

2011-11-18 Thread sc
her split. this looks very much like an issue tony pointed out in 2009: ":tab drop filename" doesn't work nicely when "filename" is open in a window in another tab. (Tony Mechelynck, 2009 Feb 13) sc -- You received this message from the "vim_use" maill

Re: vim command line use

2011-11-03 Thread sc
ile to a new filename for each file in the > original list. is there a reason you want to use vim for this? i would think sed is better suited for what you describe sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you

Re: how to make 'h,j,k,l' faster ?

2011-10-28 Thread sc
elativenumber setlocal norelativenumber else setlocal number endif endif else if &number setlocal nonumber else setlocal number endif endif endfunction this one even tests for

Re: line drawing inside vim

2011-10-20 Thread sc
GONE it's been so long since i've seen them -- must have spent hours scrolling through :dig displays without finding them sc -- 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

Re: trying to understand my own (very old) vim macros

2011-10-19 Thread sc
e backslash and tilde at the bottom of your screen, but when you hit the O it will go away and the mapping will trigger sc -- 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

Re: Need Syntax file for the Linux

2011-10-13 Thread sc
On Thursday, October 13, 2011 01:34:44 Dayananda wrote: > Thank you SC and sorry for very short description of the > problem. I am able to find the syntax file in the > */usr/share/vim/vim63/syntax* > It has most of the languages. I am using the language system > verilog, whose

Re: Need Syntax file for the Linux

2011-10-12 Thread sc
tionally smart folks attend this list, but i think we're a little short in the clairvoyant department sc * cd /usr/local/shr/vim/vim73/syntax ls | wc -l -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying t

Re: Sum

2011-10-12 Thread sc
ext which i maintain through vim, tcl and bash scripts using vim filters allows you to write scripts to massage your data in any language you feel comfortable with while at the same time keeping your vim lean and mean sc -- You received this message from the "vim_use" maillist. Do not

Re: function to get word under cursor

2011-09-28 Thread sc
nion the best place to start is with :h usr_41.txt sc -- 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

keyboard question - was Re: How to generate auto increased number lines

2011-09-18 Thread sc
? it looks useful... sc -- 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

Re: Compiling gvim on Ubuntu gnome

2011-09-08 Thread sc
t; $make > What am I missing? there is no "gvim" well, there is, but it's a symbolic link to vim -g sc -- 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

Re: CTRL-]/CTRL-T to detect existing windows/buffers when switching to/from tags

2011-09-05 Thread sc
On Monday, September 05, 2011 20:55:50 John Little wrote: > Off topic digression... > On Sep 6, 10:31 am, sc wrote: > > On Monday, September 05, 2011 16:37:39 Jacky Liu wrote: > > > Plus: what does the "CC" mean? > > > > cc is a throwback to the days

Re: CTRL-]/CTRL-T to detect existing windows/buffers when switching to/from tags

2011-09-05 Thread sc
tch the list for answers, he wants the answers "carbon copied" to his personal email address many denizens of mail lists take offense at such requests and respond rudely -- how you respond is up to you sc -- You received this message from the "vim_use" maillist. Do not top-pos

Re: functions in vim does't respond to % or %

2011-08-16 Thread sc
nterpretation outside the quotes, so in your case you'd wind up with something like [untested]: :execute 'let t = filereadable(' %< '.class)' that may not be necessary but it's a fallback -- :let also causes interpretation, and you may be able to get by wit

Re: code window has foldcolumns=5, don't want this for command history

2011-08-12 Thread sc
ropriate at the time, since all the buffers were > code buffers at the time. But I don't want foldcolumn=5 to > be the default! perhaps when you issue the windo command to set foldcolumn you could add an 'l' to the 'set', making it local to each impacted buffer :h :

Re: "Edit with vim": Set working directory as folder containing editted file

2011-08-11 Thread sc
On Thursday, August 11, 2011 19:20:12 Tony Mechelynck wrote: > On 12/08/11 01:39, sc wrote: > > On Thursday, August 11, 2011 18:13:27 Tony Mechelynck wrote: > >> On 11/08/11 23:19, Paul wrote: [big snip] > > > > you missed one, tony: > > > > pos

Re: "Edit with vim": Set working directory as folder containing editted file

2011-08-11 Thread sc
e. > I tested none of them, and I am not on Windows (i.e., no "Edit > with Vim menu here). you missed one, tony: possibility 4: (in .vimrc) set autochdir sc -- 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

Re: tabline

2011-08-05 Thread sc
ew file there specifying the absolute path -- why not instead enter :tabnew file your way causes 5 extra keystrokes, guaranteeing a loss at vimgolf sc -- 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

Re: website going down

2011-08-04 Thread sc
On Thursday, August 04, 2011 16:19:55 Jeffrey 'jf' Lim wrote: > On Fri, Aug 5, 2011 at 5:16 AM, sc wrote: > > On Thursday, August 04, 2011 14:33:16 Charles Campbell wrote: > > > Hello, > > > > > > It looks like my website will be going down on

Re: website going down

2011-08-04 Thread sc
senet, now in july they pulled the plug on all web hosting -- i've had such underwhelming feeback about the site i'm probably not even going to find a new host sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are re

Re: netrw dir listing position

2011-07-30 Thread sc
On Saturday, July 30, 2011 01:38:45 Gary Johnson wrote: > On 2011-07-29, Sigma wrote: > > On Jul 29, 7:10 pm, sc wrote: > > > On Friday, July 29, 2011 11:19:34 Steve Sullivan wrote: > > > (i've since stopped using netrw, but the > > > > > > pri

Re: question about 'isfname'

2011-07-29 Thread sc
On Friday, July 29, 2011 16:55:17 Gary Johnson wrote: > (which I'm surprised even works) to >exe 'e' testme well -- i was surprised THAT works and changed it to execute 'e ' . testme sc -- You received this message from the "vim_use" maillis

Re: netrw dir listing position

2011-07-29 Thread sc
ess the directory is current to it for completeness here it is: function! CdCurBuf() let cwd = getcwd() let cth = expand("%:p:h") if cwd ==# cth echo 'cwd already ' cth else execute 'cd '.cth echo 'cwd changed to

Re: question about 'isfname'

2011-07-29 Thread sc
On Friday, July 29, 2011 15:58:03 sc wrote: > list-- > i like to grep and pipe the results into an unnamed hidden vim > buffer so when i see a module i want to edit i can hit F4 on > it > i have F4 defined as > map :call OpenWhat() > function! OpenWhat() >let tes

question about 'isfname'

2011-07-29 Thread sc
, creating a new file by that name according to the help isfname is a global option so forcing perl.vim to perform a setlocal would have no effect has anyone else run into this and if so, how did you deal with it? sc -- 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

Re: After 7.3.247 test81 fails

2011-07-15 Thread sc
or me, after 7.3.250, i see both 51 and 81 failing can't say they were working before, sorry, i haven't run a make test in a long time sc -- 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

Re: vim map key can not work

2011-07-11 Thread sc
raction of being told that i did what i already know i just did because i can see it anyway, hth sc -- 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

Re: vim - shell support

2011-07-08 Thread sc
ue breaks this ability in any way it should be avoided sc -- 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

Re: Python plugin using PyWin32

2011-06-30 Thread sc
On Thursday, June 30, 2011 09:35:51 Alexandre Martani wrote: > Hello all, > I am trying to use Vim R plugin [1], which is a Python plugin > that uses PyWin32 on Windows. I have installed Python 2.7.1 > and PyWin32. It is installed correctly, as I am able to do a > "import win32api" from python >

Re: reverse join on lines

2011-06-16 Thread sc
; Reverse Join would result in: > > int foo; // Foo comment > I don't think there's a built-in. I like this version I just > came up > with: > :nnoremap J ddpgkJ i think i'd use something other than 'J' to map to so as not to lose the ability t

Re: Trying to escape tab in exe

2011-06-04 Thread sc
all EdControllers() > > > > vim opens a new file > > /home/tim/prj/cgi/baker/xmlimport/controllers/ > > grrr! > > So how do I escape the Tab? > > I've tried > > > > :h execute, and don't find any help there. > > > > thanks >

  1   2   3   >