Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.
/ nvsimple.vim Public archive

A poor man's Notational Velocity

License

Notifications You must be signed in to change notification settings

scrosland/nvsimple.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

alok/notational-fzf-vim is a better version of a Notational Velocity or nvALT equivalent for vim.


nvsimple.vim

A poor man's Notational Velocity.

About

nvSimple is a poor man's imitation of Notational Velocity or nvALT, as a pure-vimscript plugin for vim.

nvSimple is a way to maintain a flat directory of plain text notes with easy full text search, and quick access.

nvSimple is based on an idea by Ellen Gummesson.

nvSimple makes use of vimgrep and the quickfix list, and so is immediately familiar to any vim user.

Installing

It is recommended to install nvSimple via Pathogen, Vundle or one of the other modern package managers for vim.

Add this to your .vimrc:

" load nvSimple
Bundle 'scrosland/nvsimple.vim'

" configure the directory in which notes are stored
let l:gnvsimple_notes_directory = '~/notes'

Using

The interface to nvSimple is two commands, :Nv and :Nvopen.

:Nv [pattern]

Search or browse for notes.

If pattern is not supplied, the command prompts for a vimgrep-style search pattern. Entering an empty search pattern will open a directory browser in your notes directory, as configured with g:nvsimple_notes_directory.

Searches all notes for pattern using vimgrep, and then opens the results in the quickfix window via the copen command. The search will include all notes files whether they have the default extension or not.

:Nvopen
:Nvopen a-new-note
:Nvopen a-new-todo.taskpaper

Opens an existing note or creates a new note.

If a name is not supplied, the command prompts for the name.

If the name does not include an extension (e.g. .txt) the default file extension will be appended from the g:nvsimple_default_extension option.

Further information

See the documentation for full details.

Releases

No releases published

Packages

No packages published