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
http://mail.yahoo
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 Wind
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 :source $VIM\vimrc
> \ :source $VIM\_vimrc
> \ :source $HOME\_vimrc
>
> But that failed because source
Maybe something like
nnoremap :vspl
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?
__
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 4
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
>
Hello,
Jared <[EMAIL PROTECTED]> wrote:
> I'd like to map a hotkey to re-source my vimrc files (system + user). I
> originally tried this simple approach:
>
> nmap :source $VIM\vimrc
> \ :source $VIM\_vimrc
> \ :source $HOME\_vimrc
Your .vimrc knows its own filename. Here is an ex
Is there any way to cause autoread to trigger more often? As far as I
can tell, it only triggers on a focus change (just a guess). So, if
some external program is slowly writing to the file, you don't get the
updates (in Windows anyway)
Just a question:
If something else is constantly making
On Fri, 12 May 2006 23:52:20 +1200, Gabriel B. <[EMAIL PROTECTED]>
wrote:
On 5/11/06, mal content <[EMAIL PROTECTED]> wrote:
I wondered if there was a
way to mimic the style used in the current file.
I'd love that also.
I never cared, until i realised that everyone that program in python
(
On 5/12/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
Is there any way to cause autoread to trigger more often? As far as I
can tell, it only triggers on a focus change (just a guess). So, if
some external program is slowly writing to the file, you don't get the
updates (in Windows anyway) unless
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.
This does not work. Is it a bug that the following
still splits horizontally instead of vertically?
:vertical execute "normal ^W]"
--- Eric Arnold <[EMAIL PROTECTED]> wrote:
> Maybe something like
>
> nnoremap :vspl
>
__
Do You Yahoo!?
Tired
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 o
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 ] :vertical wincmd ]
Regards,
Jürgen
--
Jürgen Krämer Softwareentwicklung
HABEL GmbH
Hi again,
Jürgen Krämer wrote:
> 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 ] :vertical wincmd ]
this is a better version of the above mapping
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 vertic
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 co
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 wo
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:
---
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
Zimmer- Pfrommer 0
Mueller - Kargoll 1
Schwab-
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 ove
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 win
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 explain
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()" functi
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 use
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 possib
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" <
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 possi
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 7
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 u
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 n
Hi, vimmers.
Ones I have two buffers in a window, I just do some changes in the first
buffer, use :w to save and use :bn! to switch to the next buffer. Then
use :bp! to switch back the first buffer, now all the undo history is
unavailable. It seems when I switch to the 2nd buffer with the 1st
buff
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 o
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, e.g
On Sat, 13 May 2006 at 9:46am, Yegappan Lakshmanan wrote:
> Hi Hari,
>
> On 5/12/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
> >
> > I am finding that the new taglist() function performans much slower than
> > the :tag command for the same pattern. I have a couple of huge tag
> > files in 't
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
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 S L
noremap L S
---
[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 wro
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 Searchguibg=#
> 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 ter
Antun Karlovac 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 Commentguifg=#5F5F5F
highlight Constantguifg=#AA
highlight Type gui=NONE guifg=#990011
highlight Sea
Hi!
If it has worked inin Vim 6.x, I suppose that you don't apply a
color scheme after these lines. I suggest to set the background
before these lines manually, that is, add
set background=light
before these Lines. You might set the highlighting for Normal:
hi Normal guibg=#ff guifg=#0
On 5/15/06, Strange <[EMAIL PROTECTED]> wrote
Hi, vimmers.
Ones I have two buffers in a window, I just do some changes in the first
buffer, use :w to save and use :bn! to switch to the next buffer. Then
use :bp! to switch back the first buffer, now all the undo history is
unavailable. It seems w
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 idea
On Wed, 10 May 2006 11:16:40 +0200, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
Tomasz Kalkosiñski wrote:
There is a problem when I want to use [[:alpha:]] for regex patterns,
because it is based on LC_CTYPE variable. When it's set to "C" it uses
basic latin1 character set [A-Za-z] and doesn't
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
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
wi
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,
- Using
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 Au('BufEnter
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 moni
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 vb.vim
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 Anyw
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 g
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
>>> norem
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,BufNe
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,Buf
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
Robert MannI wrote:
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
Open a ruby file, duri
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
Yo
On Mon, May 15, 2006 at 03:43:40PM -0700, Gerald Lai wrote:
> 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
In Windows 2000 I'm having problems associating file extensions with Vim
7.
I've been using Vim 6.2 (GUI version) for a while, and had associated C
and TXT file extensions with it. In both Windows Explorer and a
third-party file manager (WinNavigator 1.96), double-clicking a C or TXT
file laun
69 matches
Mail list logo