One workaround is to unmap the disturbing mapping and remap it again
later.. But this can be unfeasible..
In general it is worth talking about the task you're trying to solve
rather than asking about how to implement the solution you think is
best. So which is your use case leading to this
Hi Anna,
I have found a workaround for it.
I want to detect when command-line mode starts.
Tell about the whole use case. Why do you want to detect switching to
normal mode?
There is InsertLeave. But this doesn't catch visual - normal.
Marc Weber
--
You received this message from the
Hi Andy,
One (last?) suggestion to improve lastpos.vim
1) Consider a .vimrc containing the following 2 lines:
set insertmode
imap F8 C-\C-O:bpreviousCR
Please do the following:
gvim file1
CTRL-O :e file2
put the cursor at the end of line 10
F8
put the cursor at the end of line 10 (in file1)
Use
Am 01.04.2010 04:31, schrieb Ted:
Hello,
I'm hoping to call a static dictionary function using call(). By
static I mean that the keyword 'dict' is not used in the function's
definition. I use this nomenclature in the hopes that the effect of
this keyword is to declare a static member
Hi I want to find out if there's any way to run a one line shell command to
do the same as the following:
vim pastefile.txt
(press keyboard buttons GO*pwq!)
I want someting like this:
prompt vim pastefile.txt -inputchars 'GO*pwdq!
prompt
--
View this message in context:
Am 30.03.2010 19:36, schrieb Tony Mechelynck:
On 31/01/10 18:12, Gary Johnson wrote:
On 2010-01-30, Bee wrote:
On Jan 29, 10:52 am, Benjamin R. Haskellv...@benizi.com wrote:
On Fri, 29 Jan 2010, Bee wrote:
On Jan 29, 7:43 am, Benjamin R. Haskellv...@benizi.com wrote:
...
:redir @a
...
How
Hi,
davvs wrote:
Hi I want to find out if there's any way to run a one line shell command to
do the same as the following:
vim pastefile.txt
(press keyboard buttons GO*pwq!)
I guess you meant '0' (Zero) instead of 'O' (upper case oh) and that there
is a colon missing before 'wq!'.
I
When I write some text in vim and enter each item preceded by - like:
- text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text
the lines from the third is not intended. Is there a way to correct
iconv -f cp949 -t utf8 ~/_vimrc
dos2unix ~/_vimrc
find ~/.vim -type f | xargs dos2unix
iconv is for broken hangul alphabets.
dos2unix is for dostype text files(dostype dosn't use LF only but CR also.
unixtype uses LF only.)
--
You received this message from the vim_use maillist.
Do not
Christian Brabandt wrote:
sometimes I am using fold expressions to simply hide away unwanted
parts. Usually this boils down to
:set fdm=expr fde=getline(v:lnum)!~getreg('/',1)
While this works fine, it is only limited to whatever was in register @/
when this setting was entered. Now
Hello,
Is there a way to write more or less complex gui dialog for vim
similar to this one
http://mrwlwan.files.wordpress.com/2008/03/find_replace.png
I would need a couple of text fields and radio(check) buttons in a
single dialog. Cream tries to mimic such by splitting a dialog into
dozens of
Do you mean like that shown in the attachment?
It's the standard gvim search and replace dialog, or is that what you're
saying is ugly and stupid?
This is ugly and stupid
http://www.linux-mag.com/i/articles/6045/Figure_2.jpg
The Cream way: a bunch of dialogs, in each you set some option before
On Thu, 2010-04-01 at 17:35 +0300, Aarto Matti wrote:
Do you mean like that shown in the attachment?
It's the standard gvim search and replace dialog, or is that what you're
saying is ugly and stupid?
This is ugly and stupid
http://www.linux-mag.com/i/articles/6045/Figure_2.jpg
The
On 2010-04-01, Jostein Berntsen wrote:
When I write some text in vim and enter each item preceded by - like:
- text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text
the lines from the
On Mar 30, 9:28 pm, Charles Campbell wrote:
I'm not sure why that error went away -- but 137m has a setlocal nomod
inserted, hopefully at the right place, just to handle this problem.
Hello Chip,
I installed v137m, this time the error has gone away.
Thank you.
Best regards
Jean Johner
--
On Apr 1, 4:53 am, Tony Mechelynck antoine.mechely...@gmail.com
wrote:
On 31/03/10 22:45, viki wrote:
Hello,
How do I center-align some items on statusline ?
Thanks.
Viki
Hm. The status lines allows a left-side group and a right-side group
of items, separated by %= and in addition
Hi Bram!
On Do, 01 Apr 2010, Bram Moolenaar wrote:
One remark: in the help, add a bit more information about when this would
be needed, why the folds are not updated automatically.
Attached is an updated patch. Is this better?
regards,
Christian
--
You received this message from the
On March 31, 10:39 pm, Andy Wokulaanw...@yahoo.de wrote:
NB: Your code works when set insertmode is present in .vimrc (as a
special case gvim -y).
It does not work when startinsert is used instead (which has the
advantage of keeping the Esc key).
Could you cure that?
Easily, but you need
On April 1, 10:33 am, Andy Wokula anw...@yahoo.de wrote:
Can you improve that?
IIRC, you already mentioned this on the list?
I think it's not related to the last-position-jump problem -- so, mission
accomplished for now ;-) Maybe I'll spend some
time on it after the holidays.
Hint: Using
On Thu, 1 Apr 2010, chardson wrote:
I'm trying to figure out why there's a discrepancy between syntax
highlighting between my two setups:
· OS 10.6, MacVim 7.2 stable 1.2
· Ubuntu 9.04, Vim 7.2.079
A while ago I moved my .bashrc, .vimrc, and .vim/ to a git repository
shared
When trying to run :helptags $VIM/vimfiles/doc on Win Vista 64 (with
64 bit Vim) I get the above error related to installing dbext for Vim,
it looks like the tags file may have been created I'm a total
Newbe at Vim, so it is a bit of a struggle,,, help appreciated!
--
You received this
I have been using Vim for about 3-4 months and am a student web
developer. I am still learning Vim and need help with a command.
I am editing some web pages using web pages many a times I have to
edit web pages. Here is what I want:
__
pMike
Gilbert
Senior/p
I would like to show the full file path and name for every file I edit
somewhere on the screen. I can't find how to do this, but I know a
couple of years ago I solved this problem and have since lost the
syntax for how to do this.
The tab is obviously too short for this, but the 'title' of the
Kunal Bajpai wrote:
I have been using Vim for about 3-4 months and am a student web
developer. I am still learning Vim and need help with a command.
I am editing some web pages using web pages many a times I have to
edit web pages. Here is what I want:
__
pMike
pixelterra wrote:
I would like to show the full file path and name for every
file I edit somewhere on the screen. I can't find how to do
this, but I know a couple of years ago I solved this problem
and have since lost the syntax for how to do this.
Sounds like you're hunting the 'statusline'
I'm positive some of you already do this, and I wanna too ;) so bear
with me.
I map some F-keys with stuff like
:imap f2 for(i=0;i ;i++)
:imap f3 vector ::iterator it = xxx.begin(), end = xxx.end()
:imap f4 while (my ($k,$v) = each %
I'd have a about a hundred of those if I could use a popup
* MK halfcountp...@intergate.com [2010-04-02 04:09]:
I'm positive some of you already do this,
and I wanna too ;) so bear with me.
I map some F-keys with stuff like
:imap f2 for(i=0;i ;i++)
:imap f3 vector ::iterator it = xxx.begin(), end = xxx.end()
:imap f4 while (my ($k,$v) = each %
thanks for pointing me in the right direction. As it turns out, the
statusline does what I want by default. It just doesn't show by
default, so I had to set laststatus=2. Maybe I'll add some tweeks too,
now that I can : )
--
You received this message from the vim_use maillist.
Do not top-post!
I'd have a about a hundred of those if I could use a popup menu, ala
completion ctrl-n/p, just a alphebetized list.
If you're willing to give up the ctrl-n/p requirement, this page could
be of interest:
http://vim.wikia.com/wiki/Category:Automated_Text_Insertion
--
You received this message
To this html code I wanted to select the text between the tags and replace
the original text with \n character removed. There is a more complex example
that I wanted to ask, here is the problem:
Original
__
pMike
strongGilbert /strong
Senior/p
I found VIM Form Toolkithttp://www.vim.org/scripts/script.php?script_id=2160,
unfortunately
it's not under development anymore.
There are two more plugins of that kind somewhere on the internet.
You might also want to check vimuiex, which requires python-support
and a patched version of vim
On 01/04/10 20:00, viki wrote:
On Apr 1, 4:53 am, Tony Mechelynckantoine.mechely...@gmail.com
wrote:
On 31/03/10 22:45, viki wrote:
Hello,
How do I center-align some items on statusline ?
Thanks.
Viki
Hm. The status lines allows a left-side group and a right-side group
of items,
32 matches
Mail list logo