todo system, paths off

This commit is contained in:
Daniel Flanagan 2016-09-24 06:25:35 -05:00
parent 2a3f25e9dc
commit ae43e9f1b2
14 changed files with 45 additions and 17 deletions

View file

@ -49,6 +49,7 @@ Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') } " autocomplete
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
Plug 'scrooloose/syntastic' " syntax checker Plug 'scrooloose/syntastic' " syntax checker
Plug 'freitass/todo.txt-vim' " syntax checker
Plug 'bkad/CamelCaseMotion' " camel case and underscore word movements Plug 'bkad/CamelCaseMotion' " camel case and underscore word movements
Plug 'LargeFile' " gracefully handle very large files Plug 'LargeFile' " gracefully handle very large files
Plug 'tpope/vim-commentary' " toggle comments in code easily Plug 'tpope/vim-commentary' " toggle comments in code easily

4
env/sh/bashrc vendored
View file

@ -33,6 +33,7 @@ if [ -t 0 ]; then
alias .....="cd ../../../.." alias .....="cd ../../../.."
alias ......="cd ../../../../.." alias ......="cd ../../../../.."
alias todo="todo.sh" alias todo="todo.sh"
alias td="todo"
# tmux aliases # tmux aliases
alias tmux='TERM=screen-256color-bce tmux' # syntax higlighting for vim in tmux alias tmux='TERM=screen-256color-bce tmux' # syntax higlighting for vim in tmux
@ -179,6 +180,5 @@ if [ -t 0 ]; then
set -o vi set -o vi
# except we still want some things to work the old fashioned way # except we still want some things to work the old fashioned way
bind '"\C-p": history-search-backward' bind -f "$HOME/.inputrc"
bind '"\C-n": history-search-forward'
fi fi

6
env/sh/inputrc vendored
View file

@ -1,6 +1,6 @@
"\eOd": backward-word "\eOd": backward-word
"\eOc": forward-word "\eOc": forward-word
$if editing-mode=vi
"\C-p": history-search-backward "\C-p": history-search-backward
$endif "\C-n": history-search-forward
"\C-a": beginning-of-line
"\C-e": end-of-line

4
env/sh/tmux.conf vendored
View file

@ -65,10 +65,10 @@ set -g @plugin 'tmux-plugins/tmux-sessionist'
# plugin options # plugin options
# enable continuum # enable continuum
set -g @continuum-restore 'on' set -g @continuum-restore 'off'
# let continuum startup on boot # let continuum startup on boot
set -g @continuum-boot 'on' set -g @continuum-boot 'off'
# initialize tmux plugin manager # initialize tmux plugin manager
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source $DIR/variables.bash source $DIR/variables.bash
pacaur -S \ pacaur -S \

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source $DIR/variables.bash source $DIR/variables.bash
# sign keys for infinality # sign keys for infinality

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source $DIR/variables.bash source $DIR/variables.bash
sudo pacman -S mplayer --noconfirm sudo pacman -S mplayer --noconfirm

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source $DIR/variables.bash source $DIR/variables.bash
pacaur -S \ pacaur -S \

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source "$DIR/variables.bash" source "$DIR/variables.bash"
sudo pacman -S cmake vim unzip python2 python2-pip python python-pip xsel xclip --noconfirm sudo pacman -S cmake vim unzip python2 python2-pip python python-pip xsel xclip --noconfirm

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source "$DIR/variables.bash" source "$DIR/variables.bash"
sudo pacman -S curl openssl perl expac yajl --noconfirm sudo pacman -S curl openssl perl expac yajl --noconfirm

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source "$DIR/variables.bash" source "$DIR/variables.bash"
sudo pacman -S tmux --noconfirm sudo pacman -S tmux --noconfirm

27
os/arch_linux/todo.bash Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source $DIR/variables.bash
pacaur -S \
todotxt-git \
--noconfirm --noedit
if [ ! -f "$HOME/.todo/config" ]; then
cp /usr/share/todotxt/todo.cfg ~/.todo/config
vim "$HOME/.todo/config"
fi
mkdir -p "$HOME/.todo.actions.d"
curl -L http://github.com/fnd/todo.txt-cli/raw/extensions/commit > "$HOME/.todo.actions.d/commit"
curl -L https://raw.github.com/crobinsonut/todo_distributed/master/push > "$HOME/.todo.actions.d/push"
curl -L https://raw.github.com/crobinsonut/todo_distributed/master/pull > "$HOME/.todo.actions.d/pull"
curl -L https://raw.github.com/crobinsonut/todo_distributed/master/sync > "$HOME/.todo.actions.d/sync"
curl -L http://github.com/mbrubeck/todo.txt-cli/raw/master/todo.actions.d/edit > "$HOME/.todo.actions.d/edit"
chmod +x "$HOME/.todo.actions.d/commit"
chmod +x "$HOME/.todo.actions.d/pull"
chmod +x "$HOME/.todo.actions.d/push"
chmod +x "$HOME/.todo.actions.d/sync"
chmod +x "$HOME/.todo.actions.d/edit"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source $DIR/variables.bash source $DIR/variables.bash
sudo pacman -S \ sudo pacman -S \

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source "$DIR/variables.bash" source "$DIR/variables.bash"
sudo pacman -S xcb-util xcb-util-keysyms xcb-util-wm xorg-xrandr xdotool feh --noconfirm sudo pacman -S xcb-util xcb-util-keysyms xcb-util-wm xorg-xrandr xdotool feh --noconfirm