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,7 +177,7 @@ M-x org-bable-tangle
#+end_src
** General Leader Key
#+begin_src emacs-lisp
(use-package general
(use-package general
:config
(general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs)
@ -185,7 +185,8 @@ M-x org-bable-tangle
:global-prefix "C-SPC")
(sakomacs/leader-keys
"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
** Evil Mode (vim)
#+begin_src emacs-lisp
@ -436,7 +437,6 @@ M-x org-bable-tangle
(:map global-map
("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows)
("SPC e" . treemacs)
("C-x t d" . treemacs-select-directory)
("C-x t B" . treemacs-bookmark)
("C-x t C-t" . treemacs-find-file)
@ -450,23 +450,10 @@ M-x org-bable-tangle
:after (treemacs projectile)
:ensure t)
(use-package treemacs-icons-dired
:hook (dired-mode . treemacs-icons-dired-enable-once)
:ensure t)
(use-package treemacs-magit
:after (treemacs magit)
: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
** Dev Packages
*** Magit (git in emacs)

View file

@ -140,7 +140,8 @@
:global-prefix "C-SPC")
(sakomacs/leader-keys
"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
:init
@ -381,7 +382,6 @@
(:map global-map
("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows)
("SPC e" . treemacs)
("C-x t d" . treemacs-select-directory)
("C-x t B" . treemacs-bookmark)
("C-x t C-t" . treemacs-find-file)
@ -395,24 +395,10 @@
:after (treemacs projectile)
:ensure t)
(use-package treemacs-icons-dired
:hook (dired-mode . treemacs-icons-dired-enable-once)
:ensure t)
(use-package treemacs-magit
:after (treemacs magit)
: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
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))