We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c4754 commit 0a48aebCopy full SHA for 0a48aeb
lib/vim-state.js
@@ -354,7 +354,7 @@ module.exports = class VimState {
354
// What's this?
355
// clear all selections and final cursor position becomes head of last selection (optionally first selection)
356
// editor.clearSelections() does not respect last selection's head, since it merge all selections before clearing.
357
- clearSelections ({head = 'last'} = {}) {
+ clearSelections () {
358
const position = (this.getConfig('clearMultipleCursorsToFirstPosition'))
359
? this.editor.getCursorBufferPositions()[0]
360
: this.editor.getCursorBufferPosition()
0 commit comments