Skip to content

Commit

Permalink
Fix a bug that doesn't put from clipboard when Obsidian just starts
Browse files Browse the repository at this point in the history
  • Loading branch information
tadashi-aikawa committed Jul 9, 2022
1 parent 0e90eda commit 8c95b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class VimrcPlugin extends Plugin {
private editorMode: 'cm5' | 'cm6' = null;
private initialized = false;

private lastYankBuffer = new Array<string>(0);
private lastYankBuffer: string[] = [""];
private lastSystemClipboard = "";
private yankToSystemClipboard: boolean = false;
private currentKeyChord: any = [];
Expand Down

0 comments on commit 8c95b4c

Please sign in to comment.