Eglot keybindings that I use

One fun fact about my computing usage is that I use GNU Emacs for a lot of things… but programming. Usually, I don’t find the time to configure all the knobs to have a comfortable programming environment to use at work on big codebases1. It also doesn’t help a lot that I’m working with F# that has awesome support on JetBrains Rider.

However, when I’m coding inside GNU Emacs, I use eglot to connect to multiple LSPs. It has been so long since I started using it that I even forgot that the keybindings were set by myself.

I keep them under the lnamespace” (stands for LSP).

(use-package eglot
  ; ...
  :bind (:map eglot-mode-map
	      ("C-c l a" . eglot-code-actions)
	      ("C-c l r" . eglot-rename)
	      ("C-c l h" . eldoc)
	      ("C-c l f" . eglot-format)
	      ("C-c l F" . eglot-format-buffer)
	      ("C-c l d" . xref-find-definitions-at-mouse)
	      ;; sometimes ionide acts up
	      ("C-c l R" . eglot-reconnect))

  1. Although I use Magit and project.el a lot↩︎

Articles from blogs I follow around the net

Trimming a Fake Object

A refactoring example. When I introduce the Fake Object testing pattern to people, a common concern is the maintenance burden of it. The point of the pattern is that you write some 'working' code only for test purposes. …

via ploeh blog November 20, 2023

Building a digital vigil for those we've lost

This post is hard to write in a lot of ways. It's more personal than most I've written. This is presumptively a tech blog, and this piece is about so much more than technology. But it's important. Making things, software or otherwise, is ultimatel…

via blog November 19, 2023

#122 Experimenting and Learning

Update on what happened across the GNOME project in the week from November 10 to November 17. GNOME Circle Apps and Libraries Workbench A sandbox to learn and prototype with GNOME technologies. Sonny says Workbench is a code playground and Library to learn, e…

via This Week in GNOME November 17, 2023

Generated by openring