Skip to content

A simple plugin to open your notes easily within a running neovim instance

License

Notifications You must be signed in to change notification settings

hisbaan/jot.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jot.nvim

Jot.nvim is a neovim plugin to quickly access your notes from anywhere you are.

jot-demo

Installation

Using packer.nvim

use { 'hisbaan/jot.nvim', requires = 'nvim-lua/plenary.nvim' }

Setup

Put the following in your init.lua to setup. The options displayed are the defaults and can be changed.

-- init.lua
require('jot').setup({
    search_dir = "~/Documents/",
    search_depth = 5,
    hide_search_dir = false,
    post_open_hook = function() end,
})

To call the plugin run the Jot command. Alternatively, you can use require('jot').search().

To set this to a keybinding, you can use nvim_set_keymap

-- init.lua
vim.api.nvim_set_keymap('n', '<leader>j', '<Cmd>Jot<CR>', { noremap = true, silent = true })

About

A simple plugin to open your notes easily within a running neovim instance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages