upper-cased
Does anyone know how I can prevent the cursor from moving when I go from
INSERT to normal mode... or revise my mapping so that it works regardless
of where the cursor is within the word when ctrl-d is pressed?
On Mon, May 25, 2015 at 10:13 PM, Sonny wrote:
> Hey Gary,
>
&
>Does anyone know how I can prevent the cursor from moving when I go from
>INSERT to normal mode...
That’s Vim’s usual behavior.
> or revise my mapping so that it works regardless
>of where the cursor is within the word when ctrl-d is pressed?
You could start the command by inserting a character and delete it after
you get back in insert mode:
:inoremap _viwUgi
Also, the second esc is useless since pressing U should take you back to
normal mode:
:inoremap _viwUgi
And, although it's not wrong to go into visual mode to set some text
Thanks guys, particularly Youen. Those were helpful.
On Mon, May 25, 2015 at 11:35 PM, Youen Lansade wrote:
> You could start the command by inserting a character and delete it after
> you get back in insert mode:
>
> :inoremap _viwUgi
>
> Also, the second esc is useless since pressing U sh
On Wednesday, May 27, 2015 at 9:44:17 AM UTC-7, Sonny Chee wrote:
> Hey Guys,
>
> I have the following operator mapping in my .vimrc that I think should allow
> me to execute an operation on the contents of the next parentheses.
> Howeveer, when (in normal mode) I do dp n
I'm redirecting this conversation to vim_use which I think is more appropriate
than vim_mac in this case.
On Wednesday, October 7, 2015 at 2:02:30 AM UTC+2, Shaun Friedle wrote:
> Hi,
>
> I'm having difficultly mapping alt + the arrow keys at startup in MacVim.
>
> So,
I'd like to map q to bwipe for all bt == nofile, but I'm having trouble finding
the autocmd to make it work (assuming that this is the way to go)?
I've tried (transcribed from memory)
autocmd bufreadpost *
\ if buftype == 'nofile' |
\nnoremap q :bwipe |
\ endif
with various types of event
eCR)
> imap MyCR
>
> Auto-pairs maps , too, and it tries hard not to override an existing
> mapping. After loading, :verbose imap shows this:
>
> i &@(MUcompleteCR)24_AutoPairsReturn
> Last set from ~/.vim/pack/bundle/start/auto-pairs/plugin/auto-pairs.vim
rom ~/.vim/vimrc
First question: why are there two definitions instead of one? I.e., why
is the mapping from my vimrc shown at all?
Due to buffer-local mappings there may exist at most {number of loaded
buffers present}+1 mapping definitions, with buffer-local mappings
attached to the current buf
Hi,
Is there a way to map keys only when in normal mode from a terminal ?
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received thi
On Do, 30 Aug 2018, Lifepillar wrote:
> Is it possible to access the lhs of a mapping from its rhs?
> For example, given:
>
> imap MyFunction()
>
> is there a way for MyFunction() to know that it was called by ?
Not that I know of and I have whished for that before
Could you implement the function and accompanying mapping as follows?
imap MyFunction("cr")
imap n MyFunction("Leader-n")
Sorry if this is obvious, if it is impractical for some reason I'm curious
why.
John Passaro
(917) 678-8293
On Thu, Aug 30, 2018 at 1:18 PM,
On Do, 30 Aug 2018, John Passaro wrote:
> Could you implement the function and accompanying mapping as follows?
>
> imap MyFunction("cr")
> imap n MyFunction("Leader-n")
This is the typical workaround. The idea was to be able to know in the
function which
On 30/08/2018 20:37, Christian Brabandt wrote:
On Do, 30 Aug 2018, John Passaro wrote:
Could you implement the function and accompanying mapping as follows?
imap MyFunction("cr")
imap n MyFunction("Leader-n")
This is the typical workaround. The idea was to be
the same, even showing "[1/>99]" when it should be
showing "[2/>99]".
Another 'n' advances the cursor to line 17, the screen scrolls
up so that that line is at the bottom of the window, and the command
line is empty--no search count message at all.
I would think
noremap ur ip
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_use" g
thanks. I am more interested to know why separate mappings don't work and
how to make it work, if possible.
this two key mapping will have complexity issue, since everything i* now
incurs a mapping, and the same issue (one key is subject to mapping and the
next one isn't) migh
Hi,
Is it posible to nest conditionals in a mapping, something like, just for
demonstration:
vnoremap vv (strlen(@y) == 1) ? ':let ...' : '("vcl" =~
getregtype("*")) ? 'some foo' : 'some bar' ' some more ...
Can we do this ? Do
I actually prefer to never hit shift, so map ; to : instead.
You could simply define a command called W to do what you want:
command! W w
--
Salman
On Tue, 23 Feb 2021, 23:06 , wrote:
> Hi,
>
> if my PC is heavily compiling things and I am editing and saving
> things repeatedly if often hit
Hi Salman,
oh! :)
The first is genious and while reading the second one I had
the distinctive feeling of flat-hand-against-my-fronthead... ;)
Of course!
Thank you very much! That helps me a lot!
Cheers!
mcc
On 02/23 11:11, Salman Halim wrote:
> I actually prefer to never hit shift, so map ;
On Wed, Feb 24, 2021 at 5:06 AM wrote:
>
> Hi,
>
> if my PC is heavily compiling things and I am editing and saving
> things repeatedly if often hit :W instead of :w (that is, I am
> still pressing SHIFT when hitting w.
>
> So I tried to map :W to :w...but it does not work for me.
>
> I tried
>
>
P.S. My solution to a similar problem was a little different:
map :wa|wv
map! :wa|wv
Best regards,
Tony.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vi
I use in much the same way and just call :update. I also save
automatically when the Vim window loses focus.
--
Salman
On Wed, 24 Feb 2021, 02:33 Tony Mechelynck,
wrote:
> P.S. My solution to a similar problem was a little different:
>
> map :wa|wv
> map! :wa|wv
>
> Best re
"I use in much the same way and just call :update.* I also save
automatically when the Vim window loses focus*."
Tell me more about this.
On Wednesday, February 24, 2021 at 2:54:17 AM UTC-5 Salman Halim wrote:
> I use in much the same way and just call :update. I also save
> automatically whe
> the distinctive feeling of flat-hand-against-my-fronthead... ;)
>
Aka (Also known as:) a face-palm. :-)*
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.
On 02/24 08:59, aroc...@vex.net wrote:
>
> > the distinctive feeling of flat-hand-against-my-fronthead... ;)
> >
>
> Aka (Also known as:) a face-palm. :-)*
Ok :) another face-palm (this time correctly spoke...I am no native
speaker...sorry...
But...how can I ensure, that I am talking about my f
>>On 02/23 11:11, Salman Halim wrote:
>> I actually prefer to never hit shift, so map ; to : instead.
>>
>On 2021-02-24, tu...@posteo.de wrote:
> Hi Salman,
>
> oh! :)
>
> The first is genious
Keep in mind that ; is a useful mapping in Vim. Sure, you can rema
How do I map the escape sequence of gnu screen in a vim
keybinding or function?
Does not work for me so far.
--
- Eric Smith
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-
Hi All,
Is it possible to map to control+number or control+`?
I found these mappings didn't work.
map :hide bn
map :hide bn
I looked through :help keycodes and couldn't find reference to
backtick or tilde, but I have seen that you can map to the backtick by
itself. For example:
" Use backti
Hi,
I'm trying to use these mappings:
map j
map k
map h
map l
They usually work fine, but sometimes (I don't understand exactly
when) the c-j mapping does other things. In this moment, while I'm
editing a php it brings me to the "insert mode".
In my vimrc that is t
Am 30.03.2010 14:18, schrieb Jeenu:
Hi,
I know of local mapping and global mapping. I wonder why
there isn't a/ local mapping option for Vim. I use some
Vim windows/tabs exclusively for navigating quick fix lists. On those
windows, I keep nd globally mapped to :lnext (or :cnext
On 30/03/10 14:18, Jeenu wrote:
Hi,
I know of local mapping and global mapping. I wonder why
there isn't a/ local mapping option for Vim. I use some
Vim windows/tabs exclusively for navigating quick fix lists. On those
windows, I keep nd globally mapped to :lnext (or :cnext)
and :lpre
On Mar 30, 6:37 pm, Andy Wokula wrote:
> Do you think of
> :map
> :map
> next to
> :map
> ?
I'd write or script it as
:map :lnext
:map :lnext
when I'm at the required window
Thanks
Jeenu
--
You received this message from the "vim_use" maillist.
Do not top-post!
On Tue, 30 Mar 2010, Tony Mechelynck wrote:
> On 30/03/10 14:18, Jeenu wrote:
> > Hi,
> >
> > I know of local mapping and global mapping. I wonder why
> > there isn't a/ local mapping option for Vim. I use
> > some Vim windows/tabs exclusively for nav
> mappings local to a specific syntax region (inspired by TextMate?).
In Emacs, you have overlays (arbitrary text regions) that can store
metadata about the text within that region and have special mappings.
IIRC this also makes it easy to define popup menus specific to that
region.
I don't think
On Mar 30, 10:04 pm, Tony Mechelynck
wrote:
> See line 2245 in $VIMRUNTIME/doc/todo.txt (:help todo.txt) dated 2010
> Mar 02 as shown on its first line.
Sorry. The said doc on my Vim (Ubuntu) doesn't have anything
interesting at that line. What I've is:
2242 specific prefixes with suffixes
On Mar 30, 10:15 pm, "Benjamin R. Haskell" wrote:
> That was line 1722 on my system (Last change: 2009 Aug 09). Might be
> hard to find, and it's short. Reproduced here:
>
> In the section 'User Friendlier:'
> ...
> - Add mappings local to a window: ":map ..."?
>
> The '-' indicates 'unclass
On 30/03/10 19:14, Jeenu wrote:
On Mar 30, 10:04 pm, Tony Mechelynck
wrote:
See line 2245 in $VIMRUNTIME/doc/todo.txt (:help todo.txt) dated 2010
Mar 02 as shown on its first line.
Sorry. The said doc on my Vim (Ubuntu) doesn't have anything
interesting at that line. What I've is:
2242
Tony Mechelynck wrote:
Benjamin Haskell told you, but you should have checked the date on line
1 of the file. Apparently not everyone keeps his Vim runtimes up-to-date
as diligently as I do. ;-)
I'm not sure even *Bram* keeps his Vim runtimes as up-to-date as
diligently as you do... ;-)
-ti
On 04/02/10 15:17, Zhang Cheng wrote:
I have these lines in my vimrc:
nn :bn
nn :bp
imappumvisible()?"\":"\"
imappumvisible()?"\":"\"
Everything works fine until today. I'm using gnome-terminal, and vim72,
The c-j mapping works a
* Tony Mechelynck [100403 03:20]:
> >imappumvisible()?"\":"\"
> AFAIK, this key is not remappable. Don't know if it's intended or an
> oversight, but the help says that its operands are not considered
> for mapping.
I do. I have this line in
On 03/04/10 03:41, Florian Rehnisch wrote:
* Tony Mechelynck [100403 03:20]:
imap pumvisible()?"\":"\"
AFAIK, this key is not remappable. Don't know if it's intended or an
oversight, but the help says that its operands are not considered
for mapping.
Hello,
Is there a way or ressource which shows all key binding in vim in all
mode ? I found a picture of the keyboard layout on the net but it
doesn't have everything.
For example, I know hjkl are used for direction arrows in normal mode,
but I do not know what will happen if I hit those key
On 24/05/10 17:22, Bernhard Walle wrote:
Hi!
Is it possible to map the Super key (Windows key) in gvim? I understand
that this is quite hard / impossible in Terminal vim, but in gvim it
should be possible in theory, right?
Regards,
Bernhard
Even in gvim, it isn't sure that the key reaches V
Am 24.05.2010 17:55, schrieb Tony Mechelynck:
>
> 1):set showcmd
> 2)Start Insert mode
> 3)Hit Ctrl-V (or Ctrl-Q if you use Ctrl-V to paste into Vim)
> 4)Hit the problematic key or key combo.
>
> If after step 4, you still see ^V (or maybe ^Q) at bottom right of the
> Vim screen,
> Unfortunately it seems that gvim doesn't get the Super key.
You can make windows give gvim those keys (In windows speak they're
called Left Windows, Right Windows, and Application).
When I use vim on windows a lot I always do this; mostly as a side
effect of fixing (polite term) the damned, hat
Am 25.05.2010 05:48, schrieb John Little:
>
> gvim on windows knows about F13, F14 and F15, and I've never seen a
> Windows keyboard with them, so I use the above to map those keys to
> F13, F14 and F15, and then map those in my .vimrc; that way I can use
> xmodmap on *nix to do the same, so my .
> But F13, F14 and F15 are no modifier keys. I want to use the Windows key
> (Super key) as modifier key, e.g. Super-C to copy something into the
> X-Clipboard ("+y) like it's done on Mac OS with Command-C.
I see now. If you're not using Alt as a modifier you could use
Am 27.05.2010 15:53, schrieb John Little:
> You also might consider learning more vim-like approaches. Check our
> the 'clipboard' option.
You mean clipboard=unnamed? No, that's annoying.
Currently, I'm quite happy with
> if !has("gui_macvim")
> vnoremap "+x
> vnoremap "+y
> imap "+
On 28-May-2010, at 00:02, Bernhard Walle wrote:
>
>> if !has("gui_macvim")
>> vnoremap "+x
>> vnoremap "+y
>> imap "+gP
>> cmap +
>>
>> " Pasting blockwise and linewise selections is not possible in Insert and
>> " Visual mode without the +virtualedit feature. They are pasted as
LuKreme wrote:
>>> if !has("gui_macvim")
>>> vnoremap "+x
>>> vnoremap "+y
>>> imap "+gP
>>> cmap +
>>>
>>> " Pasting blockwise and linewise selections is not possible in
>>> Insert and " Visual mode without the +virtualedit feature.
>>> They are pasted as if they " were characterw
example, to
> or something.)
>
> However, I realize there's still a chance that key mapping conflicts
> can occur.
Nathan,
:help using-
>
> I would like to warn the user about key mapping conflicts, but I don't
> want the warning to be annoying or ever-present until
MapLeader (for example, to
> or something.)
>
> However, I realize there's still a chance that key mapping
> conflicts can occur.
>
> I would like to warn the user about key mapping conflicts, but
> I don't want the warning to be annoying or ever-present until
>
lready.
>>
>> If the user wants to use a different set of leader keys,
>> the user can change g:GrailsVimMapLeader (for example, to
>> or something.)
>>
>> However, I realize there's still a chance that key mapping
>> conflicts can occur.
>>
>> I would like
hasmapto(a:expansion)
try
execute 'nmap ' lhs a:expansion
catch /^Vim(.*):E227:/
if(&verbose != 0)
echohl WarningMsg|echomsg 'VCSCommand:
mapping ''' .
On 09/27/10 17:37, lylez wrote:
I map g to ctrl-f to make paging easier. This caused a 1-second delay
to occur when paging forward in 7.1. It went away in 7.2, but now it
is back in 7.3. I'm using the version for MS Windows. Is there any way
to get rid of the 1-second delay?
Sounds like the set
On Oct 2, 2010, at 11:35 AM, alexandre krispin wrote:
> Hello,
>
> I use latexsuite in Vim. When I want to select a block of text in
> visual mode in order to emphasize the text, I select it, and then
> press ` and em.
> Since I have a french keyboard (azerty), this is quit painful if I
> have t
On 2 oct, 20:44, "Israel Chauca F." wrote:
> On Oct 2, 2010, at 11:35 AM, alexandre krispin wrote:
>
> > Hello,
>
> > I use latexsuite in Vim. When I want to select a block of text in
> > visual mode in order to emphasize the text, I select it, and then
> > press ` and em.
> > Since I have a frenc
Ответ на сообщение «Re: Mapping ` to , in visual mode»,
присланное в 00:03:12 03 октября 2010, Воскресенье.
Отправитель: alexandre krispin:
> If you don't use the plugin latexsuite, could you tell me how you
> would map ` to , with virtual mode ?
If I am not mistaking, that
> I use
On 2 oct, 22:17, ZyX wrote:
> Ответ на сообщение «Re: Mapping ` to , in visual mode»,
> присланное в 00:03:12 03 октября 2010, Воскресенье.
> Отправитель: alexandre krispin:
>
> > If you don't use the plugin latexsuite, could you tell me how you
> > would map ` to ,
Ответ на сообщение «Re: Mapping ` to , in visual mode»,
присланное в 05:36:56 03 октября 2010, Воскресенье.
Отправитель: alexandre krispin:
I made a mistake: mapping of «`» to «:call...» was probably done by other
plugin, not by latexsuite. Latexsuite defines mappings like «`em», «`it» and
On 3 oct, 09:24, ZyX wrote:
> Ответ на сообщение «Re: Mapping ` to , in visual mode»,
> присланное в 05:36:56 03 октября 2010, Воскресенье.
> Отправитель: alexandre krispin:
>
> I made a mistake: mapping of «`» to «:call...» was probably done by other
> plugin, not by late
On Oct 4, 2010, at 12:35 AM, Bee wrote:
> How to bury a mapping?
>
> The following works, and by using upper case makes it difficult to
> type the sub-string ",HR".
>
> imap ,HR ---1-2-3-4-5-6
>
> imap ,ha --,HR
On Oct 3, 10:52 pm, "Israel Chauca F."
wrote:
> On Oct 4, 2010, at 12:35 AM, Bee wrote:
>
> > How to bury a mapping?
>
> > The following works, and by using upper case makes it difficult to
> > type the sub-string ",HR".
>
> > imap ,HR --
ing inserted with i hit 'p'.
>
> As Francisco wrote, you need to follow the 'p' with a non-keyword
> character such as a space. If you want the text to be inserted
> immediately when you type the 'p', you could use a mapping. I
> assumed that you did
Hi,
I am using vim in roxterm, and have problem for maping alt key in insert
mod.
I know roxterm will generate escape sequence for meta key, and tried the
tips in
http://vim.wikia.com/wiki/Fix_meta-keys_that_break_out_of_Insert_mode. But
no lucky.
The two snippets provided in the tips works, but
Hi, I am using gvim 7.3 on XP.
This mapping does not work : Use CTRL-] on the function name to jump
to the full explanation.
Then I must use mouse left-button.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replyi
ince it looks like you are
on a Unix-like platform):
- Make sure the problem doesn't appear when running Vim without
any plugins or your .vimrc::
vim -u NONE
- Grep for the mapping string in your ~/.vim directory, and
possibly in $VIMRUNTIME. To display $VIMRUNTIME from wit
; - Make sure the problem doesn't appear when running Vim without
> any plugins or your .vimrc::
>
> vim -u NONE
>
> - Grep for the mapping string in your ~/.vim directory, and
> possibly in $VIMRUNTIME. To display $VIMRUNTIME from within
> Vim::
>
> :echo
Reply to message «ctrl-o with a mapping»,
sent 20:53:12 04 February 2011, Friday
by AK:
> nnoremap zz zz:call LineNums()
>
> It works well, but when I hit ctrl-O zz in insert, I get
> the :call .. inserted in my text. This seems like a bug in ctrl-O?
This is not a bug: execute
On 02/04/2011 02:50 PM, ZyX wrote:
Reply to message «ctrl-o with a mapping»,
sent 20:53:12 04 February 2011, Friday
by AK:
nnoremap zz zz:call LineNums()
It works well, but when I hit ctrl-O zz in insert, I get
the :call .. inserted in my text. This seems like a bug in ctrl-O?
This is not
Reply to message «Re: ctrl-o with a mapping»,
sent 23:03:53 04 February 2011, Friday
by AK:
> Well, perhaps it's not a bug that it executes only one normal mode
> command, but why would it insert the rest of the mapping into buffer?
> Is that a useful or expected behavi
On 02/04/2011 03:12 PM, ZyX wrote:
Reply to message «Re: ctrl-o with a mapping»,
sent 23:03:53 04 February 2011, Friday
by AK:
Well, perhaps it's not a bug that it executes only one normal mode
command, but why would it insert the rest of the mapping into buffer?
Is that a useful or exp
Reply to message «Re: ctrl-o with a mapping»,
sent 23:21:50 04 February 2011, Friday
by AK:
Try typing «zz:call LineNums()» in insert mode (manually). You will
get
just the same behavior as you see when you use the mapping. There are some
differencies between how mapping and typed text are
On 02/04/2011 03:40 PM, ZyX wrote:
Reply to message «Re: ctrl-o with a mapping»,
sent 23:21:50 04 February 2011, Friday
by AK:
Try typing «zz:call LineNums()» in insert mode (manually). You will get
just the same behavior as you see when you use the mapping. There are some
differencies between
Reply to message «Re: ctrl-o with a mapping»,
sent 23:56:30 05 February 2011, Saturday
by AK:
> Well, this is a normal mode mapping (nnoremap), by definition all of its
> contents should run under normal mode or not at all.
The fact that it is normal mode mapping means that {lhs} w
On Feb 5, 4:05 am, ZyX wrote:
> Reply to message «Re: ctrl-o with a mapping»,
> sent 23:56:30 05 February 2011, Saturday
> by AK:
>
> > Well, this is a normal mode mapping (nnoremap), by definition all of its
> > contents should run under normal mode or not at all.
Reply to message «Re: ctrl-o with a mapping»,
sent 19:38:30 05 February 2011, Saturday
by Ben Fritz:
Perhaps a bug somewhere? It should be redirected to vim_dev, I think.
Original message:
> On Feb 5, 4:05 am, ZyX wrote:
> > Reply to message «Re: ctrl-o with a mapping»,
> > s
On 02/05/2011 05:05 AM, ZyX wrote:
Reply to message «Re: ctrl-o with a mapping»,
sent 23:56:30 05 February 2011, Saturday
by AK:
Well, this is a normal mode mapping (nnoremap), by definition all of its
contents should run under normal mode or not at all.
The fact that it is normal mode
Am 05.02.2011 17:38, schrieb Ben Fritz:
On Feb 5, 4:05 am, ZyX wrote:
Reply to message «Re: ctrl-o with a mapping»,
sent 23:56:30 05 February 2011, Saturday
by AK:
Well, this is a normal mode mapping (nnoremap), by definition all of
its contents should run under normal mode or not at all
On 02/05/2011 01:58 PM, Andy Wokula wrote:
Am 05.02.2011 17:38, schrieb Ben Fritz:
On Feb 5, 4:05 am, ZyX wrote:
Reply to message «Re: ctrl-o with a mapping»,
sent 23:56:30 05 February 2011, Saturday
by AK:
Well, this is a normal mode mapping (nnoremap), by definition all of
its contents
On 02/04/2011 02:50 PM, ZyX wrote:
Reply to message «ctrl-o with a mapping»,
sent 20:53:12 04 February 2011, Friday
by AK:
nnoremap zz zz:call LineNums()
I think there may be an easier work around than
wrapping in a function, like so:
nnoremap zz zz:call LineNums()
But how can I avoid
Hello
To make paging easier, I have in my .vimrc
map q ^B
map g ^F
Some times I want to use the recording feature activated by qq, so I want to
undo the mapping of q, then restore it afterwards.
I have
map #2 ^[:unmap q^M
which works
and
map #3 ^[:map q ^B^M
which does not produce any
In Vim 7.3, I added the following mappings:
map å
map æ
map ø
map «
map > »
in an effort to make vim a little more Danish-friendly. All the mappings
are accepted without complaint, but the characters displayed when the
mappings are invoked are not those mapped. I've tried both with
fenc=latin
Hi -
I'm trying to get a mapping to work irrespective of the number of
characters in the document. The following is a simplified example
which does the rather strange task of copying the current word, then
pasting it and appending a question mark:
:nmap yiw pa?
Note this is only for
Christian Brabandt a écrit:
>
> Hi Paul!
>
> On Di, 10 Jan 2012, Paul Isambert wrote:
>
> > Hello there,
> >
> > Given the mapping:
> >
> > map fXa
> >
> > where X stands for any character, if X appears on the line,
> > go
Hi,
I'm trying to add some shortcuts in the command-line mode, mainly I want
to jump backward by word
The closer I was able to do was
:cnoremap which jump backwards by WORD
or use which delete backward by word
Is there anyway to do something like
:cnoremap
Thank you,
Ben.
--
You rec
On 15/02/12 20:50, sinbad wrote:
how can i map key to work as
i tried the following mapping
nmap
it doesn't seem to be working, is it even possible ?
basically i wanna copy text from one screen session to
other session inside a putty, without using shift-insert
to paste. in putty,
way would probably be instead of ...i
* Use nnoremap and xnoremap instead of just "map" which gets normal,
operator-pending, and visual modes. You probably want to use a in the
visual mode mapping to remove the range, and you probably don't want to do
it at all in operator-pen
On Sat, 3 Mar 2012 10:26:09 -0800 (PST)
Ben Fritz wrote:
>
>
>On Saturday, March 3, 2012 12:07:18 PM UTC-6, Tarlika Elisabeth
>Schmitz wrote:
>>
>> If I want to map a function onto the same key in any mode, is this
>> the best way of doing it? :
>>
>> map :nohlsearch
>> imap :nohlsearchi
>>
>
Hi,
Is it possible to use some special keys from a ThinkPad keyboard for mappings?
What I am looking for is to map the back and forward keys (above the and
keys) to :tabnext and :tabprevious.
Thanks,
Razvan
--
You received this message from the "vim_use" maillist.
Do not top-post! Type you
On Friday, March 30, 2012 12:40:25 AM UTC-5, Jeri Raye wrote:
> Hi,
>
> I have the following mappings:
>
> inoremap _
> inoremap -
>
> When I do I get - (the dash char), what is what I expected
> When I do I get | (the pipe char)
> I would except _ (the underscore char)
>
> When I type :v
Thanks Ben, that does the trick
Ben Fritz wrote on 30-3-2012 17:06:
On Friday, March 30, 2012 12:40:25 AM UTC-5, Jeri Raye wrote:
Hi,
I have the following mappings:
inoremap _
inoremap -
When I do I get - (the dash char), what is what I expected
When I do I get | (the pipe char)
I would
On Tue, May 8, 2012 08:45, sinbad wrote:
> what's wrong with this mapping
>
> nmap
I want to use SuperTab continued with UtiSnips.
So first thing Iwant to do is to not have SuperTab mapping any key at all.
Is that possible?
There are several global variables to change mappings like:
g:SuperTabMappingForward
g:SuperTabMappingBackward
But I havent seen anything about avoid keys
am
having some trouble mapping C-c (BREAK ?? ) is there any workaround for
this ?
--
Thanks & Regards,
R Ashwin Sathya
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http
for me to know what mappings have 'PluginFunction'
as the {rhs} ? So I can display the {lhs} in the "help" window for the
user ?
Something like hasmapto(), but I would also like to know what the
mapping is.
Thank you,
Timothy Madden
--
You received this message from the
On 22 Dec 2012 15:52, "David Fishburn" wrote:
>
> Not quite sure how to set this up.
>
> When I create a menu item it usually calls a command
> vnoremenu
-mode buffer-local
mapping for CTRL-P.
The problem is that when I press CTRL-P in the Tagbar window,
Vim assumes that it might be the prefix for the global mappings
for CtrlP, so it waits for 'timeoutlen' before deciding to
invoke the single-key buffer-local mapping for Tagbar. Becau
El martes, 5 de febrero de 2013 15:36:10 UTC+1, Juanmi escribió:
> Hey I have this mapping for easy navigation on windows
> map h
>
301 - 400 of 786 matches
Mail list logo