directory restructuring

This commit is contained in:
Marcel Kapfer (mmk2410) 2017-03-30 15:38:09 +02:00
parent 9e4bd3c862
commit a67e9abef0
17 changed files with 0 additions and 95 deletions

4
scripts/blurlock.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
scrot /tmp/lock.png
convert /tmp/lock.png -modulate 70,20 -blur 0x4 /tmp/lock.png
i3lock -i /tmp/lock.png

7
scripts/es.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
if [ "$DESKTOP_SESSION" = "stumpwm" ]; then
stumpish 'eval (stumpwm::save-es-called-win)' > /dev/null
fi
emacsclient -c --alternate-editor="$ALTERNATE_EDITOR" "$@"

24
scripts/vim-to-nvim.sh Executable file
View file

@ -0,0 +1,24 @@
#!/bin/bash
echo "Setting up zsh..."
echo "alias vim='nvim'" >> .zshrc
echo "Switch from Pathogen to vim-plug..."
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
rm -rf ~/.vim/bundle
curl -fLo ~/.config/nvim/init.vim --create-dirs \
https://lab.marcel-kapfer.de/config/init.vim
echo "Installing Python 3 neovim plugin..."
sudo apt-get update
sudo apt-get install python3-pip
sudo pip3 install neovim
echo "Remove vim-latexsuite package..."
sudo apt-get remove vim-latexsuite
sudo apt-get autoremove
echo "Start now nvim of vim and execute the following commands:
:PlugInstall
:UpdateRemotePlugins
then restart neovim and enjoy your new neovim experience."