add yasnippets repo

This commit is contained in:
Frieder Schlesier 2018-12-22 20:09:58 +01:00
parent bf9669b370
commit 9dcad99454
2 changed files with 50 additions and 8 deletions

View File

@ -30,20 +30,21 @@ values."
dotspacemacs-configuration-layer-path '() dotspacemacs-configuration-layer-path '()
;; List of configuration layers to load. ;; List of configuration layers to load.
dotspacemacs-configuration-layers dotspacemacs-configuration-layers
'( ;; ----------------------------------------------------------------
;; ---------------------------------------------------------------- ;; Example of useful layers you may want to use right away.
;; Example of useful layers you may want to use right away. ;; Uncomment some layer names and press <SPC f e R> (Vim style) or
;; Uncomment some layer names and press <SPC f e R> (Vim style) or ;; <M-m f e R> (Emacs style) to install them.
;; <M-m f e R> (Emacs style) to install them. ;; ----------------------------------------------------------------
;; ---------------------------------------------------------------- '(
auto-completion
better-defaults better-defaults
auto-completion
docker docker
emacs-lisp emacs-lisp
git git
go go
helm helm
html html
latex
markdown markdown
org org
syntax-checking syntax-checking
@ -315,6 +316,10 @@ This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded, explicitly specified that a variable should be set before a package is loaded,
you should place your code here." you should place your code here."
(setq dired-listing-switches "-alh") (setq dired-listing-switches "-alh")
(setq-default dotspacemacs-configuration-layers
'((auto-completion :variables
auto-completion-enable-snippets-in-popup t
auto-completion-enable-help-tooltip t)))
) )
;; Do not write anything past this comment. This is where Emacs will ;; Do not write anything past this comment. This is where Emacs will

View File

@ -155,7 +155,7 @@ install_i3() {
aspell-de \ aspell-de \
aspell-en \ aspell-en \
clipit \ clipit \
emacs25 \ emacs \
feh \ feh \
fonts-font-awesome \ fonts-font-awesome \
fswebcam \ fswebcam \
@ -177,6 +177,11 @@ install_i3() {
apt autoclean apt autoclean
apt clean apt clean
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
rm -rf ~/.emacs.d/private/snippets
git clone https://github.com/AndreaCrotti/yasnippet-snippets ~/.emacs.d/private/yas-snips
ln -s ~/.emacs.d/private/yas-snips/snippets ~/emacs.d/private/snippets/
no_suspend no_suspend
echo "... setting capslock to control" echo "... setting capslock to control"
@ -246,6 +251,38 @@ install_compose() {
/usr/bin/docker-compose version /usr/bin/docker-compose version
} }
install_virtualbox() {
# https://wiki.debian.org/VirtualBox#Installation_of_non-free_edition
apt install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common \
--no-install-recommends
curl -fsSL https://download.docker.com/linux/debian/gpg | $SUDO apt-key add -
# add docker apt repo
cat <<-EOF > /etc/apt/sources.list.d/docker.list
deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
# deb [arch=amd64] https://download.docker.com/linux/debian stretch test
# deb [arch=amd64] https://download.docker.com/linux/debian stretch nightly
EOF
apt update
apt install -y \
docker-ce \
--no-install-recommends
groupadd docker
addgroup ${USERNAME} docker
docker version
docker info
}
get_dotfiles() { get_dotfiles() {
( (