-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 12 May 2006 21:45
To: Eric Arnold
Cc: vim-dev@vim.org
Subject: Re: updated strtrans() patch for special keys
Eric Arnold wrote:
The doc page really only talks about regular control chars, leaving
On Mon, May 15, 2006 at 12:07:55AM +0300, Yakov Lerner wrote:
On 5/14/06, Benji Fisher [EMAIL PROTECTED] wrote:
I have not tried it inside a function, but
:set hls
seems to undo the effect of
:nohls
so perhaps a work-around is to add
:if hls | set hls | endif
either to
Hello,
I have tried to write a function for formatting TeX files using the new
'formatexpr' function. Goal is (of course) to keep matching dollars on
one line and not to use the insert mapping of space.
I have more or less found a good solution. The only problem is that this
solution interacts
Hi Benji,
On 5/15/06, Benji Fisher [EMAIL PROTECTED] wrote:
After opening the quickfix window and using C-W_ to make it
larger, I find that C-W= no longer works until I close the quickfix
window.
This is because the quickfix window has the 'winfixheight' option
set. So when you try to
I want to jump to a tag under the cursor using the C-W
C-] shortcut, but would like to have the command split
the window vertically.
What do I do?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hello!
I'm more ore less new with vim and I'm absolutely new to this list. So first
let me say Hello to all.
I'm having a problem with vim. Starting it on a server IBM P660 with AIX 4.3.3
takes more than one minute of time. With or without a named file doesn't care.
I am connected from a
On Sun, May 14, 2006 at 07:49:11PM -0500, Jared wrote:
I'd like to map a hotkey to re-source my vimrc files (system + user). I
originally tried this simple approach:
nmap buffer S-F9 :source $VIM\vimrcCR
\ :source $VIM\_vimrcCR
\ :source $HOME\_vimrcCR
But that failed
Maybe something like
nnoremap c-wc-] :vsplcrc-]
On 5/15/06, Salman Khilji [EMAIL PROTECTED] wrote:
I want to jump to a tag under the cursor using the C-W
C-] shortcut, but would like to have the command split
the window vertically.
What do I do?
See
:help -X
maybe the X server is your problem.
On 5/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello!
I'm more ore less new with vim and I'm absolutely new to this list. So first let me say
Hello to all.
I'm having a problem with vim. Starting it on a server IBM P660 with AIX
On Fri, May 12, 2006 at 07:20:03AM +0900, Yukihiro Nakadaira wrote:
I cannot reproduce your problem but I probably had been having similar
problem that breaks undo but I cannot remember it... Maybe it disappeared
when something was upgraded. Now I can use scim (with other trouble related
to
I guess I was hoping for tail -f behavior. I've got a process
that's writing stuff I want in Vim, but if it fails then I want to
know it.
As it is, I can map a key, or use CursorHold, and keep hitting it when
I want to see the output. It works, but the other would be nice.
Regarding my previous post, I would like to change teh
default behavior of VIM to prefer vertical splits
instead of horizonal splits.
I not only want to change C-W ] command, but all
commands that have to split a window. Whats the
quickest way to make this change?
I am thinking along the lines
Hi,
Salman Khilji wrote:
This does not work. Is it a bug that the following
still splits horizontally instead of vertically?
:vertical execute normal ^W]
:nnoremap c-w] :vertical wincmd ]cr
Regards,
Jürgen
--
Jürgen Krämer Softwareentwicklung
HABEL GmbH
You can always do a :vertical before the command, and whenever there is
a split inside the command, the split will be vertical.
--Matt
On Mon, May 15, 2006 at 05:27:29AM -0700, Salman Khilji wrote:
Regarding my previous post, I would like to change teh
default behavior of VIM to prefer
Hi There,
I have recently installed vim 7.0 and also could never get a chance earlier
to use the compiler options in vim.
I went through the document and set all the values but also could not
compile the c/c++ file in vim window.
Is there a clear document exists which explains how to use the
Salman,
Try the following patch.
--- ex_docmd.c.000 2006-05-15 16:04:10.0 +
+++ ex_docmd.c 2006-05-15 16:03:36.0 +
@@ -1709,6 +1709,7 @@
*/
save_cmdmod = cmdmod;
vim_memset(cmdmod, 0, sizeof(cmdmod));
+cmdmod.split |= WSP_VERT;
/*
* Repeat
On 5/15/06, Eric Arnold [EMAIL PROTECTED] wrote:
I guess I was hoping for tail -f behavior. I've got a process
that's writing stuff I want in Vim, but if it fails then I want to
know it.
As it is, I can map a key, or use CursorHold, and keep hitting it when
I want to see the output. It
Hi!
I am using the DVORAK keyboard layout.
I remapped some keys, to allow me to use the cursor keys in the home
row (I use HTNS in DVORAK).
Anyway, this is the keys that I need swapped:
swap T with J
swap N with K
swap S with L
Now my question, this is the current way I'm doing this:
On Sun, May 14, 2006 at 06:41:39PM -0700, Gerald Lai wrote:
Encase your function like this:
if !exists(*Source_vimrc)
function Source_vimrc()
...
endfunction
endif
The reason you're getting the error is because you're sourcing the file
(vimrc) that produced/will override the
On Mon, May 15, 2006 at 06:26:36PM +0530, jagpreet wrote:
Hi There,
I have recently installed vim 7.0 and also could never get a chance earlier
to use the compiler options in vim.
I went through the document and set all the values but also could not
compile the c/c++ file in vim window.
On Mon, May 15, 2006 at 03:19:46PM +0200, Popovic Dan wrote:
Hello dear list-members,
I have a question on replacing text. I have a simple text-file with a table
of results like this:
--
Mosbach - KSF 2 2 : 6
jagpreet wrote:
Hi There,
I have recently installed vim 7.0 and also could never get a chance earlier
to use the compiler options in vim.
I went through the document and set all the values but also could not
compile the c/c++ file in vim window.
Is there a clear document exists which
On Sun, May 14, 2006 at 06:16:00PM -0600, Eric Arnold wrote:
On 5/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Eric, I noticed you've made a few patches. I especially like the one
where you introduced the GetChar event. This is a fantastic idea
because the getchar() function itself is
you could try something like
:%s/^\s*\(\w\+\)\s*-\s*\(\w\+\)/\=submatch(1).strpart(' ',
strlen(submatch(1))).' - '.submatch(2)/
(all in one line)
:help sub-replace-special
On 5/15/06, Popovic Dan [EMAIL PROTECTED] wrote:
Hello dear list-members,
I have a question on replacing
Jerin Joy wrote:
I use gvim as my default editor. My source files are in a non standard
language whose syntax is similar to Verilog. When I open files from
command line in independent gvim windows the syntax highlighting uses
the verilog syntax which is what I want. The only thing is when I
Hello Benji,
thank you for your suggestion. The script of Dr.C is seems to be a very
powerful tool
for various align-tasks. I tested it for half an hour and I'm really enlighted.
For those who are interested, I'll give a short report on what I tried with my
sample file (see below)
It is
Hello Christoph,
thanks for your idea, but I have to confess I still have to get into it.
Till now, it's only cutting the white spaces betwenn the names and the
seperator (-).
But I'll try further on 8-)
Best regards,
Dan
-Ursprüngliche Nachricht-
Von: Christoph Nodes [EMAIL
On 5/15/06, Popovic Dan [EMAIL PROTECTED] wrote:
I have a question on replacing text. I have a simple text-file with a
table of results like this:
--
Mosbach - KSF 2 2 : 6
Zimmer- Pfrommer 0
Mueller -
Thanks Tony/Benji,
Well I could not get the number to identify the script if at all any
given.
But on the script page it is mentioned as
bufexplorer.zip : Easily switch between buffers without knowing their
numbers
Author : jeff lanzarotta
Also, about installing vim 7.0
Will it be
jagpreet wrote:
Thanks Tony/Benji,
Well I could not get the number to identify the script if at all any
given.
But on the script page it is mentioned as
bufexplorer.zip : Easily switch between buffers without knowing their
numbers
Author : jeff lanzarotta
Also, about installing vim
Now that my primary issue of getting Windows Explorer to use gvim to
open .prg files has been fixed, I have 2 further issues. I will
seperate them so they do not get confused...
My eyes are not what they once were, and I use a high-res monitor. I
don't want to decrease my screen res as I am
Here is my second issue. Now that I have found my improved foxpro.vim
file I can't seem to get vim to open the correct syntax file! It
seems to be opening the one that came with vim, but I cannot figure
out where it is getting it from! I put my foxpro.vim in
vimfiles\syntax and, when that did
Having upgraded to vim 7, my expectation of how recording (:help q)
worked in vim 6.x has changed.
I'm sure it's something I have set, either by default, or other 6.x
incompatibility that has changed this. Now, instead for repeating a
sequence of commands, it puts, literally, the sequence
On May 15, 2006, at 1:24 PM, Timothy Stone wrote:
I'm sure it's something I have set, either by default, or other 6.x
incompatibility that has changed this. Now, instead for repeating a
sequence of commands, it puts, literally, the sequence of
characters I type in the recording mode,
On Mon, 15 May 2006, Donal wrote:
Now that my primary issue of getting Windows Explorer to use gvim to open
.prg files has been fixed, I have 2 further issues. I will seperate them so
they do not get confused...
My eyes are not what they once were, and I use a high-res monitor. I don't
want
[You're welcome :) I think you may have wanted to send this to the
list.]
-- Forwarded message --
Date: Mon, 15 May 2006 13:20:09 -0500
From: Donal [EMAIL PROTECTED]
To: Gerald Lai [EMAIL PROTECTED]
Subject: Re: How to auto-set font and size?
At 01:11 PM 5/15/2006, Gerald wrote:
I just upgraded from GVIM 6.3 to GVIM 7, and my highlight colors no
longer work. I'm on Windows.
In my _vimrc file I had the following settings:
highlight Comment guifg=#5F5F5F
highlight Constant guifg=#AA
highlight Type gui=NONE guifg=#990011
highlight Search
I haven't seen much discussion of the intermediate solution: have a
command shell that *isn't* a terminal emulator.
There have been several attempts at this, with varying degrees of
success. A command shell window which does good, solid handling of
command line utilities would be
I like the way you can move windows in wmii.
1 | 2
-
3 | 4
if your cursor is in window 1 and you move the window to the right you
get
| 1
3 ||2
| 4
So I've tried to implement this in vim.. It works (not for preview
window) and is ugly.. Perhaps you want to try it out or have some
Hi Chip
Thanks for the response. Is the vimfiles/after/plugin/... a special
location? I'm on Windows, and I added the following file:
c:\Vim\vimfiles\after\plugin\antuncolormod.vim
I had to make both the after and plugins directories. However my
file does not appear to be getting picked up.
On Tue, 16 May 2006, Marc Weber wrote:
I like the way you can move windows in wmii.
1 | 2
--+--
3 | 4
if your cursor is in window 1 and you move the window to the right you
get
| 1
3 | 2
| 4
[improved illustrations]
So I've tried to implement this in vim.. It works (not for preview
I am observing what might be inconsistency in the order in which vim
fires autocommands. First, ovserving the order of buffer and window events,
- Using :new:
WinLeave
WinEnter
BufLeave
BufEnter
- Using :wincmd w
BufLeave
WinLeave
WinEnter
BufEnter
When combined with tab operations,
-
Just wanted to send the script that I used, in case anyone is interested
to repeat:
let g:auCount = 0
aug TT
au!
au WinEnter * :call Au('WinEnter')
au WinLeave * :call Au('WinLeave')
au TabEnter * :call Au('TabEnter')
au TabLeave * :call Au('TabLeave')
au BufEnter * :call
Gerald Lai wrote:
On Mon, 15 May 2006, Donal wrote:
Now that my primary issue of getting Windows Explorer to use gvim to
open .prg files has been fixed, I have 2 further issues. I will
seperate them so they do not get confused...
My eyes are not what they once were, and I use a high-res
Gerald Lai wrote:
On Mon, 15 May 2006, Robert MannI wrote:
[snip]
Now my question, this is the current way I'm doing this:
-
Remap for DVORAK
noremap t j
noremap j t
noremap n k
noremap k n
noremap s l
noremap l s
noremap T J
noremap J T
noremap N K
noremap K N
noremap
Thomas Barthel wrote:
I downloaded vim 7 last week and realized that there is a
new syntax file for vb. Long time ago (2002 or 2003) I
created an update myself. It is incomplete too, so I kept
it on my computer. Maybe the two files can be merged.
Thomas, I've merged your changes into the
What is it?
---
dbext.vim : Provides database access to most databases.
http://www.vim.org/scripts/script.php?script_id=356
This plugin contains functions/mappings/commands to enable Vim to access
several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase
Adaptive Server
I'm pretty sure I saw a vim script that converts gui colorschemes to
256-color xterm versions but I can't seem to find it any more.
Can anyone on the list confirm that I'm not making this up and possibly
provide the name of this script?
Thanks,
cga
Are you thinking of Gautam's xterm16
http://www.vim.org/scripts/script.php?script_id=795 ?
It comes with lots of files:
cpalette.pl
tags
xterm16.ct
xterm16.schema
xterm16.vim
xterm16.txt
Gautam, is your colorscheme useful for vim
under cmd.exe and
A.J.Mechelynck wrote:
Gerald Lai wrote:
On Mon, 15 May 2006, Robert MannI wrote:
[snip]
Now my question, this is the current way I'm doing this:
-
Remap for DVORAK
noremap t j
noremap j t
noremap n k
noremap k n
noremap s l
On Mon, May 15, 2006 at 08:35:28PM +0530, jagpreet wrote:
Thanks Tony/Benji,
Also, about installing vim 7.0
Will it be possible to install it in my working directory instead of root as
I won't be having the access to root.
Yes, it can be done. Read the instructions in the comments of
On Mon, May 15, 2006 at 12:01:35PM -0500, Donal wrote:
Here is my vim\myfiletypes.vim
myfiletypes.vim
augroup filetype
FoxPro
au! BufRead,BufNewFile *.prg,*.mpr,*.sprset filetype=foxpro
Cold Fusion
au BufNewFile,BufRead *.cfm,*.cfi,*.cfc setf cf
au! BufRead,BufNewFile
On Mon, May 15, 2006 at 12:01:35PM -0500, Donal wrote:
Here is my vim\myfiletypes.vim
myfiletypes.vim
augroup filetype
FoxPro
au! BufRead,BufNewFile *.prg,*.mpr,*.sprset filetype=foxpro
Cold Fusion
au BufNewFile,BufRead *.cfm,*.cfi,*.cfc setf cf
au! BufRead,BufNewFile
Hello!
I'm a very recent VIM convert, I love it.
One question I have: is autocompletion for Ruby built in (in VIM 7),
and how do I use it?
I couldn't find any helpful documentation, maybe someone can give me
some pointers.
Thanks alot,
Robert
I have the following mappings that work fine on vim but don't on gvim any idea
why
Window manipulation
Ctrl left == Ctrl W l
map ^[Oc ^Wl
Ctrl left
map ^[Od ^Wh
Ctrl+Down == Ctrl-W + j
map ^[Ob ^Wj
Ctrl+Up == Ctrl-W + k
map ^[Oa ^Wk
Thanks
Vijendra Malhotra
On Tue, 16 May 2006, Malhotra, Vijendra wrote:
I have the following mappings that work fine on vim but don't on gvim any idea
why
Window manipulation
Ctrl left == Ctrl W l
map ^[Oc ^Wl
Ctrl left
map ^[Od ^Wh
Ctrl+Down == Ctrl-W + j
map ^[Ob ^Wj
Ctrl+Up == Ctrl-W + k
map ^[Oa ^Wk
You're
56 matches
Mail list logo