Skip to content

umbrellaid/spacemacs_my_personal_notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

spacemacs my notes org format

Link to article “Configuring Spacemacs: A Tutorial”

https://github.com/trishume/trishume.github.com/blob/master/_posts%2F2015-03-07-configuring-spacemacs-a-tutorial.md

General Links

https://www.spacemacs.org/ https://github.com/syl20bnr/spacemacs https://www.spacemacs.org/doc/LAYERS.html https://www.spacemacs.org/doc/DOCUMENTATION.html#orgheadline21 https://github.com/trishume/trishume.github.com/blob/master/_posts/2017-03-04-my-text-editor-journey-vim-spacemacs-atom-and-sublime-text.md

Old Configuration Section 1

dotspacemacs-configuration-layers

;; List of configuration layers to load.
dotspacemacs-configuration-layers
'(
  ;; ----------------------------------------------------------------
  ;; Example of useful layers you may want to use right away.
  ;; Uncomment some layer names and press `SPC f e R' (Vim style) or
  ;; `M-m f e R' (Emacs style) to install them.
  ;; ----------------------------------------------------------------
  auto-completion
  better-defaults
  emacs-lisp
  git
  helm
  lsp
  markdown
  multiple-cursors
  org
  (shell :variables
         shell-default-height 30
         shell-default-position 'bottom)
  spell-checking
  syntax-checking
  version-control
  ranger
  emoji
  python
  (evil-snipe
   :variables
   evil-snipe-enable-alternate-f-and-t-behaviors t)
  notmuch
  (elfeed :variables
          elfeed-feeds '(
                         ("http://nullprogram.com/feed/" emacs)
                         ("https://planet.emacslife.com/atom.xml" emacs)
                         ("https://www.reddit.com/r/emacs.rss" emacs)
                         ("https://www.reddit.com/r/neovim.rss" neovim)
                         ("https://www.reddit.com/r/vim.rss" vim)
                         ("https://neovim.io/news.xml" neovim)
                         ("https://dotfyle.com/this-week-in-neovim/rss.xml" neovim)
                         ("https://protesilaos.com/master.xml" emacs)
                         ("https://sachachua.com/blog/feed" emacs)
                         ("https://www.reddit.com/r/orgmode.rss" emacs)
                         ("https://karthinks.com/index.xml" emacs)
                         )
          )
  treemacs)

Old Configuration Section 2

After that section this section I add apps from MELPA

dotspacemacs-additional-packages '(
                                   greader
                                   sqlite3
                                   )

Old Configuration Section 3

After that section is this section where I adjust a couple of settings:

(defun dotspacemacs/user-init ()
  "Initialization for user code:
This function is called immediately after `dotspacemacs/init', before layer
configuration.
It is mostly for variables that should be set before packages are loaded.
If you are unsure, try setting them in `dotspacemacs/user-config' first."
  ;; For python
  (add-hook 'python-mode-hook #'(lambda () (modify-syntax-entry ?_ "w")))
  )

Old Configuration Section 4

After that section is this section where I set a variable for greader

(defun dotspacemacs/user-config ()
  "Configuration for user code:
This function is called at the very end of Spacemacs startup, after layer
configuration.
Put your configuration code here, except for variables that should be set
before packages are loaded."
  (setq greader-espeak-rate 300)
  (setq python-shell-interpreter "/usr/bin/python")
  )

Everything else is the standard configuration file without any changes.

Old Configuration Section 5

After install run this command once SPC SPC all-the-icons-install-fonts

My Greader Workflow In Spacemacs In Detail

Opening keybinding notes: when you have evil mode on you can do your LEADER KEY which can be set to anything but the default is SPACE (space bar key). If you have evil mode off you can do ALT-m (called Meta-m or M-m the M- part represents the Meta keybinding which is actually the alt key on modern keyboards - there were old keyboards that had this extra key that are not widely used anymore).

Open Spacemacs then open the text file I want to have read to me with the robotic voice. Note the reading speed of the robot is set in your dot spacemacs (.spacemacs) config file. You press SPC f e d to open your configuration file. You then go to the defun dotspacemacs/user-config () and add (setq greader-espeak-rate 300). You vary the number to whatever suites your preferred speaking pace. I would keep in mind that since it is reading text it is not perfectly comparable to the rate that people talk or what speed you would normally read. So just try different speeds until you find what works best for you.

A customization I like to use it to do SPC w c C which is toggling distraction free settings to be active. This centers the text and gets rid of distractions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published