VirtualTam's bookmarks

  1. "Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do."

    • Donald Knuth
  2. (global-set-key (kbd "C-c <left>") 'windmove-left) (global-set-key (kbd "C-c <right>") 'windmove-right) (global-set-key (kbd "C-c <up>") 'windmove-up) (global-set-key (kbd "C-c <down>") 'windmove-down)

  3. Plenty of ideas to optimize / smooth your development flow in Tuxland ;-)

  4. ;; emacs-snapshot PPA hack
    (when (>= emacs-major-version 25) (defconst debian-emacs-flavor 'emacs25))

  5. kbd converts a human-readable chord to a key sequence

  6. Chords

    • M-x eww RET url

    Very basic built-in web editor; love it to read articles dealing w/ programmation:

    • M-x eww RET url
    • M-x some-major-mode
    • M-x linum
  7. electric-indent has been activated by default in emacs 24

    to disable it for Python: (add-hook 'python-mode-hook (lambda () (set (make-local-variable 'electric-indent-functions) (list (lambda (arg) 'no-indent)))))

  8. Very cool & detailed tutorial on how to setup Emacs for Python editing, completion & execution.

    https://github.com/jhamrick/emacs

  9. "tl;dr: You want to teach yourself vim (the best text editor known to human kind) in the fastest way possible. This is my way of doing it. You start by learning the minimal to survive, then you integrate all the tricks slowly."

    Though a bit biased, it for sure is an interesting read