set to use eat add key bindings
This commit is contained in:
@@ -187,12 +187,17 @@
|
||||
claude-code-program-switches '("code" "--dangerously-skip-permissions"))
|
||||
|
||||
;; Use Eat backend
|
||||
(setq claude-code-terminal-backend 'eat)
|
||||
(setq claude-code-terminal-backend 'eat
|
||||
;; Emacs-style editing in Claude buffer: RET inserts newline, S-RET sends
|
||||
claude-code-newline-keybinding-style 'shift-return-to-send)
|
||||
|
||||
;; Enable global mode
|
||||
(claude-code-mode 1)
|
||||
|
||||
;; Set key bindings prefix
|
||||
;; Emacs-style prefix key (works without Doom/Evil leader keys)
|
||||
(global-set-key (kbd "C-c c") claude-code-command-map)
|
||||
|
||||
;; Set Doom leader keybindings
|
||||
(map! :leader
|
||||
(:prefix ("C" . "claude-code")
|
||||
:desc "Start Claude" "c" #'claude-code
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
(setq super-save-auto-save-when-idle t)
|
||||
(setq super-save-idle-duration 1))
|
||||
|
||||
;; Which-key: show keybindings faster
|
||||
(setq which-key-idle-delay 0.01
|
||||
which-key-min-display-time 0.1)
|
||||
|
||||
;; Search bindings for consult-line
|
||||
(map!
|
||||
@@ -19,4 +22,4 @@
|
||||
:n "M-s" (lambda () (interactive) (consult-line (thing-at-point 'symbol)))
|
||||
:n "C-S-s" #'consult-line-multi)
|
||||
|
||||
(setq-default show-trailing-whitespace t)
|
||||
(setq-default show-trailing-whitespace nil)
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
;;unicode ; extended unicode support for various languages
|
||||
(vc-gutter +pretty) ; vcs diff in the fringe
|
||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||
(which-key +popup) ; key binding popups
|
||||
window-select ; visually switch windows
|
||||
workspaces ; tab emulation, persistence & separate workspaces
|
||||
zen ; distraction-free coding or writing
|
||||
|
||||
Reference in New Issue
Block a user