Max Waterman wrote:
> My laptop has the F1 key where my fingers expect the Esc key
> to be, so I tried to ':map ctr-vf1 ctr-vesc', but it made no
> difference.
>
> Can someone tell me how to remap the f1 key to escape?
You need a mapping that's active in insert mode:
:imap
John
--~--~-
I am trying to create a syntax file and I am having trouble in marking
out a comment region. The comment starts with an asterisk with the
first non white space character preceding it (including newlines) a
semi-colon. The comment ends with a semi colon.
For example everything between (and incl
Hello Tony,
Tuesday, December 16, 2008, 2:18:16 PM, you wrote:
>> Pressing Ctrl-V followed by Ctrl-Left results in four chars ^[[D
>> - the first two ^[ are blue and the last two [D are white.
>> But I have no idea what they mean.
> ^[ in blue means Ctrl-[, i.e., the Esc character. The whole
Hi,
My laptop has the F1 key where my fingers expect the Esc key to be, so I
tried to ':map ctr-vf1 ctr-vesc', but it made no difference.
Can someone tell me how to remap the f1 key to escape?
Thanks,
Max.
--~--~-~--~~~---~--~~
You received this message from th
On 18/12/08 21:51, Derek Litz wrote:
>
> Hey I'm trying to map ^Z to save and then suspend.
>
> :map ^Z :w^Z
>
> I think I've got it right because I tried replacing the ^Z on the right side
> and it works perfectly. Problem is with anything I've put before ^Z it
> repeats infinity. Luckily this
Ben Schmidt-4 wrote:
>
>
>> Hey I'm trying to map ^Z to save and then suspend.
>>
>> :map ^Z :w^Z
>>
>> I think I've got it right because I tried replacing the ^Z on the right
>> side
>> and it works perfectly. Problem is with anything I've put before ^Z it
>> repeats infinity. Luckily th
On 18/12/08 13:03, Nicolas Aggelidis wrote:
> Thank you guys for your answers! i think the problem is solved!
>
> amenu&simple.Enable\ autochdir :set autochdir
> amenu&simple.Disable\ autochdir :set noautochdir
> amenu&simple.autochdir\ Status :verbose set autochdir?
>
>
> i have added a menu so t
On 18/12/08 17:22, Christian MICHON wrote:
[...]
> Bram's funny signatures is not in the email: it's not from him.
Right.
>
> Side note: windows users should compile their own binaries :)
>
Not necessarily: Steve Hall's Vim distributions
https://sourceforge.net/project/showfiles.php?group_id=4
> > has anyone implemented a folding/side-by-side plugin for editing files
> > containing merge conflicts?
> CVSconflict sets up two buffers with the left side being the
> "local+merge" file and the right side being the "repository+merge" file,
> and applies vimdiff to them.
>
> http://vim.source
On 18/12/08 15:40, fritzophrenic wrote:
[...]
> Thanks, John. Hopefully you'll save someone from a world of hurt.
> Something to keep in mind in general on the Vim lists is that all
> messages (especially from Bram) should be in plain-text. The only time
> I've ever seen an attachment on these lis
On 18/12/08 11:26, John Beckett wrote:
> I should take a little longer checking, but in view of the potential for
> damage I'm sending a preliminary opinion:
>
> A message has just been sent to the vim_multibyte list.
> Header includes:
>
>From: b...@moolenaar.net
>To: vim-multib...@vim.or
On Thu, Dec 18, 2008 at 12:51:07PM -0800, Derek Litz wrote:
>
>
> Hey I'm trying to map ^Z to save and then suspend.
Have you had a look at :h 'autowrite' ?
Maybe setting that option is enough?
Sincerly
Marc Weber
--~--~-~--~~~---~--~~
You received this message
Derek Litz wrote:
> Hey I'm trying to map ^Z to save and then suspend.
>
> :map ^Z :w^Z
>
> I think I've got it right because I tried replacing the ^Z on the right side
> and it works perfectly. Problem is with anything I've put before ^Z it
> repeats infinity. Luckily this was just the w comman
> Hey I'm trying to map ^Z to save and then suspend.
>
> :map ^Z :w^Z
>
> I think I've got it right because I tried replacing the ^Z on the right side
> and it works perfectly. Problem is with anything I've put before ^Z it
> repeats infinity. Luckily this was just the w command at first, but
Hey I'm trying to map ^Z to save and then suspend.
:map ^Z :w^Z
I think I've got it right because I tried replacing the ^Z on the right side
and it works perfectly. Problem is with anything I've put before ^Z it
repeats infinity. Luckily this was just the w command at first, but was a
little
Thanks for your appreciation, folks!
Well yes you're right, but restoring my foldings manually would
require me to assimilate two more shortcuts into my brain ;)
Here is my temporary solution, temporary, because it shows an
unexpected behaviour which is also unwanted but not as disattracting
to
On Dec 18, 9:32 am, "Vim Questions" wrote:
> Thank you, John, for your responce
>
> It did not work for me.
>
> I installed gVim 7.2 on my lap top (Windows). When I double click on it, it
> opnes. I go to "file-> open" and bring my text (that is in .txt format). I
> enterred the recommended co
On Thu, Dec 18, 2008 at 12:36 PM, Marc Weber wrote:
>
> On Thu, Dec 18, 2008 at 12:36:32AM -0800, Fan Kai wrote:
>>
>> I can't map Alt-key in vim when open it in a putty console, with
>> terminal set to xterm.
>> I read the help of map-alt-keys, and it says it's because the terminal
>> would pref
On Thu, Dec 18, 2008 at 12:36:32AM -0800, Fan Kai wrote:
>
> I can't map Alt-key in vim when open it in a putty console, with
> terminal set to xterm.
> I read the help of map-alt-keys, and it says it's because the terminal
> would prefix the character with an ESC character.
>
> Is there any w
On Thu, Dec 18, 2008 at 10:32 AM, Vim Questions wrote:
> Thank you, John, for your responce
>
> It did not work for me.
>
> I installed gVim 7.2 on my lap top (Windows). When I double click on it, it
> opnes. I go to "file-> open" and bring my text (that is in .txt format). I
> enterred the recom
On Thu, Dec 18, 2008 at 9:54 AM, Tom Link wrote:
>
>> I can't map Alt-key in vim when open it in a putty console, with
>> terminal set to xterm.
>
> Something like this could help:
>
> set =^[x
But note that, even in current vim, this does not work properly when
using a multibyte encoding [1].
On Wed, Dec 17, 2008 at 10:39 PM, alex
wrote:
> - Unix + vim are better than GUI-IDEs or not in your eyes ?
Absolutely, if you know what you're doing and you're a touch typist -
can type without looking at the keyboard, ever. Mind you that's quite
a big `if' there. The shell gives you a means t
On 2008-12-18, fritzophrenic wrote:
> On Dec 17, 1:14 pm, Gary Johnson wrote:
> >
> > You can also precede a command that performs a split with ":vert" to
> > make the split open vertically.
> >
> > :help :vert
> >
>
> It only works in one special case (the :diffsplit command) but also
> see
On Dec 18, 10:08 am, "Jackie" wrote:
> Hi! Thanks for your feedback!
> I think perhaps, my previous description is not clearly enough, and make
> you mistake my mind.
>
> In a simple project, I did some tricks to make the compiler
> report warning and error if we compiling.
> And then, I open t
On Dec 17, 8:39 am, alex wrote:
> Perhaps one problem in vim is the source code browsing: the standard
> tags facilities aren't too much advanced and useful.
>
> ...
>
> - what other unix tools are needed (for listing call trees for
> debugging, ecc) ?
I've never used it myself...but I unders
On Dec 17, 1:14 pm, Gary Johnson wrote:
>
> You can also precede a command that performs a split with ":vert" to
> make the split open vertically.
>
> :help :vert
>
It only works in one special case (the :diffsplit command) but also
see :help 'diffopt' where it explains the "vertical" optio
On Dec 17, 8:03 pm, anhnmncb wrote:
>
> Hi, that's annoying me with a long time too, I have to :syntax enable then
> zMi to restore a outline layout.
>
Also see ;help zx and :help zX for a potentially better way to restore
the fold layout.
--~--~-~--~~~---~--~~
Hi! Thanks for your feedback!
I think perhaps, my previous description is not clearly enough, and make
you mistake my mind.
In a simple project, I did some tricks to make the compiler
report warning and error if we compiling.
And then, I open the .c file in vim, use the ':make'or ":!make" in vim
> The trouble is if you learn vim + eclim only you won't even
> know that Those "missing" features do exist.. :-(
No, you shouldn't learn vim + eclim only. One must obviously
learn "pure eclipse" as well - but this is anyway happens
"automatically", during your day-to-day usage.
> For example ca
Steve wrote:
> Hi Guys,
>
> has anyone implemented a folding/side-by-side plugin for editing files
> containing merge conflicts?
> I'm thinking of something like :diffsplit mode.
>
> For example, many configuration management systems mark conflicts in
> merged files something like this:
>
> <<
Thank you, John, for your responce
It did not work for me.
I installed gVim 7.2 on my lap top (Windows). When I double click on it, it
opnes. I go to "file-> open" and bring my text (that is in .txt format). I
enterred the recommended command (copy and paste from your e-mail) in the
first line t
> About "pain": it is the same as with learning vim: things which
> you do most of the time and very often, you just learn how to do
> efficiently with vim + eclim; things which are used not so often
The trouble is if you learn vim + eclim only you won't even know that
those "missing" features do
* Steve on Thursday, December 18, 2008 at 05:50:43 -0800
> has anyone implemented a folding/side-by-side plugin for editing files
> containing merge conflicts?
> I'm thinking of something like :diffsplit mode.
>
> For example, many configuration management systems mark conflicts in
> merged files
> I don't know the proper help page now but the info is somewhere
:help :set-termcap
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--
> I can't map Alt-key in vim when open it in a putty console, with
> terminal set to xterm.
Something like this could help:
set =^[x
I don't know the proper help page now but the info is somewhere ... or
in the archives of this list.
See also h :map-alt-keys.
Regards,
Thomas.
--~--~
Hi Guys,
has anyone implemented a folding/side-by-side plugin for editing files
containing merge conflicts?
I'm thinking of something like :diffsplit mode.
For example, many configuration management systems mark conflicts in
merged files something like this:
<<< file-from-left-branch
left s
> Eg if you only want to use subversion and you do a lot of heavy
> refactorings in Java I'd recommend Eclipse for that all. Why?
> Most of the work as already been done and if you want to rename
> a method you can use Eclipse Wizards for that which will be
> superior to vim search repalce methods
On Dec 18, 4:26 am, "John Beckett" wrote:
> I should take a little longer checking, but in view of the potential for
> damage I'm sending a preliminary opinion:
>
> A message has just been sent to the vim_multibyte list.
> Header includes:
>
> From: b...@moolenaar.net
> To: vim-multib...@vi
I have this problem, too, and i don't know how to solve, either. I use
gnome-terminal.
maybe you can try the option "esckeys", but i can't try it, i'm in
windows now.
btw, there are some problem in windows. use gvim -u N -U N, and i
can't map the (or ) key, i don't know why, i can input it
with ^
On Wed, Dec 17, 2008 at 06:39:44AM -0800, alex wrote:
> I think that the power of shell programming (particularly with the use
> of the perl language) is by far superior of the power of modern GUI
> applications.
... This heavily depends on
a) the language you want to program in
b) your shell (per
I was using it as part of a sub-replace-expression (I copied your
commandline example to test it in my edit session).
We're running vim 6.1, huge version w/o gui... and this is a corporate
installation. I have no control over the configuration so what I got
is what I got. Thanks for all of the
On Thu, Dec 18, 2008 at 7:10 AM, Nicolas Aggelidis
wrote:
>
> one more thing conserning sessions, i want to keep all the session
> files in a specific folder i.e. ~/sessions/session_name.vim
>
> is there any way to make vim save by default all sessions in the
> specific folder and load from this
one more thing conserning sessions, i want to keep all the session
files in a specific folder i.e. ~/sessions/session_name.vim
is there any way to make vim save by default all sessions in the
specific folder and load from this specific folder.
so that i can do the following:
mksession session_na
Thank you guys for your answers! i think the problem is solved!
amenu &simple.Enable\ autochdir :set autochdir
amenu &simple.Disable\ autochdir :set noautochdir
amenu &simple.autochdir\ Status :verbose set autochdir?
i have added a menu so that i can disable and enable autochdir with buttons
John Beckett wrote:
> Moral of story:
> - Anyone can send a mail and spoof the "From" address.
>
Anyone can use SPF policies in DNS to avoid this.
Regards
PS: Today, it's second time that I read this problem.
--~--~-~--~~~---~--~~
You received this message fro
I should take a little longer checking, but in view of the potential for
damage I'm sending a preliminary opinion:
A message has just been sent to the vim_multibyte list.
Header includes:
From: b...@moolenaar.net
To: vim-multib...@vim.org
Subject: Mail Transaction Failed
Date: Thu, 18 De
I can't map Alt-key in vim when open it in a putty console, with
terminal set to xterm.
I read the help of map-alt-keys, and it says it's because the terminal
would prefix the character with an ESC character.
Is there any way to solve this problem?
--~--~-~--~~~---~
On 2008-12-18, Tony Mechelynck wrote:
>
> On 18/12/08 08:51, anhnmncb wrote:
>> Hi, list,
>>
>> @ is in the iskeyword list by default, but I find that when I try to complete
>> @word by CTRL-N/P, it fails, vim tries to complete word, not @word as I
>> expected. What's wrong?
>>
>
> See ":help 'isf
On 18/12/08 08:51, anhnmncb wrote:
> Hi, list,
>
> @ is in the iskeyword list by default, but I find that when I try to complete
> @word by CTRL-N/P, it fails, vim tries to complete word, not @word as I
> expected. What's wrong?
>
See ":help 'isfname'".
@ in 'isfname', 'iskeyword', etc., means "
49 matches
Mail list logo