Ctrl-W ] (or :wincmd ] ) splits the window to show the definition of the tag
under the cursor, but prefixing it with :tab doesn't open a new tab:
Reproducible: Always
Steps to reproduce:
1. Place the cursor on a tag (e.g. on an identifier in a program for which
ctags has been run).
2. Type
Hi,
I have mapped CTRL-Z as u
I'm not sourcing mswin.vim, and also not behave as windows
CTRL-Z does most of the times the undo-function.
But why does it also does minimize the screen sometimes?
Rgds,
Eric
_
Find what you need at
How do you making inoremap filetype depend?
What I want is
if (filetype == vim) then
inoremap @a A
else if (filetype == c)
inoremap @a aa
else if (filetype == vhdl)
inoremap @a AAAaaa
else
inoremap @a aaaAAA
end if
untested, but would the following work?
Hi list,
new to the list.
work on ubuntu 6.10, vim7 with patches 1-35
Have some problem with viki
http://www.vim.org/scripts/script.php?script_id=861
I extracted viki.zip into my ~/.vim. Just mulitvals.vim ist additional
installed, otherwise there are no other vim configuration files.
A
Hi,
* On Wed, Mar 07, 2007 at 07:48:24PM +, Eric Leenman [EMAIL PROTECTED]
wrote:
Triggered by the video presentation of Bram by making a iabbreviation
or inoremaps of things you type often in combination with the reply of
Gavin, would you like to share some of your inoremap mappings?
Hello,
* On Sat, Mar 10, 2007 at 07:59:21AM +, Eric Leenman [EMAIL PROTECTED]
wrote:
How do you making inoremap filetype depend?
What I want is
if (filetype == vim) then
inoremap @a A
else if (filetype == c)
inoremap @a aa
else if (filetype == vhdl)
I use ftplugins,
Hello James,
* On Fri, Mar 09, 2007 at 10:22:22AM +0100, James Kanze [EMAIL PROTECTED]
wrote:
I'm having trouble automatically positionning the cursor when
opening an existing file.
Basically, all of my files have a standard header (copyright
blurb, etc.), and I'd like to have the cursor
How to map F9 key to following action:
1. run buildin make (!make)
2. run shell command make run
I tried:
map F9 F2:wallCR:!clearCR:make !make runCR
but then the F9 key results in:
Press ENTER or type command to continue
g++ a.cpp -o a.elf -lboost_thread -s -pthread
/bin/bash: !make:
On 3/9/07, Simon Jackson [EMAIL PROTECTED] wrote:
Is it possible to use tidy to clean up my html in the current document?
Hi Simon,
Yes, this can be done. Here's a vim tip
(http://www.vim.org/tips/tip.php?tip_id=18) that explains the process.
Scroll to the bottom to the last comment that
lin q wrote:
Hi,
I downloaded the vim 7.0 package to my RedHat Enterprise 3 machine.
I do not have administrator previlidge, so I setup the env like this:
export DESTDIR=my_dir
export prefix=my_dir
Then I run
make
make install
But when I run vim, my_dir/usr/local/bin/vim, I get this
petern wrote:
Hi dear vim lovers.
When I type some text in input mode and for example go to make a coffee
without leaving the input mode, and then get back to my computer, vim has
exited input mode. That's OK. But what confuses me is that some parts of my
input has been repeated and been
Joel Brobecker wrote:
Hello fellow vimmers,
I am working on an x86-linux machine running Debian testing.
I have switched to vim7 soon after it came out, and it's been awesome.
There is just one thing that changed and causes me some trouble: When
I select a visual region, the text region gets
Vu The Cuong wrote:
In the path I often used command to indent my php file or C# file:
gg ... G
mean go to the top of file and indent code until the end of file.
But Unfortunately I forgot.
Could anyone tell me what I forgot?
Thanks
see
:help =
Best regards,
Tony.
--
Eric Leenman wrote:
Hi,
How do you making inoremap filetype depend?
What I want is
if (filetype == vim) then
inoremap @a A
else if (filetype == c)
inoremap @a aa
else if (filetype == vhdl)
inoremap @a AAAaaa
else
inoremap @a aaaAAA
end if
Best regards,
Eric
autocmd
Eric Leenman wrote:
Hi,
I have mapped CTRL-Z as u
I'm not sourcing mswin.vim, and also not behave as windows
CTRL-Z does most of the times the undo-function.
But why does it also does minimize the screen sometimes?
Rgds,
Eric
How did you remap Ctrl-Z ?
:map C-Z u
or
Rafal Maj wrote:
How to map F9 key to following action:
1. run buildin make (!make)
2. run shell command make run
I tried:
map F9 F2:wallCR:!clearCR:make !make runCR
but then the F9 key results in:
Press ENTER or type command to continue
g++ a.cpp -o a.elf -lboost_thread -s -pthread
Peter Nasholm wrote:
Thanks for the hint,
Indeed there seems to be something about what you suggest. At least, I get
:verbose au cursorhold
--- Auto-Commands ---
Hit ENTER or type command to continue
I will try to dig a little bit deeper into this to see if I find a
solution. However, there
I have a problem when i am in visual mode and i have text highlighted.
Instead of being able to run a command, it just overwrites my selected
text instead. im sure its because of something in my vimrc but i just
cant pinpoint it, can anyone help?
P.S.: If anyone sees some errors in my vimrc or
Rafal Maj wrote:
A.J.Mechelynck wrote:
:map F9 :wall Bar !clear ; make make run
Method II: intermixing internal and external commands
:map F9 :wall Bar exe !clear Bar exe make Bar !make run
Note: Method II does not intercept the return status from the first make.
Method III
I think that the best way to do this is just with registers. So what
you would do is:
vhighlight regionay
vhighlight regionap
what this does is use the a register to yank to/put from.
For more info see :help y and :help p
On 3/10/07, Peng Yu [EMAIL PROTECTED] wrote:
Hi,
Suppose I want to
Is it possible to have a setup in .vimrc so that every
time I select tag either through CTRL-] or by
holding CTRL and pressing left mouse click to open a
new buffer in a new tab?
Regards,
Zarko Coklin
Finding
Peng Yu wrote:
Hi,
Suppose I want to replace string1 with string2 in a file from vim.
1. Highlight string1 (in visual mode) and then type y.
2. Highlight string2 (in visual mode) and then type p.
However, the problem with the above procedure is that string2,
instead of string1, is in buffer.
Zarko Coklin wrote:
Is it possible to have a setup in .vimrc so that every
time I select tag either through CTRL-] or by
holding CTRL and pressing left mouse click to open a
new buffer in a new tab?
Regards,
Zarko Coklin
:map C-] :exe tab stag expand(cword)CR
:map
23 matches
Mail list logo