Giter Club home page Giter Club logo

note-me-vim's Introduction

Note-Me Vim Plugin

A plugin made for (Neo)Vim to help users use the note-me app.

Install

There are various ways to install Vim plugins, but the way I reccomend is using Vim Plug.

To install this add this to your rc file:

Plug 'Force4760/note-me-vim'

How to use

This plugin offers a few functions:

NoteCopySection

It copies the first hour section (Started with ### hour:minutes) bellow the current line

:NoteCopySection

NoteFormatNote

It formats the note, deleting exceding blank lines

:NoteFormatNote

NoteToggleCB

This command is intended to help users with checklists and To-Do's when this command is used:

  • If the line has no []:

    • -[] will be added to the beggining of the line
  • If the line has [] (not checked):

    • The checkbox will be switched to [x]
  • If the line has [x] (checked):

    • The checkbox will be switched to []
:NoteToggleCB

Configure

Change the characters considered as checked

default = ['x', 'X']

to change it add this to your rc file:

let g:notes_cb_checked = ['x', 'X']

Configure KeyBoard Shortcuts

The plugin does not set default keyboard shortcuts.

For you to use them you can add a version of this lines to you rc file:

nnoremap <C-f> :NoteFormatNote<CR>
nnoremap <C-h> :NoteCopySelection<CR>
nnoremap <C-t> :NoteToggleCB<CR>

note-me-vim's People

Contributors

tttardigrado avatar

Watchers

 avatar

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.