Skip to content

Commit

Permalink
general fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhazen committed Dec 18, 2020
1 parent e1c8256 commit 7571189
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Run 'all' as a parameter to setup everything; otherwise specify which dot file t

> ./install.sh (vim|bash|i3|all)
Remember:

* On first run of vim, run:
* :call #doge#install()
* :UpdateRemotePlugins
* For VirtualBox + i3, disable MiniBar for full screen to work


# Vim

Expand Down Expand Up @@ -55,6 +62,9 @@ Shortcuts:
* ,J - Move split down
* ,a - Page up
* ,z - Page down
* \E - Editor mode (bunch of tabs in IDE format)
* \H - Hack/editor mode (bunch of tabs in pentest format)
* \D - Doge (generate docstrings)
* \r - Compile/run. Works with bash, python3, go, c/c++, java, asm
* \d - Jedi definitions
* \g - Jedi assignments
Expand Down Expand Up @@ -109,11 +119,6 @@ Vagrant aliases:
* vh - vagrant halt
* vr - vagrant rdp

Maven aliases:
* mvdeploy - mvn clean package wildfly:deploy
* mvundeploy - mvn wildfly:undeploy
* mcp - mvn clean package

Git aliases:
* gs - git status
* gb - git branch
Expand Down
8 changes: 0 additions & 8 deletions aliases
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ alias vd='vagrant destroy'
alias vss='vagrant ssh'
alias vh='vagrant halt'
alias vr='vagrant rdp'
alias mvdeploy='mvn clean package wildfly:deploy'
alias mvundeploy='mvn wildfly:undeploy'
alias mcp='mvn clean package'
alias vi='vim'
alias gf='git fetch'
alias grm='git rm'
Expand Down Expand Up @@ -50,11 +47,6 @@ alias la='ls -la'
alias lh='ls -lh'
alias ltr='ls -ltr'
alias psg='ps aux | grep'
start_gollum() {
if [ ! `pgrep gollum` ]; then
~/.gem/ruby/2.6.0/bin/gollum ~/vimwiki/ 2>&1 > ~/.vimwiki.log &
fi
}
pandoc_wiki() {
cd ~ &> /dev/null
pandoc -V geometry:margin=3cm -f markdown -t latex $1 -o ~/Documents/Report.pdf
Expand Down
7 changes: 3 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,17 @@ function bashsetup() {
fi
ln -s $DOTFILES/shot.sh ~/bin/shot.sh
if [ -f /usr/bin/zypper ]; then
sudo zypper install neovim cmake ctags i3-gaps terminator compton NetworkManager-applet vlc discord virtualbox python3-virtualbox xfce4-power-manager clipit blueman spotify-easyrpm thunar chromium lxappearance
sudo zypper install neovim cmake ctags i3-gaps terminator compton NetworkManager-applet vlc discord virtualbox python3-virtualbox xfce4-power-manager clipit blueman spotify-easyrpm thunar chromium lxappearance ImageMagick pandoc texlive-latex
elif [ -f /usr/bin/apt ]; then
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt update
sudo apt install neovim cmake exuberant-ctags python3.8 i3 terminator
sudo apt install neovim cmake exuberant-ctags python3.8 i3 terminator imagemagick pandoc texlive-latex-extra
fi
}

function allsetup() {
echo "all"
vimsetup
bashsetup
vimsetup
i3setup
}

Expand Down

0 comments on commit 7571189

Please sign in to comment.