This commit is contained in:
David Chen 2020-02-10 23:13:46 +00:00
commit 3021d63d62
13 changed files with 36 additions and 5 deletions

5
.gitignore vendored
View file

@ -36,4 +36,7 @@ ranger/colorschemes/__init__.pyo
ranger/colorschemes/default.pyo
ranger/plugins/__init__.pyo
ranger/plugins/devicons.pyo
ranger/plugins/devicons_linemode.pyo
ranger/plugins/devicons_linemode.pyo
!/pudb/
/pudb/*
!/pudb/pudb.cfg

View file

@ -1,6 +1,8 @@
# My config...
This config folder includes `i3` and `alacritty` config, however, I'm using [dwm](https://github.com/theniceboy/dwm) and [st](https://github.com/theniceboy/st) now.
BTW, my scripts are in [this repo](https://github.com/theniceboy/scripts).
# Important stuff:
## Ranger
use `pip install ueberzug` and `ranger-git`

20
pudb/pudb.cfg Normal file
View file

@ -0,0 +1,20 @@
[pudb]
breakpoints_weight = 1
current_stack_frame = top
custom_shell =
custom_stringifier =
custom_theme =
default_variables_access_level = all
display = auto
hide_cmdline_win = False
line_numbers = True
prompt_on_quit = True
seen_welcome = e036
shell = internal
sidebar_width = 0.5
stack_weight = 1
stringifier = str
theme = monokai-256
variables_weight = 1
wrap_variables = True

0
ranger/colorschemes/__init__.py Executable file → Normal file
View file

0
ranger/colorschemes/default.py Executable file → Normal file
View file

0
ranger/colorschemes/jungle.py Executable file → Normal file
View file

0
ranger/colorschemes/snow.py Executable file → Normal file
View file

0
ranger/colorschemes/zenburn.py Executable file → Normal file
View file

0
ranger/commands.py Executable file → Normal file
View file

0
ranger/rc-sample.conf Executable file → Normal file
View file

3
ranger/rc.conf Executable file → Normal file
View file

@ -303,7 +303,7 @@ map ; console
map : console
map V console shell nvim%space
map T console shell touch%space
map r chain draw_possible_programs; console open_with%%space
map r chain draw_possible_programs; console open_with%space
map R reload_cwd
map F set freeze_files!
@ -365,6 +365,7 @@ map gfz cd ~/.config/zsh
map gfl cd ~/.config/jesseduffield/lazygit/
map gfd cd ~/prog/dwm/
map gfs cd ~/prog/st/
map gF cd ~/.sconfig
map gs cd ~/scripts
map ge cd /etc
map guu cd /usr

View file

@ -55,6 +55,8 @@
# install a rare browser, you probably use it. Firefox/konqueror/w3m on the
# other hand are often only installed as fallback browsers.
ext html = nvim "$@"
ext org = nvim "$@"
ext dart = nvim "$@"
#ext x?html?, has surf, X, flag f = surf -- file://"$1"
#ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
#ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"

View file

@ -4,6 +4,8 @@ export PATH=$PATH:$HOME/go/bin
export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin
export PATH=$PATH:$HOME/.local/bin
#export TERM=xterm-256color
export PATH=$PATH:/home/david/prog/flutter/bin
export TERM=xterm-256color
export TERM_ITALICS=true
export RANGER_LOAD_DEFAULT_RC="false"
export TERM=screen-256color
@ -13,19 +15,19 @@ export XDG_CONFIG_HOME=/home/david/.config
#autoload edit-command-line; zle -N edit-command-line
#bindkey '^v' edit-command-line
#alias av='source venv/bin/activate.fish'
alias av='source venv/bin/activate'
alias c='clear'
alias cdiff='colordiff'
alias cs='calcurse'
#alias dv='deactivate'
alias dv='deactivate'
alias gc='git config credential.helper store'
alias ipy='ipython'
alias l='ls -la'
alias lg='lazygit'
alias ms='mailsync'
alias mt='neomutt'
alias nv='nvim'
alias r='echo $RANGER_LEVEL'
alias pu='python3 -m pudb'
alias ra='ranger'
# ra() {
#if [ -z "$RANGER_LEVEL" ]
@ -43,6 +45,7 @@ alias vim='nvim'
alias gs='git config credential.helper store'
alias bat='sudo tlp bat'
alias ac='sudo tlp ac'
alias gy='git-yolo'
bindkey -v
bindkey -M vicmd "k" vi-insert