Giter Club home page Giter Club logo

Comments (4)

mclearc avatar mclearc commented on September 6, 2024 1

Ah - I think I didn't quite understand that by 'out of the box' you meant vanilla emacs :). I think these are two pretty reliable discussions of emacs keybinding conventions: mastering emacs and Karl Voit. But yes, C-c z or C-c C-z seem like good candidates for prefixes

from zetteldeft.

mclearc avatar mclearc commented on September 6, 2024

Here's my setup (using general):

  (general-define-key
   :prefix "SPC"
   :non-normal-prefix "C-SPC"
   :states '(normal visual insert motion emacs)
   :keymaps 'override
   "z"  '(nil :wk "Zettelkasten")
   "zc" '(zd-search-current-id :wk "search current id")
   "zd" '(cpm/zettel-dired :wk "zettel dired view")
   "zf" '(zd-avy-file-search :wk "avy file search")
   "zF" '(zd-avy-file-search-ace-window :wk "avy file other window")
   "zI" '(zd-find-file-id-insert :wk "insert id")
   "zi" '(zd-find-file-full-title-insert :wk "insert full title")
   "zl" '(zd-avy-link-search :wk "avy link search")
   "zn" '(zd-new-file :wk "new file")
   "zN" '(zd-new-file-and-link :wk "new file & link")
   "zo" '(zd-find-file :wk "find file")
   "zr" '(zd-file-rename :wk "rename")
   "zR" '(deft-refresh :wk "refresh")
   "zs" '(zd-deft-new-search :wk "new search")
   "zS" '(zd-search-at-point :wk "search at point")
   "zt" '(zd-avy-tag-search :wk "avy tag search")
   "zT" '(zd-tag-buffer :wk "tag list")
   "z RET" '(zd-follow-link :wk "follow link at point")
   )

  (defun cpm/zettel-dired ()
    (interactive)
    (find-file "~/Dropbox/Notes/zettel")
    (peep-dired))

from zetteldeft.

EFLS avatar EFLS commented on September 6, 2024

Thanks. I see you also use general and a leader key. I’m still wondering what key sequences are best suggested in the guide for a ‘vanilla Emacs’ setup.

‘C-c z’ perhaps? I think normal letters are kept free for users to configure.

from zetteldeft.

EFLS avatar EFLS commented on September 6, 2024

I've expanded suggested keybindings for C-c d, in d6f0fc3.
This hopefully lowers the bar for people who want to explore the package.

from zetteldeft.

Related Issues (20)

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.