Giter VIP home page Giter VIP logo

neovim-grimoire's Introduction

Neovim Grimoire

WIP

This document and the plugin itself are both works in progress.

NOTE: Making new files causes a bug.

NOTE: You'll have to dig into the config options at the top of the files to make changes for your system.

NOTE: This uses Meiliserach which you'll have to install and run and populate. Direcitons on that are coming later.

Overview

A Grimoire is a book of magic and spells.

This is mine.

You could call it a developer's note book or just a notes app, but that belittles its power. Instant access to notes and snippets is magic.

It takes some getting used to. Seven or eight tries in my case, but once you get used to it (and put more content into it) it feels like typing a simple incantation and what you're looking for simply manifests in front of you.

I'm building this for myself, but figured I'd open source it in case anyone else wants to play with it. (Over time, I'm looking to make it more adaptive, but it's usable now with a little editing.)

  • For the pedantic, no it's not instant by the strict definition, it just feels that way once you get used to the interaction.

Installation

  • I'm using meilisearch for the search engine behind this. So it needs to be installed.

  • Right now, meilisearch needs it's initial index to be setup outside the Grimoire. The values that need to go into it are id, name (which is the filename), and overview which is the contents itself.

  • I haven't figured out how to install this with Plug or Packer yet. That'll happen in a future release.

  • For now, I'm just copying the files into:

      ~/.config/nvim/lua/grimoire.lua 
      ~/.config/nvim/plugin/grimoire.vim
    
  • There's a bunch of hardcoded hotkeys under local config.keys = {} in the ~/.config/nvim/lua/grimoire.lua file. These will be moved into a config file in the future.

Usage

TKTKTKTK

Shoutouts

I got a huge amount of help from chat including:

Other things I use

  • I think this thing is stand-alone, but I need to verify that
  • I'm using vim-markdown for syntax highlighting

neovim-grimoire's People

Contributors

alanwsmith avatar

Stargazers

Kyle L. Davis avatar pypeaday avatar Jordan Arentsen avatar Waylon Walker avatar Alexander G. Morano avatar spigot avatar  avatar

Watchers

spigot avatar  avatar  avatar

neovim-grimoire's Issues

Rust?

Sorry, but lua? why didn't you write it in Rust?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.