GithubHelp home page GithubHelp logo

rnkn / binder Goto Github PK

View Code? Open in Web Editor NEW
143.0 143.0 9.0 1.15 MB

Emacs global minor mode facilitating multi-file writing projects

License: GNU General Public License v3.0

Emacs Lisp 98.13% Makefile 1.87%
emacs project-management writing

binder's People

Contributors

nobiot avatar rnkn avatar syohex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binder's Issues

Sidebar narrowing and widening by tags

After narrowing to a tag in the sidebar (binder-sidebar-narrow-by-tag) or excluding (binder-sidebar-exclude-by-tag), I couldn't see a way to cancel the narrowing and show all files in the active binder project... looking in binder-siderbar-mode-map I tried to "g" binder-sidebar-refresh which worked, but it's not obvious... maybe would be good to alias it to something recognizable?

Keymap problem setting up custom keybindings

  • M-: emacs-version: 26.3
  • M-: (lm-version "binder.el"): 0.4.2

I don't know why but while following the tutorial, I noticed that a lot of keybindings didn't worked. After closing and opening Emacs some more times all keybindings stopped working.

Considering that they stopped working, and also because I had some problems with the keys sequence of some default keybindings, I've tried to set my custom keybindings:

(global-set-key (kbd "<C-kp-subtract>") 'binder-previous)
(global-set-key (kbd "<C-kp-add>") 'binder-next)
(global-set-key (kbd "<C-kp-divide>") 'binder-reveal-in-sidebar)
(global-set-key (kbd "<C-kp-multiply>") 'binder-toggle-sidebar)

The problem is that I'm always receiving the message "set-transient-map PCH: (wrong-type-argument keymapp nil)", this only happens with custom keybindings set up as global-keys, the custom keybindings stills works fine but it prevents the usage of some other things, like to rename a note since it uses the echo area/minibuffer to rename and the message appears every time a key is pressed.

If I try to remap for the binder-mode only, I receive "Wrong argument type: keymap nil" and the keybinding didn't work at all.

(global-set-key (kbd "<C-kp-divide>") #'binder-reveal-in-sidebar)
(eval-after-load 'binder
  '(define-key binder-mode (kbd "<C-kp-subtract>") #'binder-previous))
(eval-after-load 'binder
  '(define-key binder-mode (kbd "<C-kp-add>") #'binder-next))
(eval-after-load 'binder
  '(define-key binder-mode (kbd "<C-kp-multiply>") #'binder-toggle-sidebar))
(eval-after-load 'binder
  '(define-key binder-mode (kbd "C-\\") #'binder-notes-expand-window))

Maybe a quick start guide on how to use binder in readme

Having read through the readme I'm still not sure how to use Binder. I enabled binder-mode and tried binder-toggle-sidebar and binder-add-file, both result in an error. Maybe you can demonstrate (in words) a typical workflow from scratch?

Keybinding C-c ' on a global mode

This is not a bug, though this short cut is heavily used in org-mode to for org-edit-special... which when I started using initial caused a problem when binder was active. I've since re-mapped it.

Moving cursor back to side-bar

Is there a keyboard shortcut for moving the cursor back out of the text frame to the sidebar? I am finding that I have to manually move the cursor back to the sidebar with my mouse once I have I have finished editing the text file. Did I miss a navigation feature or am I not using it correctly?
Thanks

On Windows, "Local variables entry is missing the suffix" error due to encoding utf-8-unix

Hi @rnkn,
Thank you for bringing Binder out to the world!

When I discovered it recently, I was instantly excited about the concept of Binder, and its simple aesthetics (and other Emacs packages of your creation -- I love Olivetti, too, and my personal theme emulates your theme style).

I was not sure if you were accepting PRs, so please take this as a humble suggestion.

I use Emacs on Windows (installed via Scoop).
I failed to configure Binder due to the "Local variables entry is missing the suffix" error. I use Doom Emacs, which uses its Straight as a "package management" system.

To cut the long story short, I have managed to get it to work by removing coding utf-8-unix local variable. Everything else went well.

I was not sure of the reasons why you needed it, so am happy for you to keep it as is. In that case, I'll use my modified version for now.

I have created a PR including the one-line change. I'll leave it up to you; merge it or keep the main branch as is.

Thank you again for creating something beautiful.
I'm trying to change my whole workflow, hoping to incorporate Binder as one of the main applications.

Noboru Ota (nobiot)

Add save on quit hook

Currently any changes not written to disk are lost when Emacs quits or switching to a different .binder.el file/project.

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.