Do Vim Snippets work in Obsidian?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/ObsidianMD

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • obsidian-vimrc-support

    A plugin for the Obsidian.md note-taking software

    Obsidian's Vim functionality is just using whatever is available to the codemirror editor, it doesn't actually have all of the features of Vim. It's possible to get a plugin which allows for loading a .vimrc but again, the supported functionality is limited (i.e. there are lots of vim settings and features that do not work despite being valid in a regular .vimrc). It's not hard to find an example of this either; in actual Vim the movement dj will delete the current line and also the line below it. In Obsidian with Vim features enabled, it will only delete the current line. This is a simple example that has nothing to do with getting snippets working, but it is indicative that the actual Vim text editor and the Vim features available to Obsidian are not the same.

  • vim-snippets

    vim-snipmate default snippets (Previously snipmate-snippets)

    Skimming over the blog post you linked, it appears that the author uses Vim plugins to get some of the snippets working, which I'm near-certain is impossible with the Vim features available to Obsidian. I don't think installing Vim plugins with vim-plug (as used by both myself and the author of the linked blog) is possible in Obsidian, for example. Without some way to manage installing Vim plugins, you won't be able to get plugins which enable vim snippets as used in the blog post.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts