mirror of
https://github.com/wassname/nvatom.git
synced 2026-07-18 12:30:59 +08:00
Add a default notebook
Also change the default toggle shortcut to alt-cmd-l. The original Notational Velocity uses cmd-L, but it conflicts with Atom's default shortcut.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
## 0.1.0 - First Release
|
||||
* Every feature added
|
||||
* Every bug fixed
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2014 Seong Jae Lee
|
||||
Copyright (c) 2014-2015 Seongjae Lee
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Notational Velocity for Atom
|
||||
|
||||
[](https://travis-ci.org/seongjaelee/notational-velocity)
|
||||
![Build Status][3]
|
||||
|
||||
[Notational Velocity][1] is an application that stores and retrieves notes. This Atom package implements the some key features from this amazing app:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
- Mouseless interaction
|
||||
- Incremental Search
|
||||
|
||||
Integrated with Atom, we have many advantages:
|
||||
Integrated with Atom, we have several advantages:
|
||||
|
||||
- __Use Atom's Features__ - Such as Syntax Highlighting and Tree View.
|
||||
- __Use Other Packages__ - Such as Markdown Preview and Minimap.
|
||||
@@ -18,15 +18,15 @@ We do believe Notational Velocity is the precursor of the famous note-taking app
|
||||
|
||||
- __Open Source__
|
||||
- __No Rich Text__ - Instead, we strongly recommend to use [Markdown][2].
|
||||
- __No Cloud Sync__ - You pick whichever syncing method you prefer.
|
||||
- __Sync Whereever You Want__ - You can save notes locally, in Dropbox, or in Google Drive.
|
||||
|
||||
## Settings
|
||||
|
||||
- `Directory`: The directory of archiving markdown files.
|
||||
- `Note Directory`: The directory to archive notes.
|
||||
|
||||
## Key Bindings
|
||||
|
||||
- `ctrl-alt-o`: Toggles the search view.
|
||||
- `alt-cmd-l`: Toggles the search view.
|
||||
|
||||
## References
|
||||
|
||||
@@ -39,3 +39,4 @@ We do believe Notational Velocity is the precursor of the famous note-taking app
|
||||
|
||||
[1]: http://notational.net/
|
||||
[2]: http://daringfireball.net/projects/markdown/syntax
|
||||
[3]: https://travis-ci.org/seongjaelee/notational-velocity.svg?branch=master)](https://travis-ci.org/seongjaelee/notational-velocity
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
# For more detailed documentation see
|
||||
# https://atom.io/docs/latest/advanced/keymaps
|
||||
'atom-workspace':
|
||||
'ctrl-alt-o': 'notational-velocity:toggle'
|
||||
'alt-cmd-l': 'notational-velocity:toggle'
|
||||
|
||||
@@ -10,6 +10,9 @@ class NotationalVelocityView extends SelectListView
|
||||
super
|
||||
@addClass('notational-velocity from-top overlay')
|
||||
@rootDirectory = atom.config.get('notational-velocity.directory')
|
||||
if !fs.existsSync(@rootDirectory)
|
||||
throw new Error("The given directory #{@rootDirectory} does not exist. "
|
||||
+ "Set the note directory to the existing one from Settings.")
|
||||
@noteDirectory = new NoteDirectory(@rootDirectory, null, () => @updateNotes())
|
||||
@updateNotes()
|
||||
@prevFilterQuery = ''
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
module.exports =
|
||||
config:
|
||||
directory:
|
||||
title: 'Note Directory'
|
||||
description: 'The directory to archive notes'
|
||||
type: 'string'
|
||||
default: 'testdata'
|
||||
default: process.env.ATOM_HOME + '/packages/notational-velocity/notebook'
|
||||
|
||||
notationalVelocityView: null
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Begin typing the title in the search panel. Press return to add a new note with the title. While typed, Notational Velocity searches for notes whose body or title contain your query. Note that naming a note and searching always occur simultaneously.
|
||||
|
||||
When the note you want to find is in the list, you can select notes by using the arrow keys. When you press enter, the selected note will appear on the editor. If your query is the title of the note, Notational Velocity would have selected the note automatically.
|
||||
|
||||
Notational Velocity constantly writes your changes to disk as you create and edit notes, so no need to "Save" anything manually.
|
||||
@@ -0,0 +1,14 @@
|
||||
Welcome to Notational Velocity!
|
||||
|
||||
This is the body of a note. Your notes can be as long or as short as you want.
|
||||
|
||||
The notes are saved as a [Markdown][1] file, so you can freely use Markdown syntax to __embolden__ or _italicize_ them. Atom's [GFM][2] syntax highlight will automatically beautify these notes.
|
||||
|
||||
These notes were included to give you a sense what Notational Velocity is. You may delete them at any time.
|
||||
|
||||
For more information, please refer [Notational Velocity][3] and [nvALT][4].
|
||||
|
||||
[1]: http://daringfireball.net/projects/markdown/
|
||||
[2]: https://help.github.com/articles/github-flavored-markdown/
|
||||
[3]: http://notational.net/
|
||||
[4]: http://brettterpstra.com/projects/nvalt/
|
||||
+2
-2
@@ -2,11 +2,11 @@
|
||||
"name": "notational-velocity",
|
||||
"main": "./lib/notational-velocity",
|
||||
"version": "0.0.0",
|
||||
"description": "A short description of your package",
|
||||
"description": "Notational Velocity for Atom",
|
||||
"activationCommands": {
|
||||
"atom-workspace": "notational-velocity:toggle"
|
||||
},
|
||||
"repository": "https://github.com/atom/notational-velocity",
|
||||
"repository": "https://github.com/seongjaelee/notational-velocity",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"atom": ">0.50.0"
|
||||
|
||||
Reference in New Issue
Block a user