various dev environment stuff
부모
f5d6dfdb86
커밋
7fa7171471
|
@ -109,6 +109,14 @@
|
|||
(use-package elisp-mode)
|
||||
(use-package eldoc)
|
||||
|
||||
(use-package yaml-mode
|
||||
:ensure t)
|
||||
|
||||
(use-package cmake-mode
|
||||
:ensure t
|
||||
:init
|
||||
(defvaralias 'cmake-tab-width 'tab-width))
|
||||
|
||||
(use-package powershell
|
||||
:ensure t
|
||||
:init
|
||||
|
@ -133,6 +141,11 @@
|
|||
:init
|
||||
(defvaralias 'json-reformat:indent-width 'tab-width))
|
||||
|
||||
(use-package nim-mode
|
||||
:ensure t
|
||||
:init
|
||||
(defvaralias 'nim-indent-offset 'tab-width))
|
||||
|
||||
(use-package mmm-mode
|
||||
:ensure t)
|
||||
|
||||
|
@ -149,8 +162,9 @@
|
|||
(use-package cc-mode
|
||||
:hook (( c-mode . agw-cc-mode)
|
||||
(c++-mode . agw-cc-mode))
|
||||
:mode (("\\.zsc\\'" . c-mode)
|
||||
("\\.zc\\'" . c-mode))
|
||||
:mode (("\\.zsc\\'" . c-mode)
|
||||
("\\.zc\\'" . c-mode)
|
||||
("\\.build\\'" . c++-mode))
|
||||
:init
|
||||
(setq c-auto-align-backslashes nil
|
||||
c-basic-offset tab-width
|
||||
|
@ -188,6 +202,9 @@
|
|||
:init
|
||||
(defvaralias 'rust-indent-offset 'tab-width))
|
||||
|
||||
(use-package sgml-mode
|
||||
:hook (html-mode . agw-fp-mode))
|
||||
|
||||
;; org-mode
|
||||
(use-package org
|
||||
:hook ((org-mode . agw-flyspell-mode)
|
||||
|
@ -431,6 +448,7 @@
|
|||
:ensure t
|
||||
:after (editorconfig
|
||||
eldoc
|
||||
rainbow-mode
|
||||
simple
|
||||
subword
|
||||
undo-tree
|
||||
|
@ -443,7 +461,14 @@
|
|||
(isearch-mode "Is")
|
||||
(subword-mode "Sw")
|
||||
(undo-tree-mode "Ut")
|
||||
(whitespace-mode "Ws"))))
|
||||
(whitespace-mode "Ws")
|
||||
(flyspell-mode "Fs")
|
||||
(rainbow-mode "Rb"))))
|
||||
|
||||
(use-package rainbow-mode
|
||||
:ensure t
|
||||
:hook ((prog-mode . rainbow-mode)
|
||||
(text-mode . rainbow-mode)))
|
||||
|
||||
;; end of init
|
||||
(setq gc-cons-threshold (* 1 1000 1000))
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
# if EDITOR isn't set then we're probably in a remote session
|
||||
# and need to set the stuff in our environment again
|
||||
if test ! $EDITOR
|
||||
source $_agw_dir_rc/system/env/00-vars.sh
|
||||
end
|
||||
|
||||
## EOF
|
|
@ -25,6 +25,8 @@ function devrt
|
|||
-b $_agw_dir_rc:/home/marrub/rc \
|
||||
-b $_agw_dir_src:/home/marrub/src \
|
||||
-b $_agw_dir_bin:/home/marrub/bin \
|
||||
-b ~/vmshare:/home/marrub/vmshare \
|
||||
-b ~/.gem:/home/marrub/.gem \
|
||||
-- $_agw_dir_dev /usr/bin/env _agw_chroot=1 /usr/bin/fish -l -i -C cd
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
function gdcc-install
|
||||
for f in $_agw_dir_bin/other/gdcc/*/gdcc-*
|
||||
ln -s $f $_agw_dir_bin/local/(basename $f)
|
||||
end
|
||||
end
|
||||
|
||||
## EOF
|
불러오는 중...
Reference in New Issue