On Wednesday 22 July 2009 9:53 pm, Chris Sutcliffe wrote:
>
> >> Is it possible to clear an environment variable via vim script? I've
> >> tried:
> >>
> >> let $MvVar =
> >>
> >> but vim complains. I've also tried:
> >>
> >> unlet $MyVar
> >>
> >> with no success.
> >
> > did you define MyVar
On Wednesday 22 July 2009 8:20 pm, Chris Sutcliffe wrote:
>
> Is it possible to clear an environment variable via vim script? I've tried:
>
> let $MvVar =
>
> but vim complains. I've also tried:
>
> unlet $MyVar
>
> with no success.
did you define MyVar with a dollar sign? or are you suff
On Friday 17 July 2009 8:50 am, MSW wrote:
>
> Ran configure then make test. Get this same message when running
> from the src directory:
did you run make by itself to build vim?
sc
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
F
On Thursday 02 July 2009 4:29 pm, Jeffery wrote:
>
> The :verbose output.
>
>
> formatoptions=tcql
> Last set from /usr/share/vim/vim70/scripts.vim
>
>
> Thanks! That sure looks like a solid hint.
>
>
> About netrw. I had to google what "netrw" was. I am fairly
> certain I'm no
On Thursday 02 July 2009 2:28 pm, Jeffery wrote:
>
> The formatoptions=tcql when I open .conf files. The "l" is the
> problem. From the vim online help:
>
>
> "l" Only break a line if it was not longer than 'textwidth' when the
> insert
> started.
>
>
> This is kind of annoying, and I
On Wednesday 01 July 2009 2:40 pm, Keith Kaple wrote:
>
> Anyone have a script that can be mapped to perhaps a function key
> that will cycle all available colorschemes?
you'll get a lot of responses to that :)
my favorite is one that started with a thread on this very list:
http://home.sw
On Wednesday 01 July 2009 11:52 am, googler wrote:
>
> Suppose I am editing/viewing a file and searching for different
> regular expressions in the file, for example, issuing commands "/
> abcd", "/efgh", "/ijkl" and "/mnop". Since my last search was for
> "mnop", that's what I have highlighted c
On Sunday 28 June 2009 4:28 pm, Jason Axelson wrote:
>
> Personally, I prefer to use :set confirm
cool option -- i like it -- thanx for pointing it out
sc
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit h
On Wednesday 10 June 2009 1:17 pm, Raúl Núñez de Arenas Coronado wrote:
>
> Saluton Teemu :)
>
> On Wed 10 Jun 2009 19:59 +0200, Teemu Likonen dixit:
> > On 2009-06-10 12:58 (-0400), Charles Campbell wrote:
> >
> >> So, an unrelated topic, no semantics in transition, no acknowledgement
> >> of
On Tuesday 09 June 2009 4:52 pm, Matt Wozniski wrote:
>
> On Tue, Jun 9, 2009 at 5:00 PM, Florian Breitwieser wrote:
> > Thanks for the fast answers. I reread the :help xterm-screens. As I
> > understand it, xterm|rxvt has a main and alternate screen. If your terminal
> > supports it, and you wan
On Friday 05 June 2009 11:37 am, Ben Fritz wrote:
>
> Pan Xiaoku wrote:
> > Thanks! with you help, I have found the problem:
> > the option "formatoption" is set to "croql" ,in which the "l" means that
> > long lines are not broken in insert model .
> >
>
> The "c" (and lack of a "t") also mean
On Wednesday 27 May 2009 9:22 am, alberto wrote:
> Thank you Charles,
>
> but it is not what I need. That's why what I want is avoid browsing, the
> code is in a lot of different directories but I have the list of the source
> code I must modify.
> I don't know if it's possible to set up a map k
On Sunday 24 May 2009 9:46 pm, wilson.m@convergys.com wrote:
> I am using Vim 7.2 on Windows. When I use netrw.vim to move a file, first
> mt to specify the target,
> mf to mark the file and mm to move the file, an error message shows like
> "Netrw command(move) is not executable".
> I do n
On Monday 18 May 2009 3:24 pm, Gene Kwiecinski wrote:
>
> Am I the only one who uses 'ZZ' to write/quit?
maybe -- ZZ, which is formed with shift-z, is way too close to
ctrl-z, which does mysterious things to my session -- i avoid it
like the plague
> 2 adjacent keys,
>
>
>
> vs
>
>
On Saturday 16 May 2009 4:10 am, Sabo wrote:
> how can i prevent that gvim opens a file in directory window ?
>
> if i show directory and i doubleclick a file. this file is opened in
> directory window.
> Is it possible with a setting that this file is opened in an another window ?
if i unders
On Thursday 14 May 2009 1:29 am, Jason Axelson wrote:
>
> On Wed, May 13, 2009 at 8:19 PM, _sc_ wrote:
> > to access them, read up on "redir" -- save the output of
> >
> >:reg
> >
> > using redir, then make a module to be sourced that contai
On Thursday 14 May 2009 12:51 am, Aman Jain wrote:
>
> Is there a way to save recordings, as I often need to retype all the
> useful recordings(e.g commenting a line) whenever I open a vim
> session.
there may be other ways, but one thing i like to do is to create
modules for specific purposes
On Sunday 10 May 2009 5:53 pm, Alain Forget wrote:
>
> I've been using gVim in Windows for a year now, but there is one thing I've
> been unable to do (or figure out via Googling):
>
> How can I set the shortcut key Ctrl-F to display the Edit->Find... dialog
> box, and Ctrl-H to display the Edit
On Thursday 07 May 2009 5:47 pm, Tim Chase wrote:
>
> > I am running Windows 7 RC and when I have a vimrc file the
> > backspace stops working for me. I get the following message
> > regardless of what mode I'm in:
> >
> > "E319: Sorry, the command is not avialabe in this version"
>
> Your cu
On Thursday 07 May 2009 5:10 pm, Steven Schermerhorn wrote:
> I am running Windows 7 RC and when I have a vimrc file the
> backspace stops working for me. I get the following message
> regardless of what mode I'm in:
>
> "E319: Sorry, the command is not avialabe in this version"
>
> Any ideas?
On Sunday 03 May 2009 8:07 pm, Bill Moseley wrote:
>
> On Sun, May 03, 2009 at 08:33:45PM -0400, Matt Wozniski wrote:
> > Things to check:
> >
> > Does
> > :map \rs
> > show some map bound to that combination? If not, something must be
> > installed wrong (or your has changed).
>
> Says "No
On Monday 27 April 2009 11:55 am, Charles Campbell wrote:
>
> Torsten A. wrote:
> > Hello everyone,
> >
> > I checked at vim color scheme test for different color schemes and
> > downloaded a few. But when ever I choose some color scheme it doesn't
> > look even close to whatever scheme I just do
On Saturday 25 April 2009 2:57 pm, _sc_ wrote:
>
> the reason i recommend an upgrade is that very recently there was a
> bugfix to netrw that addressed the autochdir option -- i had turned
> 'autochdir' on, and it was causing problems for me in netrw -- i
> started usin
On Saturday 25 April 2009 1:50 pm, Manfred Lotz wrote:
>
> Hi,
> I had
> autocmd BufEnter * lcd %:p:h
> in my ~/.vimrc
>
> However, when using netrw this yields an error.
>
>
>
> My workaround is:
>
> function Lcd()
> let b = bufname("%")
> let pat = ":\/\/"
>
> if ! (b =~
On Wednesday 22 April 2009 2:38 pm, Charles Campbell wrote:
>
> Brendon Gleeson wrote:
> > how do i hide this part of the nerw file browser?:
> >
> > < HIDE >
> > "
> >
> > " Netrw Directory Listing
> > (netrw v114)
> >
On Sunday 19 April 2009 1:25 pm, Kiffin Gish wrote:
>
> Elegant scripting! However, I was hoping more for some kind of hot key
> from within vim that I could hit in series viewing the color schemes
> quickly.
i got this from this very list, and i *think* it is enshrined
somewhere as a tip:
nnor
On Monday 13 April 2009 11:41 pm, Tony Mechelynck wrote:
>
> On 14/04/09 06:30, _sc_ wrote:
> >
> > On Monday 13 April 2009 10:01 pm, Yue Wu wrote:
> >>
> >> On Tue, 14 Apr 2009 10:13:38 +0800, Tony Mechelynck wrote:
>
> By using "gvim ver
On Monday 13 April 2009 10:01 pm, Yue Wu wrote:
>
> On Tue, 14 Apr 2009 10:13:38 +0800, Tony Mechelynck wrote:
>
> >>
> >> afaik all help files specify its own modeline. try :help
> >> and go to the last line, you see:
> >>
> >> vim:tw=78:fo=tcq2:isk=!-~,^*,^\|,^\":ts=8:ft=help:norl:
> >>
> >> S
On Monday 13 April 2009 5:02 pm, Yue Wu wrote:
>
> Ben Fritz, Tony Mechelynck:
>
> After I check, you are right, it's an iskeyword issue, but I don't know
> why my
> help file has the different settings for iskeyword? It's a file not
> located in
> $runtimepath/doc, it's in other dir. now I
On Saturday 11 April 2009 5:11 pm, Michael R. Hines wrote:
>
> Greetings,
>
> I'm trying to remap the key sequence Contrl + W + = (as it says in the
> vim documentation) for automatically resizing all of the split
> windows.
>
> I've tried:
>
> map <=>
>
> But when I press F2 this simply mov
On Tuesday 07 April 2009 11:33 am, Henry Bush wrote:
>
> I want to save the title of the konsole window when i enter vim, then
> return it back afterwards. The code in my .vimrc atm looks like:
>
> let $ORIGKONSOLETITLE = system("dcop $KONSOLE_DCOP_SESSION sessionName")
> autocmd BufReadPost
On Thursday 02 April 2009 5:43 pm, Spiros Bousbouras wrote:
>
> How can you find from within a script how many lines
> the current buffer has ? One solution is
> len(getbufline(bufname('%') , 1 , '$'))
> but this seems wasteful.
one way would be to
let l = line('$')
sc
--~--~-~-
On Tuesday 31 March 2009 1:38 pm, Brian Dunn wrote:
>
> hi list.
> is there a way to get a quick fix type window with links to all of my
> tabs or buffers?
> run :ls to list the buffers,
> remembering the number,
> run :b with the number,
> just seems like too many steps.
the easiest, leanest me
On Sunday 29 March 2009 1:36 pm, Tony Mechelynck wrote:
> Maybe emails would be more homogeneously formatted if we systematically
> gave scathing dessing-downs to anyone deviating from the rules. But do
> we want to? I mean, what do we prefer? Civilized language or adherence
> to the rules? I'
On Saturday 14 March 2009 5:59 pm, ggrothendieck wrote:
>
> One thing I really like about Firefox is that one can save and quit so
> that when one
> restarts firefox after rebooting, say, one is returned to the exact
> same set of tabs one
> had before.
>
> I often have many gvim processes going
On Wednesday 11 March 2009 12:33 pm, Rahul wrote:
>
> Is there a way in vim to somehow display metadata next to a line. Just
> the way, say, set nu displays line-numbers next to a line? This is
> useful info. but not a part of the file contents.
>
> Goal: My files have blocks of atom positions l
On Tuesday 10 March 2009 1:51 am, RPN wrote:
>
> On Mar 9, 5:43 pm, "Charles E. Campbell, Jr."
> wrote:
> >
> > You could use InsertEnter and InsertLeave autocmds.Won't affect normal
> > mode changes, though.
>
> Thanks Charles. That just might work.
> You mean to say commands like "dd" e
On Thursday 26 February 2009 11:46 am, Gary Johnson wrote:
>
> On 2009-02-26, Ben Fritz wrote:
> > I would like to call :make from Vim and view the errors in the
> > quickfix window, but also have the output saved for later use. Is
> > there a way to do this?
>
> Following the examples in ":help
On Tuesday 24 February 2009 2:34 am, Tom wrote:
>
> > I wrote a hackish ruby script that converts the xml dump to a
> > tagged help file.
>
> The script can be downloaded from here if somebody is interested. The
> output isn't perfect but it's okay for me.
> http://github.com/tomtom/vimtlib/blob
On Monday 23 February 2009 11:35 am, Tom wrote:
[...]
> Does somebody know if the breakindent patch is included in the
> vim_extended git repo?
no
at the moment it includes:
feat/rel-line-numbers
feat/float-point-ext
feat/lua
feat/code-check
feat/var-tabstops
feat/emb-c
On Saturday 21 February 2009 6:31 pm, John Little wrote:
>
> On Feb 21, 12:02 am, Tony Mechelynck
> wrote:
> > So the
> > criminal offence, if any (which remains to be seen), might be _teaching_
> > COBOL or _requiring_ its use, but not _using_ it.
>
> Normal coding is not use in isolation, one
On Saturday 21 February 2009 7:30 am, Alexander Schrijver wrote:
>
> Hi,
>
> Vim doesn't seem to do file locking. What is the reason for this?
>
> I also noticed this on the/a todo list (from 2004):
>
> 8 Add file locking. Lock a file when starting to edit it with flock()
> or
> fcntl()
On Wednesday 18 February 2009 8:39 pm, Ben Fritz wrote:
>
> On Feb 18, 4:14 pm, Wincent Colaiuta wrote:
> > I'm fairly new to Vim and I just found out about the "whichwrap"
> > setting.
> >
> > In the help it says that adding "h" and "l" to the list is "not
> > recommended".
[...]
> wrapping to
On Monday 16 February 2009 9:24 am, Maxim Kim wrote:
>
> On 16 фев, 18:13, "Agathoklis D. Hatzimanikas"
> wrote:
[...]
> BTW how can I find out patch level of my vim?
> I can't see it in :version output.
it's there if you have any
in mine for example the first few lines look like:
VIM - Vi I
On Sunday 08 February 2009 12:57 pm, R. Hicks wrote:
>
> I am not running into problems at all. I was just curious. I am a basic
> user of Vim and my .vimrc is 305 lines long (including comments and
> blank lines). Is there a point where you modularize it? I am not sure I
> see the point there
On Monday 02 February 2009 1:18 pm, Garrett Whelan wrote:
> I would like to create an interactive vim tutorial using vim script to
> introduce the main concepts(modes, regular expresssions, etc.). I read
> somewhere that vim comes with a tutorial, but I can't find anything. Typing
>
> :help t
On Tuesday 20 January 2009 12:37 pm, Matt Wozniski wrote:
>
> On Tue, Jan 20, 2009 at 1:03 PM, Ben Fritz wrote:
> >
> > On Jan 8, 1:19 pm, itai wrote:
> >
> >> 4. The vim help files seem to recommend against using 'autuchdir'. I
> >> use the following:
> >> autocmd BufEnter * lcd %:p:h
> >
>
>
> I have not used any standalone mail client for years. I read this
> thread on firefox, by the way.
>
> To reply, I simply did copy/paste to vim, from where I did another
> copy/paste back to browser.
>
> Among other things, I have never lost my typing :)
you might want to check out the "It
On Monday 05 January 2009 1:29 pm, _sc_ wrote:
> if you have the benefit of konsole supplying your bash
> shell, you can have many shells open in the same window,
> each with its own path -- ctrl-shift-n will open new shells,
> and shift-cursor-left or shift-cursor-right will navigate
On Monday 05 January 2009 6:02 pm, anhnmncb wrote:
>
> >
> >> vim-dev-subscr...@vim.org
> >
> > I also tried it, but got no any response :(
it may take some time to percolate through -- did you try
waiting a day or two?
sc
--~--~-~--~~~---~--~~
You received t
On Monday 05 January 2009 5:31 pm, anhnmncb wrote:
>
> I have tried sent mails to vim_dev{-,_,+}subscr...@googlegroups.com via
> opera's mail client but failed always, must I have a gmail account to
> subscribe it?
i don't believe it's necessary to have a google account to
subscribe to vim-
On Monday 05 January 2009 5:01 am, Per Thulin wrote:
as i attempt to respond to this post no-one else has yet
posted a reply -- i am sure this will change, and others'
replies may be more to your liking, but here goes
> I use vim for all my coding and text editing needs. Until now I've
> only u
On Wednesday 31 December 2008 5:14 pm, anhnmncb wrote:
>
> On 2008-12-31, Ben Kim wrote:
> >
> >
> > 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 used
> > vim without esc a
53 matches
Mail list logo