Giter VIP home page Giter VIP logo

settle.vim's Introduction

settle.vim

The (n)vim wrapper for settle.

Features:

  • title and tag autocompletion, triggered by <C-x><C-u>
  • automatic updating of Zettel which you edit with vim
  • following links under cursor and even backlinks
  • Zettel creation, be it in command mode, be it interactively, or be it from the wikilink under cursor
  • opening FZF on the search results of settle query
  • finding notes with the tag under cursor
  • opening a graph of the entire Zettelkasten with xdot
  • four handy textobjects: il for "inside wikilink", al for "around wikilink", it for "inside tag" (root tag without subtags) and at for "around tag" (entire tag, with all subtags)

Getting started

Requirements

  • Vim or NeoVim. I've only used it with NVIM v0.6.0 and afterwards, but it should work with earlier versions as well without any problem.
  • fzf.vim (plus fzf)
  • settle
  • optional: xdot, if you're going to use graphs

Installation

Using Pathogen

cd ~/.vim
mkdir bundle
cd bundle
git clone https://github.com/xylous/settle.vim.git

Using Vim-Plug

Add the following line to your vimrc:

Plug 'xylous/settle.vim'

Then source your vimrc and run :PlugInstall

Using Vundle

Add the following line to your vimrc:

Plugin 'xylous/settle.vim'

And then run vim +PluginInstall +qall in a shell.

Usage

Check the vim-help document

Ideally, you should make mappings for the commands that this plugin exports, as none are made by default.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

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.