diff --git a/.gitignore b/.gitignore index 407fc30..500b81f 100755 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file +ranger/plugins/devicons_linemode.pyo +!/pudb/ +/pudb/* +!/pudb/pudb.cfg diff --git a/README.md b/README.md index 3d9652d..ee0b7ad 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/pudb/pudb.cfg b/pudb/pudb.cfg new file mode 100644 index 0000000..ccc8d69 --- /dev/null +++ b/pudb/pudb.cfg @@ -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 + diff --git a/ranger/colorschemes/__init__.py b/ranger/colorschemes/__init__.py old mode 100755 new mode 100644 diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py old mode 100755 new mode 100644 diff --git a/ranger/colorschemes/jungle.py b/ranger/colorschemes/jungle.py old mode 100755 new mode 100644 diff --git a/ranger/colorschemes/snow.py b/ranger/colorschemes/snow.py old mode 100755 new mode 100644 diff --git a/ranger/colorschemes/zenburn.py b/ranger/colorschemes/zenburn.py old mode 100755 new mode 100644 diff --git a/ranger/commands.py b/ranger/commands.py old mode 100755 new mode 100644 diff --git a/ranger/rc-sample.conf b/ranger/rc-sample.conf old mode 100755 new mode 100644 diff --git a/ranger/rc.conf b/ranger/rc.conf old mode 100755 new mode 100644 index e41969e..81eacdc --- a/ranger/rc.conf +++ b/ranger/rc.conf @@ -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 diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 92127fd..82e8f4a 100755 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -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 -- "$@" diff --git a/zsh/zshrc b/zsh/zshrc index 7d3c3b2..c14b71e 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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