Setup postgresql support

This commit is contained in:
Curt Spark 2024-12-17 02:36:13 +00:00
parent 6de64e79e6
commit 6220c826ba
1 changed files with 17 additions and 1 deletions

View File

@ -1317,6 +1317,9 @@ Install the package, enable it and ensure that it always is installed, and then
;; Swap current workspace with one workspace to the left
([?\M-L] . exwm-swap-workspace-right)
;; Kill current buffer
([?\M-w] . kill-current-buffer)
;; Bindings for Edwina
;; Select next window in stack
@ -1494,7 +1497,8 @@ Mingus is a frontend for GNU Emacs to the Music Player daemon. The interface clo
)
#+END_SRC
** Sqlite Mode
** Databases
*** Sqlite Mode
Emacs has a built in sqlite mode to view sqlite database files and modify them. Configure to be a bit nicer
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'sqlite-mode
@ -1518,3 +1522,15 @@ Emacs has a built in sqlite mode to view sqlite database files and modify them.
(add-hook 'find-file-hook 'sqlite-find-file-hook)
#+END_SRC
*** PGMacs
PGmacs provides an editing interface for the PostgreSQL object-relational DBMS from Emacs.
#+BEGIN_SRC emacs-lisp
(use-package pg
:ensure t)
(use-package pgmacs
:straight '(pgmacs :type git :host github :repo "emarsden/pgmacs"
:build (:not compile))
:ensure t
:after pg)
#+END_SRC