1
0
mirror of https://github.com/Foltik/dotfiles synced 2025-03-10 22:44:02 -04:00

Compare commits

..

No commits in common. "0445dc42ba93d0a56b8d2d0e59a8273d008325a8" and "fe61349cb4927d4da798ceefe475a3f35bc797d0" have entirely different histories.

4 changed files with 4 additions and 44 deletions

View File

@ -1,3 +0,0 @@
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]

View File

@ -1,12 +0,0 @@
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
[Service]
Type=simple
ExecStart=/usr/bin/emacs --fg-daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Restart=on-failure
[Install]
WantedBy=default.target

View File

@ -150,7 +150,7 @@
(map! :leader
:desc "Switch buffer" "," #'+vertico/switch-workspace-buffer
:desc "Switch all buffers" "<" #'consult-buffer)
:desc "Switch all buffers" ">" #'consult-buffer)
(map! :leader
:desc "Search online" "/" #'my/counsel-search)
@ -301,7 +301,7 @@
(map! :leader
:prefix ("p" . "projects")
:desc "Switch project" "p" #'my/projectile-switch-project
:desc "Switch project" "p" #'counsel-projectile-switch-project
:desc "Add new project" "a" #'projectile-add-known-project
:desc "Remove project" "d" #'projectile-remove-known-project
@ -581,16 +581,6 @@ _Q_: Disconnect _sd_: Down stack frame _bh_: Set hit count
;; (setq projectile-project-search-path
;; '("~/Code"))
(defun my/projectile-switch-project ()
(interactive)
;; Prune projects which no longer exist
(dolist (project projectile-known-projects)
(unless (file-directory-p project)
(projectile-remove-known-project project)))
(call-interactively #'counsel-projectile-switch-project))
(setq lsp-ui-doc-show-with-mouse t)
(defun my/counsel-search ()
(interactive)
(unless (boundp 'my/kagi-found)

View File

@ -217,12 +217,11 @@ Unmap a bunch of the default keybindings.
(projectile-invalidate-cache nil)
(+ivy/projectile-find-file))
#+END_SRC
**** Buffers
#+BEGIN_SRC elisp
(map! :leader
:desc "Switch buffer" "," #'+vertico/switch-workspace-buffer
:desc "Switch all buffers" "<" #'consult-buffer)
:desc "Switch all buffers" ">" #'consult-buffer)
#+END_SRC
**** Search
@ -409,7 +408,7 @@ keybindings specific to =config.org=.
#+BEGIN_SRC elisp
(map! :leader
:prefix ("p" . "projects")
:desc "Switch project" "p" #'my/projectile-switch-project
:desc "Switch project" "p" #'counsel-projectile-switch-project
:desc "Add new project" "a" #'projectile-add-known-project
:desc "Remove project" "d" #'projectile-remove-known-project
@ -732,21 +731,7 @@ Setup: run =M-x dap-go-setup=
#+BEGIN_SRC elisp
;; (setq projectile-project-search-path
;; '("~/Code"))
(defun my/projectile-switch-project ()
(interactive)
;; Prune projects which no longer exist
(dolist (project projectile-known-projects)
(unless (file-directory-p project)
(projectile-remove-known-project project)))
(call-interactively #'counsel-projectile-switch-project))
#+END_SRC
** LSP
#+BEGIN_SRC elisp
(setq lsp-ui-doc-show-with-mouse t)
#+END_SRC
** Counsel Search
#+BEGIN_SRC elisp
(defun my/counsel-search ()