hold on im getting somewhere'

This commit is contained in:
Sakooooo 2023-09-12 14:18:48 +00:00
parent 625a9e7b22
commit 5efc3f77eb
Signed by: sako
GPG key ID: FE52FD65B76E4751
3 changed files with 20 additions and 39 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
# run this after login
cp -r /etc/nixos ~/nixos
sudo rm -rf /etc/nixos
sudo ln -sf ~/nixos /etc/nixos
echo 'done'

View file

@ -177,15 +177,16 @@ M-x org-bable-tangle
#+end_src #+end_src
** General Leader Key ** General Leader Key
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package general (use-package general
:config :config
(general-create-definer sakomacs/leader-keys (general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs) :keymaps `(normal insert visual emacs)
:prefix "SPC" :prefix "SPC"
:global-prefix "C-SPC") :global-prefix "C-SPC")
(sakomacs/leader-keys (sakomacs/leader-keys
"t" `(:ignore t :which-key "toggles") "t" `(:ignore t :which-key "toggles")
"tt" `(counsel-load-theme :which-key "choose theme"))) "tt" `(counsel-load-theme :which-key "choose theme")
"ee" `(treemacs)))
#+end_src #+end_src
** Evil Mode (vim) ** Evil Mode (vim)
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -436,7 +437,6 @@ M-x org-bable-tangle
(:map global-map (:map global-map
("M-0" . treemacs-select-window) ("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows) ("C-x t 1" . treemacs-delete-other-windows)
("SPC e" . treemacs)
("C-x t d" . treemacs-select-directory) ("C-x t d" . treemacs-select-directory)
("C-x t B" . treemacs-bookmark) ("C-x t B" . treemacs-bookmark)
("C-x t C-t" . treemacs-find-file) ("C-x t C-t" . treemacs-find-file)
@ -450,23 +450,10 @@ M-x org-bable-tangle
:after (treemacs projectile) :after (treemacs projectile)
:ensure t) :ensure t)
(use-package treemacs-icons-dired
:hook (dired-mode . treemacs-icons-dired-enable-once)
:ensure t)
(use-package treemacs-magit (use-package treemacs-magit
:after (treemacs magit) :after (treemacs magit)
:ensure t) :ensure t)
(use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode
:after (treemacs persp-mode) ;;or perspective vs. persp-mode
:ensure t
:config (treemacs-set-scope-type 'Perspectives))
(use-package treemacs-tab-bar ;;treemacs-tab-bar if you use tab-bar-mode
:after (treemacs)
:ensure t
:config (treemacs-set-scope-type 'Tabs))
#+end_src #+end_src
** Dev Packages ** Dev Packages
*** Magit (git in emacs) *** Magit (git in emacs)

View file

@ -140,7 +140,8 @@
:global-prefix "C-SPC") :global-prefix "C-SPC")
(sakomacs/leader-keys (sakomacs/leader-keys
"t" `(:ignore t :which-key "toggles") "t" `(:ignore t :which-key "toggles")
"tt" `(counsel-load-theme :which-key "choose theme"))) "tt" `(counsel-load-theme :which-key "choose theme")
"ee" `(treemacs)))
(use-package evil (use-package evil
:init :init
@ -381,7 +382,6 @@
(:map global-map (:map global-map
("M-0" . treemacs-select-window) ("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows) ("C-x t 1" . treemacs-delete-other-windows)
("SPC e" . treemacs)
("C-x t d" . treemacs-select-directory) ("C-x t d" . treemacs-select-directory)
("C-x t B" . treemacs-bookmark) ("C-x t B" . treemacs-bookmark)
("C-x t C-t" . treemacs-find-file) ("C-x t C-t" . treemacs-find-file)
@ -395,24 +395,10 @@
:after (treemacs projectile) :after (treemacs projectile)
:ensure t) :ensure t)
(use-package treemacs-icons-dired
:hook (dired-mode . treemacs-icons-dired-enable-once)
:ensure t)
(use-package treemacs-magit (use-package treemacs-magit
:after (treemacs magit) :after (treemacs magit)
:ensure t) :ensure t)
(use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode
:after (treemacs persp-mode) ;;or perspective vs. persp-mode
:ensure t
:config (treemacs-set-scope-type 'Perspectives))
(use-package treemacs-tab-bar ;;treemacs-tab-bar if you use tab-bar-mode
:after (treemacs)
:ensure t
:config (treemacs-set-scope-type 'Tabs))
(use-package magit (use-package magit
:custom :custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))