2
votes
1answer
30 views

exchange keys , and ; in vim possible?

Id like to exchange , and ; for moving to next and previous character-search, because that fits better the lowercase is next UPPERCASE is previous schema on a German Keyboard. But I don't know how. ...
2
votes
0answers
107 views

Vim noremap still causes old mappings to be active

This is my .vimrc set mouse=a set ttymouse=xterm2 set number set smartindent set tabstop=4 set shiftwidth=4 set expandtab inoremap { {}<Left> inoremap {<CR> {<CR>}<Esc>O ...
3
votes
2answers
210 views

Using VIM, how do I remap directional keys from right hand to left hand?

This is the best solution I've seen so far: " Map Right Directionals to Left Commands noremap s h noremap d k noremap f j noremap g l " Map Left Commands to Right Directionals noremap h s noremap k ...
1
vote
3answers
885 views

How to delete backwards word and leading whitespace in vim?

I'm trying to remap option-backspace behave in vim in Mac OS X's Terminal app similarly to how it would behave in other Mac applications. It should perform a backwards delete word, also deleting any ...
0
votes
2answers
213 views

How to map command in vim that maintains mode when invoked?

I'm running vim on a Linux VM that I'm ssh'd into via Mac OS X's Terminal app, and I want to configure it to do useful things with my arrow keys (among others). For example, I want option-left to ...
5
votes
2answers
690 views

Remapping <Esc> in MacVim angers Vim itself

I have the following line in my .vimrc: nnoremap <Esc> :noh<Cr> This works fine in MacVim. Whenever I open Vim itself, its "command bar" starts off with: .2c For what it's worth, ...
8
votes
5answers
4k views

How can I remap my Caps-Lock key to Escape (for Vim) in Snow Leopard?

Obviously, in Linux I can use xmodmap. On Leopard, I used an InputManager called PCKeyboardHack. But InputManagers are now broken. How can I preserve my sanity and keep on using Caps Lock to Escape ...