hold on im getting somewhere'
This commit is contained in:
parent
625a9e7b22
commit
5efc3f77eb
3 changed files with 20 additions and 39 deletions
8
bin/symlink-configuration-to-home.sh
Normal file
8
bin/symlink-configuration-to-home.sh
Normal 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'
|
|
@ -185,7 +185,8 @@ M-x org-bable-tangle
|
||||||
: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)
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue