Add topydo

This commit is contained in:
Raoul Snyman 2020-12-14 11:38:35 -07:00
parent 5f6c54e867
commit 11bdbd022d
No known key found for this signature in database
GPG Key ID: E45BF62BC5260598
4 changed files with 32 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Plug 'kien/rainbow_parentheses.vim'
Plug 'rainglow/vim'
Plug 'yuezk/vim-js'
Plug 'maxmellon/vim-jsx-pretty'
Plug 'freitass/todo.txt-vim'
call plug#end()
set guifont=Hack:h10

View File

@ -18,6 +18,9 @@ function check_or_install {
}
# Set up a generic bin directory for scripts and tools
mkdir -p ~/bin
# Set up Neovim
check_or_install nvim "neovim python3-neovim"
mkdir -p ~/.config
@ -48,3 +51,13 @@ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O
cd ~/.oh-my-zsh/custom
ln -s $DIR/zsh/themes
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="raoul"/' ~/.zshrc
# Set up topydo
check_or_install virtualenv python3-virtualenv
cd ~/.config
ln -s $DIR/topydo
virtualenv -p python3 ~/.config/topydo/venv
~/.config/topydo/venv/bin/pip install topydo
cd ~/bin
ln -s $HOME/.config/topydo/venv/bin/topydo
ln -s $HOME/.config/topydo/venv/bin/topydo todo

11
topydo/columns Normal file
View File

@ -0,0 +1,11 @@
[Current]
title = Current
sortexpr = desc:importance
groupexpr = project
show_all = 0
[Overdue]
title = Overdue
filterexpr = due:<today
sortexpr = desc:due
show_all = 1

7
topydo/config Normal file
View File

@ -0,0 +1,7 @@
[topydo]
archive_filename = /home/rsnyman/done.txt
filename = /home/rsnyman/todo.txt
[colorscheme]
focus_background_color = darkgray
priority_colors = A:cyan,B:yellow,C:light-blue