Mode visual bloc editing
Good morning,
I'm trying to use mode visual bloc, i put the shortcut on other keyboard shortcut but it's doesn't work.
Visual bloc mode is used, but i can't use the shortcut I{number} - ESC for multiple edit lines.
Thank's for help
Hello,
I'm not sure to fully understand your question, have you changed the visual bloc keyboard shortcut ?
To edit multiple lines, by default, you can press Ctrl+v to enter visual bloc, use arrow keys or hjkl to move the cursors (pressing 10j will select 10 lines bellow), press I (capital i) to enter insert mode, do your edit and finally press ESC to apply to all lines.
Does this help ?
Hello,
I made 'V' shift+v because i edit it.
But after that, what you say doesn't work, here my part of minivim.rc.
let g:currentmode={
\ 'n' : 'Normal',
\ 'no' : 'N·Operator Pending',
\ 'v' : 'Visual',
\ '' : 'V·Line',
\ 'V' : 'V·Block',
\ 's' : 'Select',
\ 'S' : 'S·Line',
\ '^S' : 'S·Block',
\ 'i' : 'Insert',
\ 'R' : 'Replace',
\ 'Rv' : 'VReplace',
\ 'c' : 'Command',
\ 'cv' : 'Vim Ex',
\ 'ce' : 'Ex',
\ 'r' : 'Prompt',
\ 'rm' : 'More',
\ 'r?' : 'Confirm',
\ '!' : 'Shell',
\ 't' : 'Terminal',
\}
Hi,
If you only edited that part it shouldn't have changed anything related to key bindings. What you have done here is destroying the vim status line, those "modes" should not be edited. Are you trying to remap entering V-VBlock Shift+V ?
Let's try other leads :
- Have you setup MiniVim as instructed in the README ? Copy-pasting the file does not work.
- What is your OS, terminal ?