Using SHIFT+Arrows to select text in vim / MacVim -


One of the best features in MacVM is that it is possible to use normal OS commands to copy and paste text (I.e. Command + C and Command + V)

This is especially good in situations when you have worked in another editor in a minute and your brain is not ready yet, write the real thing.

However, there is one thing that needs to be thought of to my mind a little bit: this is the way to select the text. In non-Vi editors, I will use Shift + Arrow for it and it is trying to not work in MacVM. But on the other hand, I do not see that Shift + Arrow is being used for something else. Is it possible to remix keys to make it possible?

(Ideally, the text will still be in entry mode even after it is selected; it will leave some extra key strokes.)

manual:

Text editor on Mac OS X lets the user capture the downward change to expand selection + movement Key as well, by selecting the current selection with that character, pressing the printable key McWim can emulate this kind of behavior (by providing key bindings and setting 'keymodel' and 'select mode' to non-basic values) though it is not enabled by default Macvim is less like text admit and Vim To behave, add the following lines to your "~ / .vimrc" (not .gvimrc) file:

  if there is ("gui_macvim") MacVM_high_shift_memment = 1 endiff  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -