How to configure vim commands to windows style?

Up vote 0 down vote favorite share g+ share fb share tw.

My job involves working on Windows, *ix and with variety of IDE's like Eclipse, Visual Studio. Sometimes I really don't want to open Eclipse for little editing so I would prefer simple text editor like Vim, but the keys for the commands are horrible to me, I would like to setup Vim command keys to simple and modern style. Can someone guide me how to configure Vim commands to simple keys like Ctrl+C or Ctrl+V for copy paste (through clipboard) or Shift+?

, Shift+? For selecting text. Vim keyboard-shortcuts link|improve this question edited Jun 12 '11 at 8:32ib.7,67711121 asked Jun 11 '11 at 16:21Mahes513513 56% accept rate.

I do believe you're thinking of emacs ;) – Chris Jun 11 '11 at 16:22 5 Try taking the time to learn some of the most common Vim commands. While the learning curve starts off a bit steep, it is a very powerful and nice to use editor once you've learned the basics. – hammar Jun 11 '11 at 16:49 @hammer, I don't think its a good idea to learn Esc+V + rightArrow(s) then 'd' and 'p' to select text than simple Shift + RightArrow and Ctrl_c and Ctrl_v.

– Mahes Jun 11 '11 at 23:57 1 That's not really the commands you would use in Vim. For example, instead of using visual mode and right arrows you'd usually use a motion command, for example d% to cut a function call, or da" to cut a string literal. – hammar Jun 11 '11 at 11:24.

And the over all help on how to do key mapping here: How to make a keymap.

It's not the answer you're looking for, but I'm with hammar. For example the Mac version of vim has the standard Mac-style copy/paste shortcut keys "baked in" yet I use the default vim keybindings now, since, like yourself, I hop about Linux/Windows/Mac, and having the same vim keyboard shortcuts. Conversely, you'll find managing your personalized, if unorthodox, key bindings more onerous than simply "going vim.

" I presume you've "worked" the vimtutor?

1 I also use Vim/gvim on Mac, Windows and Linux. It's awesome to use the same configuration on all platforms with the same fonts and schemes and plugins. It's so powerful and so much more convenient using vim's normal keypresses instead of trying to make it fit Windows.

– the Tin Man Jun 12 '11 at 8:34.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions