On Tue, 22 Feb 2011, Adam Monsen wrote:
I use irssi for IRC. I like to quickly browse (local) logs (in vim)
sometimes before sending a message. I've got a rather clunky way of
browsing them, and I'm fishing for ideas on how to improve the
process.
Here's a log snippet:
--- Day changed Fri
On Thu, 24 Feb 2011, ZyX wrote:
I recently found that there exists `g:' (without any text after `:')
variable which is a dictionary that holds all other global variables,
same for `b:', `t:' and `w:' variables. Can anybody point me in which
help topic they are described?
By the way, the
On Thu, 24 Feb 2011, Marko Mahnič wrote:
On Feb 23, 10:17 pm, howardb21 wrote:
Is there some way one could use only one instance of vim, when
editing files in a plain old unix shell? Only way I can think of,
offhand, is to write a vim shell script that ran instead of vim.exe.
Then, vim
On Fri, 25 Feb 2011, howard Schwartz wrote:
I just know many will think Im wrong, but I never had much use of the
jumplist. Any way to tell vim to remember marks between sessions but
not jumps? Jumps occupy a lot of lines of info. I never use. Only way
I can think of is to menually edit
On Sat, 26 Feb 2011, howard Schwartz wrote:
I know my pleas are getting old for you veterans. But I am trying to
make .viminfo work for a blind friend, and he keeps getting more and
more errors.
I've scoured both the usual and unusual documentation, the scripts
library, the web, and vim_use
I like the fact that the current directory can be local to a given
directory. As such, I wanted to enable a behavior wherein opening a
filename containing '/./' would automatically :lcd to the portion
preceding the '/./'.
Use case:
$ vim -o /path/to/stuff/./app/models/blah.rb
On Mon, 28 Feb 2011, Chris Jones wrote:
Another quick question.. in Vimscript, what is the natural idiom to
code:
if count == 0; do proc_0; fi
if count == 1; do proc_1; fi
if count 1; do proc_n; fi
In what language is that a natural idiom? Is it...
... a for loop? VimL has :for loops
On Tue, 1 Mar 2011, Colin Beighley wrote:
Hello,
I'm wondering if anyone knows of a way to edit the same file in two
windows in the same Vim session, where the file within the two windows
stays in sync with eachother.
If you really just want two windows (with no other windows), it's
On Wed, 2 Mar 2011, Matt Martini wrote:
Hi,
Is it possible to change the name of the swap file that Vim uses?
I have just started using a centralized location for swapfiles with
the 'directory' option. However, I am running into a problem of name
space collision, or lack of same.
Append
On Thu, 3 Mar 2011, Sapfeer wrote:
Dear all,
I want to create a command that will insert comment mark, for instance
'#', space, date and time on the next line after current, but AFAICS
there is no way to put insert commands like o in command. The most
obvious way - use mapping, but it is
On Thu, 3 Mar 2011, Benjamin R. Haskell wrote:
On Thu, 3 Mar 2011, Sapfeer wrote:
Dear all,
I want to create a command that will insert comment mark, for
instance '#', space, date and time on the next line after current,
but AFAICS there is no way to put insert commands like o in command
On Fri, 4 Mar 2011, meino.cra...@gmx.de wrote:
Hi,
I want to rebuild vim patch by patch starting with the source of the
vim version, which was that one which receives patch 7.3.001.
I thought that version was 7.2.446.
Hmm. Not entirely sure. The Mercurial repository seems not to have
On Fri, 4 Mar 2011, Ivan Krasilnikov wrote:
On Fri, Mar 4, 2011 at 22:41, meino.cramer wrote:
And at this point one will win 1000 points for free if knowing, how
to enter the version string...
I tried
7.3.001
r7.3.001 (like svn)
v7-3-001 (as used by .hg.tags)
but without luck
On Fri, 4 Mar 2011, meino.cramer wrote:
Hi Benjamin,
Benjamin R. Haskell [11-03-04 19:20]:
On Fri, 4 Mar 2011, meino.cramer wrote:
Hi,
I want to rebuild vim patch by patch starting with the source of the
vim version, which was that one which receives patch 7.3.001.
[...]
But applying
On Sat, 5 Mar 2011, John Degen wrote:
On Mar 5, 4:16 pm, John Degen wrote:
I have the following .gvimrc:
set vb t_vb=
set showcmd
set guioptions=aegiLt
set tb=
But after starting Gvim I still get a toolbar. :verbose set tb? says
~/.gvimrc and if I manually do :set tb= the toolbar disappears
On Sun, 6 Mar 2011, Sergey Khorev wrote:
Anyway, I just tested putting finish in the first line
of /usr/share/vim/vim73/menu.vim, and that did the trick.
There is a simpler way which won't be invalidated after Vim update. I
have set guioptions-=m guioptions+=M guioptions-=T as one of the
On Sun, 6 Mar 2011, Tim Chase wrote:
On 03/06/2011 01:29 PM, Jean Johner wrote:
let foobar = test2.f
Using
echo foobar
results in test2.f (OK)
Now I want to open test2.f
:e foobar
opens a file foobar
:e 'foobar'
opens the file 'foobar'
What is the syntax to open test2.f using the foobar
On Sun, 6 Mar 2011, Chris Jones wrote:
While I'm at it.. I had to run a guinea pig Vim session that I could
easily bounce because I was unable to find a way to make Vim reload
the script. If you just source xxx.vim.. it sees that the ‘load’
variable exists and exits immediately you're stuck
On Mon, 7 Mar 2011, John Magolske wrote:
To disable the matchparen plugin, I have this in my vimrc:
let loaded_matchparen = 1
Is there a way to load the matchparen plugin after vim has started up
with it disabled in this manner? I know it can be switched off and on
with these commands:
On Mon, 7 Mar 2011, John Magolske wrote:
* Benjamin R. Haskell [110307 21:16]:
On Mon, 7 Mar 2011, John Magolske wrote:
let loaded_matchparen = 1
Is there a way to load the matchparen plugin after vim has started
up with it disabled in this manner?
pretend there never
On Thu, 10 Mar 2011, chris M. sprite wrote:
i set two type autocmd:
1: autocmd BufEnter *.txt :call DoWordComplete()
2: autocmd FileType mail :call DoWordComplete()
error: the second way can not work. how to set the second way ?
Worksforme. What are you trying to do in DoWordComplete() that
On Thu, 10 Mar 2011, Ben Schmidt wrote:
On 10/03/11 9:50 PM, Fernando Basso wrote:
I was doing fSpace and I noticed that vim did not jump to one
specific 'space' (of course, that was not a space).
'ga' then showed160, Hex 00a0, Octal 240 between 'gtpl' and
':call' in the first line of
On Fri, 11 Mar 2011, H Xu wrote:
Hello,
Is it possible to reverse uppercase letter and lowercase letter when
Caps Lock is on? Sometimes normal mode commands are uncomfortable to
use when Caps Lock is on. When Caps Lock is on, For example, Shift +
I would lead to the effect of 'i', which
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
# HG changeset patch
# User Benjamin R. Haskell v...@benizi.com
# Date 1300125629 14400
# Node ID 5bf53e47cbfff8136d0b6c2ff7c8ad45e645fbf6
(Sorry, this was intended for vim-dev. Reposted there.)
On Mon, 14 Mar 2011, Benjamin R. Haskell wrote:
Freedesktop defines some commonly, but certainly-not-universally used
directories for configuration (rather than using $HOME/.file, it's generally,
$XDG_CONFIG_HOME/appname/file
On Tue, 15 Mar 2011, Anthony Campbell wrote:
I have a directory with over 400 files, some of which contain a
particular string I want to modify manually. Is there any way to tell
vim to edit just the files which contain the specified string?
Within Vim, you can use the :vim[grep] command to
On Thu, 17 Mar 2011, Erik Christiansen wrote:
[...]
OK, a quick check to see that I have the build-essential and
linux-headers-$(uname -r) packages on this box, fetch the 7.3 source,
and sudo make:
You shouldn't need `sudo` for the `make` portion. Just if you then
`make install` to
On Fri, 18 Mar 2011, S Krishnakumar wrote:
Hello,
I recently moved to Vim 7.3 from Vim 7.2. I use Vim primarily for
coding Perl. The first thing I noticed today was that the indenting is
not what I would expect--
Code Snippet
-
Line 1: if( $hello ){
Line 2: @add =
On Tue, 22 Mar 2011, Dennis Benzinger wrote:
Hi!
I have a log file with timestamps and messages:
01:00 x
02:00 y
03:00 z
To compare the time elapsed between two events I want to prefix each
line with the timestamp of the previous time. I tried to use
%s/^/\=matchstr(getline(line(.)-1),
On Wed, 23 Mar 2011, Gary Johnson wrote:
I built Vim 7.3.0 on my Cygwin system last August and thought it could
use an update, so I pulled and updated the latest changes from the
Mercurial repository, ran make distclean and
./configure --prefix=/usr/local --with-features=huge --without-x
On Wed, 23 Mar 2011, Tim Chase wrote:
On 03/21/2011 11:58 PM, c b wrote:
Hi Tom,
s/Tom/Tim/
:)
On Mon, Mar 21, 2011 at 5:31 PM, Tim Chasev...@tim.thechases.com wrote:
On 03/21/2011 01:43 PM, sanjay ravat wrote:
[2011-03-21T18:45:46.004-07:00] [Other info]... log message
On Wed, 23 Mar 2011, Gary Johnson wrote:
On 2011-03-23, Benjamin R. Haskell wrote:
On Wed, 23 Mar 2011, Gary Johnson wrote:
I built Vim 7.3.0 on my Cygwin system last August and thought it
could use an update, so I pulled and updated the latest changes from
the Mercurial repository, ran
On Sat, 26 Mar 2011, Roald wrote:
Hi all,
I'm trying write a syntax file for (a subset of) YAML, mainly to
provide nice folding. It would not be so hard (I think) if I could use
back references in the skip and end patterns (referring back to the
start pattern), but that appears not to be
On Sun, 27 Mar 2011, wei gao wrote:
Hi,
I want to use the commandT plugin
http://www.vim.org/scripts/script.php?script_id=3025. However it needs
ruby support which is not on Vim7.3. Anyone knows how to work around
this?
I'm typing this email in Vim 7.3 with
Ruby support enabled.
If
On Mon, 28 Mar 2011, wei gao wrote:
I download vim7.3 from www.vim.org and here is my version info:
PS C:\Windows\system32 vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:51:38)
MS-Windows 32-bit console version
The version available from vim.org is pretty minimal,
On Mon, 28 Mar 2011, wei gao wrote:
I'm using GVim from vim.org which doesn't support ruby. BTW, is this
Cream version the official one? Is it stable?
No, it's not the official one. Yes, it's stable.
From the downloads page on vim.org:
For the latest version with all patches included
On Mon, 28 Mar 2011, Tony Mechelynck wrote:
On 28/03/11 04:13, Benjamin R. Haskell wrote:
[...]
with GUI doesn't imply that you have to use it.
Under Windows it does: a Windows executable is either a GUI or a
console program but never both, unlike on Linux.
Woops, yes, of course. I
On Mon, 28 Mar 2011, David Kahn wrote:
I am guessing this should be a real simple question but cant find an
answer readily:
If I want to remove all contents of a line, I press 'd' twice. But in
most cases I want the line to still be there (meaning the space, so
after deleting I would have a
On Tue, 29 Mar 2011, Steve wrote:
Hi Christian,
Thank you for your answer.
Le 23-03-2011, à 17:57:53 +0100, Christian Brabandt a écrit :
On Wed, March 23, 2011 3:20 pm, Steve wrote:
In French, we do not write word or 'word', we write « word », with
a non-breakable space after « and
On Tue, 29 Mar 2011, Steve wrote:
Le 29-03-2011, à 02:50:47 -0400, Benjamin R. Haskell a écrit :
Does those two mappings help you?
:imap expr getline('.')[col('.')-2]=~'\S' ? ' »' : '« '
:imap expr ' getline('.')[col('.')-2]=~'\S' ? ' »' : '« '
[...]
[...]
I gave it a try
On Wed, 30 Mar 2011, Marco wrote:
I have some troubles creating help files with dashes in the
hyperlinks. When a dash appears in a hyperlink, vim consideres the
parts to be independent words. Dashes in the help files shipped with
vim are no problem, this happens just to my own ones.
Is there a setting that controls whether Ctrl-W f opens a file that
doesn't exist? I frequently find myself wanting to open a new file that
way.
It wasn't too hard to come up with a mapping:
:nmap C-wf :exe :e .fnameescape(expand(cfile))CR
But I was just wondering whether that was
On Mon, 4 Apr 2011, henry wrote:
Hi folks,
I'm working on a writing website. I am making an attempt to transplant
the commands of the vim's Normal mode to an online editor.
The h and l moving comands have been implemented. And I have added two
commands H and L: when you move the cursor,
On Fri, 8 Apr 2011, Tim Gray wrote:
On Apr 08, 2011 at 11:25 AM -0400, Eric Weir wrote:
A question regarding a concern raised by another respondent: How do
you deal with the absence of word wrap. [Or is that even an issue
with latex?]
Vim does soft wrap, but it only wraps at the edge of the
On Sun, 10 Apr 2011, Erik Christiansen wrote:
On Sat, Apr 09, 2011 at 02:24:23PM +0200, Christian Brabandt wrote:
On Fr, 08 Apr 2011, donothing successfully wrote:
A user may well assume the site is down if the url doesn't resolve.
Seconded. This had bugged me many many times with various
On Mon, 11 Apr 2011, howard Schwartz wrote:
Hi,
A quick puzzle: when I have words separated by 2 spaces like this:
firstword secondword
vim does not seem to match the double spages with a pattern like these:
/ /or/\s\s/
Yet when there are 3 spaces between words, patterns like
On Tue, 12 Apr 2011, wxuyec wrote:
it is strange. I have checked what tony suggested and posted the
results. but I don't know why the post doesn't appear in this thread.
Here I will repost the results again.
1) I am running konsole.
2) the term is set to be xterm.
3) In Insert mode, when you
On Tue, 12 Apr 2011, wxuyec wrote:
sorry, don't understand.
do you want me to run the command of
echo $terminfo[smkx] ; cat ; echo $terminfo[rmkx]
?
I wasn't really suggesting anything to do. I was just explaining why
just running `cat` wasn't enough to show you the keys Vim would see.
On Tue, 12 Apr 2011, Rostyslaw Lewyckyj wrote:
Just for reference, in case this is in any way system dependant!
I'm on a Win 7 x 64bit ultimate OS.
My vim is a straight download and unmodified install from vim.org.
Below are included a sample file xxx, and a sample script zzz.
[Aside]
Please
On Wed, 13 Apr 2011, wxuyec wrote:
I see. thank you.
do you have any advice to the problem?
If you try the revised version:
echo -e '\033[?1h\033=' ; cat ; echo -e '\033[?1l\033'
(then press Up, Down, Right, Left, then press Enter, then Ctrl+d),
Do you get: ^[[A^[[B^[[C^[[D
Or:
On Fri, 15 Apr 2011, wxuyec wrote:
thank you very much.
I tried in vim command-line to run what you suggested. It still
doesn't work. I think I have to give up.
I came into this conversation late. Did anyone ask these standard
questions:
What OS are you using?
If you're using Linux,
On Sun, 24 Apr 2011, howard Schwartz wrote:
I want to match lines that contain the word, DEBIT but do not contain
the word PPD. How to I construct a pattern that will do this?
For example the pattern should exclude a line like,
DEBIT, this is a line with PPD in it
But the pattern
[Off-topic: What are you using to respond to the mailing list? It's
really annoying that your replies are never threaded with the thing to
which you're replying.]
On Tue, 26 Apr 2011, howard Schwartz wrote:
Benjamen suggested:
:s/\%(jam\)\@=en/in/
/^\%(.*PPD\)\@!.*DEBIT
I was aware of
On Wed, 27 Apr 2011, Steve Litt wrote:
On Wednesday 27 April 2011 21:04:34 Ben Schmidt wrote:
localleader to voleader before executing it.
My main question though, is, why do you want to do this? Maybe [...]
there is a more standard 'Vim way' [...]
[...]
Some time around VO 0.2.4, VO
A filetype detection plugin I'm using failed to work reliably across
systems. It's one of the things I use only on a couple of systems at
work, so I've put it in ~/.vim.local/ftdetect/filetype.vim.
~/.vim.local is something I add to my runtimepath (along with my ~/.vim
directory that's the
On Fri, 13 May 2011, Ben Schmidt wrote:
On 13/05/11 5:02 AM, Benjamin R. Haskell wrote:
Since that gets run before my ~/.vimrc, my runtimepath hasn't yet
been setup. As far as I can tell, there's no way to disable
/etc/vimrc (SYS_VIMRC_FILE) from within .vimrc, because of the order
in which
On Mon, 16 May 2011, Eljay Love-Jensen wrote:
The Unicode font I am using for Vim works great. Except...
I would like to use a private use area (PUA) alternative glyph for
zero, which has a slash through it.
I would like to use a private use area (PUA, non-BMP) alternative
glyph for
On Wed, 15 Jun 2011, Erik Christiansen wrote:
On 14.06.11 07:47, Ben Fritz wrote:
On Jun 14, 3:59 am, Erik Christiansen wrote:
In Vim 7.3, I added the following mappings:
map A-a
map A-e
map A-o
map A-
map A-
I see only incomplete mappings here.
Yes, the problem may lie in your MUA's
On Wed, 15 Jun 2011, Christian Brabandt wrote:
On Wed, June 15, 2011 3:38 pm, Erik Christiansen wrote:
So the post should be leaving Vim as utf-8.
OK, is mutt changing that to ISO-8859-1 behind the scenes?:
Yes. Alpine also does this by default.
:r !grep char ~/.muttrc # shows
On Thu, 16 Jun 2011, David Ohlemacher wrote:
Hello All,
Is there a way to do a reverse join?
Example:
// Foo comment
int foo;
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
On Sat, 25 Jun 2011, bendavis78 wrote:
Hi, I'm extending the css.vim syntax file for use with a CSS framework
using runtime! syntax/css.vim.
You probably don't want the '!' there. That will run all syntax/css.vim
files found in 'runtimepath'. The only reason another syntax/css.vim should
On Mon, 27 Jun 2011, Ben Schmidt wrote:
On 27/06/11 6:56 AM, Benjamin R. Haskell wrote:
On Sat, 25 Jun 2011, bendavis78 wrote:
Hi, I'm extending the css.vim syntax file for use with a CSS
framework using runtime! syntax/css.vim.
You probably don't want the '!' there. That will run all
On Tue, 28 Jun 2011, Edward Peschko wrote:
All,
I'm attempting to use vim's omni-complete feature (ctrl-N, ctrl-P),
and am finding - oddly enough - that it keeps on re-scanning the files
in order to get the correct symbols, rather than doing what I would
think would be the intelligent
On Wed, 29 Jun 2011, seed wrote:
Sometime when I use 'O' to open a new line above the current line, the
letter 'O' is displayed on the screen for a few seconds before I can
insert. Does anybody have this problem? However, it's ok when I use
gVim or use Vim with X off.
Sounds like something
On Tue, 5 Jul 2011, nikhil jain wrote:
This is my second time usign mailing lists , so apologies if I am
doing something silly.
I am not sure if this is a good idea, but is there a way to have the
php.net documentation about functions 'inside' vim. That way instead
of having to switch to
On Mon, 4 Jul 2011, Anonymous bin Ich wrote:
Hi!
Is there a way to load different colorscheme when using vimdiff (and
different when using vim)?
In .vimrc, condition it on the value of 'diff', which will be set to a
value that evaluates to true in whatever buffer vimdiff starts in:
if
On Thu, 7 Jul 2011, Eric Weir wrote:
On Jul 7, 2011, at 11:14 AM, Charles Campbell wrote:
May I suggest a few plugins:
* to identify the name of the syntax item that you want to change colors for:
hilinks.vim:
http://mysite.verizon.net/astronaut/vim/index.html#HILINKS
Charles, I don't
On Thu, 7 Jul 2011, Eric Weir wrote:
On Jul 7, 2011, at 3:25 PM, Benjamin R. Haskell wrote:
On Thu, 7 Jul 2011, Eric Weir wrote:
On Jul 7, 2011, at 11:14 AM, Charles Campbell wrote:
hilinks.vim:
http://mysite.verizon.net/astronaut/vim/index.html#HILINKS
Thanks, Ben. I'm confused. I
On Fri, 8 Jul 2011, ZyX wrote:
Reply to message «Re: Is there any __FILE__, __FUNCTION__, __LINE__ equivalent
for vim script?»,
sent 07:17:03 08 July 2011, Friday
by Ben Fritz:
sfile and slnum will give you __FILE__ and __LINE__. I don't
think there's a __FUNCTION__ but I could be wrong.
On 08/07/11 16:10, eleanor wrote:
Hi, I'm testing the fugitive plugin for the time being and I've come
accross the following problems:
1)
- If I add and commit a file called a.txt with the text aaa
- and then change the text to bbb and save it and commit it
- and then change the text to ccc and
On Sat, 9 Jul 2011, Charles E Campbell Jr wrote:
Benjamin R. Haskell wrote:
Dr. Chip, if you have access to put an .htaccess file in that directory,
you can correct the first problem with this line:
AddType text/x-vimball .vba
I've loaded that a file with that line onto
http
On Mon, 4 Jul 2011, Kent wrote:
hi guys,
last weekend I finally did the switch from .vim to vim-addon-manager.
after the change, I made some small tests, almost everything looks
fine. but the arrow key don't move cursor in INsert mode any longer,
just ouput A, B, C, and D. I remembered
On Sun, 10 Jul 2011, AK wrote:
Hi, I have a ftdetect script defined like this:
au BufNewFile,BufRead *.vtobu setf vimtobu
augroup VimTobu
au!
au BufWritePost vimtobu call VimTobu(save)
au BufWritePost vimtobu echo 'SAVED!'
augroup END
:au BufWritePost vimtobu {etc...}
On Tue, 12 Jul 2011, Nathan Neff wrote:
I've tried this:
iabbrev s #+begin_src groovy
in my .vimrc, but it doesn't work, it gives Invalid argument when I
start vim.
But, when I enter
:iabbrev s #+begin_src groovy
on the command line, the abbreviation works.
What am I doing wrong?
On Tue, 12 Jul 2011, Ben Fritz wrote:
On Jul 12, 2:46 pm, Paul wrote:
I'm using Vim 7.1 for Windows. For some reason, I have been
conditioned to expect the following behaviour, which I no longer get.
when I press Ctrl-V at (say) text column 5 and cursor down, a
1-character wide column is
On Tue, 12 Jul 2011, Ben Fritz wrote:
On Jul 12, 8:38 am, stardiviner wrote:
how to add a colored line behind line number.
here is the
example:http://blog.nguyenvq.com/2011/06/29/some-custom-emacs-keybindings-for...
Are you asking for every other line to be highlighted in a different
On Wed, 13 Jul 2011, Christian Brabandt wrote:
On Tue, July 12, 2011 5:38 pm, Nathan Neff wrote:
Interestingly, if I use:
iabbrev lts whatever
it works.
This means, when vim parses this iabbrev, it will replace the lt by
'', so you trigger your abbreviation by typing s (as you probably
On Sun, 17 Jul 2011, Sean wrote:
It happened when Python Interface to Vim is used.
[...]
--
Crash Information:
--
Application Name: gvim.exe
Application Version: 7.3.277.0
[...]
--
gVIM :version
--
VIM - Vi IMproved 7.3 (2010
On Wed, 20 Jul 2011, 何聪辉 wrote:
Hi, I am using vim as the simple IDE, and use qmake and make tool to
configure my project. If a directory named Foo, and inside the
directory, there exists some headers and source files, I use the
command qmake -project, and it will generate a file called
On Wed, 20 Jul 2011, Bee wrote:
On Jul 20, 6:52 am, Benjamin R. Haskell wrote:
On Wed, 20 Jul 2011, 何聪辉 wrote:
Hi, I am using vim as the simple IDE, and use qmake and make tool to
configure my project. If a directory named Foo, and inside the
directory, there exists some headers and source
On Thu, 21 Jul 2011, Carlo Trimarchi wrote:
Hi,
I'm trying to use the SuperTab plugin to autocomplete with
omnicompletion.
in my .vimrc I have this:
SuperTab settings
let g:SuperTabDefaultCompletionType = c-xc-o
Gleaned from the way supertab.vim was using the setting, I think you
want:
On Thu, 21 Jul 2011, Carlo Trimarchi wrote:
On 21 July 2011 17:33, Benjamin R. Haskell wrote:
let g:SuperTabDefaultCompletionType = \c-x\c-o
no, this didn't work either.
If the key notation isn't working, you might have the 'k' or ''
option(s) set in 'cpo'. Or you might be in 'compatible
On Thu, 21 Jul 2011, Carlo Trimarchi wrote:
On 21 July 2011 17:51, Benjamin R. Haskell wrote:
If the key notation isn't working, you might have the 'k' or ''
option(s) set in 'cpo'. Or you might be in 'compatible' mode. (Just
FYI, since that can cause hard-to-diagnose problems later.)
I
On Thu, 21 Jul 2011, Carlo Trimarchi wrote:
On 21 July 2011 18:27, Benjamin R. Haskell wrote:
Try only enabling filetype detection and SuperTab (all on one line):
vim -u NONE -i NONE -N --noplugin
-c 'let g:SuperTabDefaultCompletionType=c-xc-o'
-c 'filetype plugin on'
-c 'runtime plugin
On Thu, 21 Jul 2011, Mark Larwill wrote:
I often need to make a large list of XML quickly and was wondering if
there is a fast way to do this with VIM. For example suppose I have
the XML:
useruser1/user
useruser2/user
useruser3/user
But I want to quickly make 100 users. I know I can quickly
On Sun, 24 Jul 2011, Tim Chase wrote:
On 07/24/2011 09:34 PM, Tony Mechelynck wrote:
On 25/07/11 03:41, Jose Caballero wrote:
I don't know what you get for :help call
Hm, strange.
Is this hitting the difference between these two?
:help call
:help :call
It sounds like it. But,
On Sun, 24 Jul 2011, warem wrote:
hi,
i am using gvim in M$. i would like to know if it is possible to
disable window close button (X) on the top right corner in gvim. my
purpose is to prevent closing vim accidentally by pressing button X.
Have you tried pressing the button?
In Win7 (only
On Tue, 26 Jul 2011, niva wrote:
Hi,
Each time that I open a new vimfile of my own or another existing one,
the saving action (:w!) takes more and more time after each new saving
command.
I suppose it comes from autocommand written in my _vimrc.
Thank you for helping,
Let see:
Only do
On Tue, 26 Jul 2011, ZyX wrote:
Reply to message «unexpected behavior of :let-@»,
sent 20:36:08 26 July 2011, Tuesday
by Ben Fritz:
By the way, while
let @/=
clears the last search pattern, using `n' for some reason results in
E486: Pattern not found: ^M
Interesting. I get that under
On Thu, 28 Jul 2011, Tony Mechelynck wrote:
On 27/07/11 09:53, Tobbe Lundberg wrote:
On Wednesday, July 27, 2011 2:44:56 AM UTC+2, Tony Mechelynck wrote:
The problem with GUI window splitters is that they would still
have to be exactly the width of one character cell in the current
On Mon, 1 Aug 2011, Erik Christiansen wrote:
set foldtext=substitute(getline(v:foldstart),'/\\*\\\|\\*/\\\|{{{\\d\\=','','g')
[}}}]
[...]
let sub = substitute(line, '/\*\|\*/\|{{{\d\=', '', 'g')
[}}}]
[...]
It has also become clear that I'll have to constrain the folding with
some au
On Sun, 31 Jul 2011, Thilo Six wrote:
ranou...@gmx.com wrote the following on 31.07.2011 12:42
Hello
I'm not very happy with syntax coloring of sh scripts (starting with
#!/bin/sh). For example, things like $(command), $((n+1)) or
${var%.txt} are very badly displayed. However they are part
On Thu, 11 Aug 2011, Ben Fritz wrote:
On Aug 11, 10:46 am, Gary Johnson wrote:
On 2011-08-11, Ben Fritz wrote:
On Aug 10, 5:23 pm, Linda W wrote:
If I put a space after $( and before th final ), then...it changes
the semantics of the statment
I think you just guaranteed I won't learn
On Mon, 15 Aug 2011, zergu wrote:
Hello.
Recently I've written my first Vim plugin which allows me to jump to
most used files/directories in Symfony (PHP) projects. It works as
expected in all of them but one. I have a project which is mounted to
my local directory via sshfs (don't ask why
On Mon, 15 Aug 2011, dundaryilmaz wrote:
Hi,
I am trying to install VIM to my HOME directory. I dont have root user
privileges.
When I try
./configure --prefix=$HOME
I get this error:
termcap library is not usable
checking for tgetent in -lcurses... yes
curses library is not usable
no
On Mon, 15 Aug 2011, zergu wrote:
Thanks for you answer! It appears that I've made some kind of mistake
with this simplified example, cause findfile('symfony','.') actually
finds this file in main sshfs-project directory. Upward searching
still doesn't work though. Let me illustrate this with
On Tue, 16 Aug 2011, Daryl Lee wrote:
This is probably more a Win7 issue than a Vim issue, but I know that
if I took it to a Win7 forum they'd just tell me to use Notepad, and
I'm not in the mood for that.
I try to use gvim to edit my hosts file, but the .../drivers/etc
folder is invisible
On Thu, 18 Aug 2011, John Magolske wrote:
When using Vim, I observe a write to disk upon every single keypress.
Every single time I press a key the HD light blinks. When I start Vim
like so:
vim --noplugin
...I notice this is not the case. I'm guessing a particular plugin may
causing
On Sat, 20 Aug 2011, Linda W wrote:
I was noticing the difference in colors when I edited on Windows vs.
Editing over X.
[...]
One color stands out as different -- [...]
The color is Light Blue. [...]
under X11 a color value of 0xADD8E6 - which is also the value on the
wikipedia page
On Wed, 24 Aug 2011, Peng Yu wrote:
Hi,
Path completion (C-X C-F) does not recognize /tmp as a path, rather it
recognize PATH=/tmp as a path. I'm wondering if there is a way to
change this feature of vim? Thanks!
Not sure why feature is in quotes. It is a feature. It's controlled
by
1 - 100 of 525 matches
Mail list logo