Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a snippet for static Vim caret #48

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions code/css-snippets/vim-static-caret.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* get more snippets at https://github.com/kmaasrud/awesome-obsidian */
/* author: https://forum.obsidian.md/u/nenad/summary */
/* Changes the Vim caret from a blinking one to a static one in the editor to reflect a more realistic Vim experience. */

.cm-fat-cursor .CodeMirror-cursor {
visibility: visible !important;
}

.cm-animate-fat-cursor {
animation: none;
}

div.CodeMirror-cursors, div.CodeMirror-dragcursors, div.CodeMirror-secondarycursor {
visibility: visible !important;
}
Binary file added media/css-snippets/static-vim-caret-1.webm
Binary file not shown.