question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

adding an option to suppress ma, mi, mA, mI in visual mode

See original GitHub issue

Hi, I’d switch-off ma, mi, mA, mI in visual mode so when i press m in visual mode there will produce no delay. Any suggestion is appreciated.

In the readme, it says both are optional so i trust there is way to turn it off. thanks!

(Optional) Visual line mode (Optional) Visual block mode

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
echayacommented, May 8, 2021

now i have to manually comment out the following from vscode-insert.vim

xnoremap ma <Cmd>call <SID>vscodePrepareMultipleCursors(1, 1)<CR>
xnoremap mi <Cmd>call <SID>vscodePrepareMultipleCursors(0, 1)<CR>
xnoremap mA <Cmd>call <SID>vscodePrepareMultipleCursors(1, 0)<CR>
xnoremap mI <Cmd>call <SID>vscodePrepareMultipleCursors(0, 0)<CR>
0reactions
echayacommented, Jun 2, 2021

easiest option imo is to have something like vscode_multi_cursor_on variable and can be switched off by defining it in init.vim so to make it ‘optional’.

but i’ll keep commenting those lines out for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable visual mode on mouse select for vim - Medium
This made copy+pasting horrible, but the solution is super simple. Create the file ~/.vimrc; Insert in it set mouse-=a. In one line: echo...
Read more >
Disable vim automatic visual mode on mouse select · GitHub
Disable vim automatic visual mode on mouse select. issue: :set mouse-=a. add to ~/.vimrc: set mouse-=a. my ~/.vimrc for preserving global defaults and...
Read more >
VSCode Neovim - Visual Studio Marketplace
For visual line mode, mi will start insert mode on each selected line on the first non whitespace character and ma will on...
Read more >
Import photos from a camera or phone using Photos on Mac
If you want to delete photos from the camera after importing them, select the “Delete items” checkbox. This option does not appear for...
Read more >
Vim: How to insert in visual block mode? - Stack Overflow
You can visual block select before "W" and hit Shift + i - Type "Cool" - Hit ESC and then delete "World" by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found