All Projects → rexagod → samwise.nvim

rexagod / samwise.nvim

Licence: BSD-2-Clause license
samwise is a line-wise note-taking plugin for neovim.

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to samwise.nvim

zk-nvim
Neovim extension for zk
Stars: ✭ 207 (+590%)
Mutual labels:  notes
neuron.nvim
Make neovim the best note taking application
Stars: ✭ 340 (+1033.33%)
Mutual labels:  notes
Solution-to-Algebra-Chapter-0
Solution to Algebra, Chapter 0
Stars: ✭ 39 (+30%)
Mutual labels:  notes
LibraryNotes
Library Notes is an open source application to help you track and remember what you read.
Stars: ✭ 28 (-6.67%)
Mutual labels:  notes
Notes
😊开源App项目,「记」——摒除杂质,专注创作
Stars: ✭ 30 (+0%)
Mutual labels:  notes
devlog
Command-line tool for tracking your day-to-day software development work
Stars: ✭ 16 (-46.67%)
Mutual labels:  notes
knowledge
Everything I know. My knowledge wiki. My notes (mostly for fast.ai). Document everything. Brain dump.
Stars: ✭ 118 (+293.33%)
Mutual labels:  notes
note-keeper
📓 A tiny bash tool for taking and organizing notes.
Stars: ✭ 58 (+93.33%)
Mutual labels:  notes
ece-notes
Notes from courses in Electrical & Computer Engineering in AUTh (not officially affiliated with the university). All notes are written in Greek using LaTeX.
Stars: ✭ 47 (+56.67%)
Mutual labels:  notes
QuickNotes
一款简单、轻量、高效的Android记事、记账应用
Stars: ✭ 19 (-36.67%)
Mutual labels:  notes
blog
前端但不只是前端,分享以及被分享,学习与反哺,同时欢迎大家给我提供优质内容,小烜同学欢迎大家一起交流。
Stars: ✭ 32 (+6.67%)
Mutual labels:  notes
Quickeys
A mac menu bar app that provides note taking functionality though a quick dropdown menu.
Stars: ✭ 54 (+80%)
Mutual labels:  notes
scout
CLI interface to Tomboy and Gnote
Stars: ✭ 23 (-23.33%)
Mutual labels:  notes
keep-desktop
Google Keep Dark: Desktop application for Windows, Mac and Linux with Dark Theme.
Stars: ✭ 42 (+40%)
Mutual labels:  notes
learning-computer-science
Learning data structures, algorithms, machine learning and various computer science constructs by programming practice from resources around the web.
Stars: ✭ 28 (-6.67%)
Mutual labels:  notes
anki-markdown-notes
Anki add-on to extract notes from markdown files and import them to Anki
Stars: ✭ 34 (+13.33%)
Mutual labels:  notes
octo
Build your knowledge base
Stars: ✭ 252 (+740%)
Mutual labels:  notes
College-Notes
Contribute your handwritten PDF notes and help other students ✌ #DecodersCommunity 🖤
Stars: ✭ 30 (+0%)
Mutual labels:  notes
aspdotnet-core-fundamentals
Persian notes for ASP.NET Core Fundamentals course (Pluralsight)
Stars: ✭ 25 (-16.67%)
Mutual labels:  notes
NotesReview
📝 Interface for searching and resolving OpenStreetMap notes
Stars: ✭ 34 (+13.33%)
Mutual labels:  notes

samwise.nvim

Introduction

samwise.mp4

samwise is a line-wise note-taking plugin for neovim that aims to provide a better note-taking enviroment by employing vim's concepts. It allows you to take notes in a different buffer (each samwise buffer is unique to its parent buffer) which is created automatically based on the current buffer's path and the current buffer's name.

If the current line in the buffer does not have a corresponding <EOL> character as the only content in the samwise buffer, the user is dropped to the corresponding line, and the samwise buffer scrolls sychronously with its parent buffer and vice versa. Users can make changes, or add new text entries for any line of the parent buffer in this manner and even commit those besides the parent buffer, as a "comment file" so as to not populate the parent buffer with extraneous comments and keep the codebase cleaner in general. This is just one of the many use cases where samwise can help.

It also allows highlighting hunks which correspond to the samwise buffer entries, navigating between them, and seeing those entries either in a floating window, or by echoing them.

To make it explicity clear, from this point on, a "samwise buffer" will mean the autogenerated buffer that stores all the line-wise notes corresponding to its companion buffer (or how I call it, it's Frodo).

Configuration

Globals

  • g:samwise_buffer_opts: Options for opening the samwise buffers. Defaults to: "bo " . winheight(0)/10 . "sp".
  • g:samwise_dir: Directory that stores all samwise buffers.
  • g:samwise_echo: Set to a truthy value to echo samwise buffers' corresponding contents.
  • g:samwise_float: Set to a truthy value to show samwise buffers' corresponding contents in a floating window.
  • g:samwise_floating_opts: Options for opening the samwise floating windows. Defaults to:
" Refer `nvim_open_win` for more details.
let g:samwise_floating_opts = {
                \ ...
                \ 'relative': 'cursor',
                \ 'focusable': v:false,
                \ 'style': 'minimal',
                \ 'border': 'shadow',
                \ 'noautocmd': v:true
                \ }
  • g:samwise_format: Extension that the samwise buffers should default to.

Commands

  • :SamwiseMoveBack: Move to the previous samwise hunk; suggested binding, [S.
  • :SamwiseMoveFwd: Move to the next samwise hunk; suggested binding, ]S.
  • :SamwiseToggleBuffer: Open or close the samwise buffer to add or review notes.
  • :SamwiseToggleHighlight: Highlight all lines in the current buffer that have corresponding non-empty lines in the samwise buffer.

License

BSD-2-Clause

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].