demodirty.blogg.se

Pimp out emacs for mac
Pimp out emacs for mac





  1. #Pimp out emacs for mac mac os x#
  2. #Pimp out emacs for mac Bluetooth#

I intend to introduce the GUD interface, not only gud-gdb. I know that sometimes the gdb-many-windows doesn't work well, but it works most of the time. I also use it instead of multiple-cursors. (setq highlight-symbol-on-navigation-p t)Īfter setting highlight-symbol-on-navigation-p to t, it will automatically highlight symbol at point. (add-hook 'prog-mode-hook 'highlight-symbol-mode) It works not only with delimiter pairs (like parentheses), but pairs of programing tokens too.įor auto-highlighting, there's a better package that provides more features as well as auto-highlighting: highlight-symbol. smartparens allows you to wrap an active region with a pair (instead of deleting it like electric-pair, and I would like to turn on delete-selection-mode). I used to use electric modes for simple things. But EDE already supports CMake, so I will likely to use EDE. If you work with CMake, then cmake-project provides the ability to call M-x compile from the terminal as you might expect. Maybe you send a PR for updating the documentation (because the documentation stated that the videos are outdated? Rtags seems neat but I never get it working with plain Make project after going through all the videos. Some people use the older GUD interface, I think invoked via M-x gud-gdb, which doesn't support gdb-many-windows. Works like a charm, and great for people using multiple monitors.Īlso, I should mention, I find gdb-mi to have some issues (like not being able to add breakpoints to some files sometimes or placing the file buffer in the wrong section when backtracing segfaults). To prevent from opening up additional random buffers in the current frame, and to use just one frame for the compile buffer, I use this trick. iedit with narrowing regions and indirect buffers works really well for me. I use iedit instead of multiple-cursors because of better integration with evil-mode, but I'd say some notion of multiple cursors is a fantastic thing. It highlights other occurrences of the symbol your cursor is over. (Perhaps a bad example but electric editing is a big thing in emacs these days) electric-pair-mode for automatically completing matching bracket delimiters, etc. While I don't personally use it, some people like to enable the various electric editing minor modes, ie. If you work with CMake, then cmake-project provides the ability to call M-x compile from emacs as you might expect.

pimp out emacs for mac

A lot more accurate because it uses clang as a backend. I prefer rtags over GNU Global or Cscope. In particular, +1 for company mode which I think reduces a lot of headaches.

#Pimp out emacs for mac Bluetooth#

Update: These keyboard shortcuts will also work with iOS devices that have a keyboard attached via Bluetooth or through a dock.A lot of good stuff in there.

#Pimp out emacs for mac mac os x#

These shortcuts should work in all versions of Mac OS X and with all Cocoa based apps, including Safari, Chrome, TextEdit, Pages and the iWork suite, and most other Mac apps and text editors.

  • Select text to end of all text – Shift+Command+Down Arrowīonus tip: You can select non-contiguous text blocks in Mac OS X by hold down the command key, as demonstrated here.
  • Select text to beginning of all text – Shift+Command+Up Arrow.
  • Select text to end of current word – Shift+Option+Right Arrow.
  • Select text to beginning of current word – Shift+Option+Right Arrow.
  • Select text to end of a line – Shift+Command+Right Arrow.
  • Select text to beginning of a line – Shift+Command+Left Arrow.
  • The next group of keyboard shortcuts allow for quickly highlighting and selecting elements of text:
  • Jump to end of all text – Command+Down Arrowīy adding a shift key to the above shortcuts, we are given six new tricks that allow for quick text selection of lines, words, and entire documents.
  • Jump to beginning of all text – Command+Up Arrow.
  • Jump to end of current word – Option+Right Arrow.
  • Jump to beginning of current word – Option+Right Arrow.
  • Jump to end of a line – Command+Right Arrow.
  • pimp out emacs for mac

    Jump to beginning of a line – Command+Left Arrow.The first group of keyboard shortcuts allow for quickly moving around text:







    Pimp out emacs for mac