This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# map only what I declare | |
# to avoid clashing with Vivaldi keys | |
unmapAll | |
# scrolling behavior | |
map j scrollDown | |
map k scrollUp | |
map gg scrollToTop | |
map G scrollToBottom | |
map <c-d> scrollPageDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fzf_argfiles() { | |
fzf --multi | tr '\n' ' ' | |
} | |
# for unstaged changes and untracked files | |
fzf_dirty_files() { | |
git status --porcelain | cut -c 1,2,3 --complement | fzf --multi --preview-window=up:50% --preview='git diff --color=always {}' | |
} | |
fzf_modified_files() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# todo | |
mode "todo" { | |
bindsym a mode "default"; exec urxvt -g 80x1 +sb -name floating -e path/to/todo add | |
bindsym l mode "default"; exec urxvt +sb -name floating --hold -e path/to/todo ls -p | |
bindsym d mode "default"; exec urxvt +sb -name floating -e path/to/todo done --fzf | |
bindsym x mode "default"; exec urxvt +sb -name floating --hold -e path/to/todo ctx | |
bindsym p mode "default"; exec urxvt +sb -name floating --hold -e path/to/todo proj | |
bindsym Escape mode "default" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
rofi_path=$(find "$HOME" -type d -path '*/\.*' -prune -o -not -name '.*' -type d | rofi -dmenu) | |
[[ $rofi_path != "" ]] && exec urxvt -e zsh -c "cd $rofi_path; zsh -i" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.window-buttongroup button { | |
background-color: rgba(0,0,0,0) !important; | |
width: 30px !important; | |
} | |
.window-buttongroup button:hover { | |
background-color: rgba(0,0,0,0) !important; | |
} | |
.window-buttongroup button:active { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim | |
index 7ec7b92..dee6d81 100644 | |
--- a/autoload/fzf/vim.vim | |
+++ b/autoload/fzf/vim.vim | |
@@ -281,11 +281,11 @@ function! fzf#vim#_lines(all) | |
if display_bufnames | |
let bufnames = {} | |
for b in s:buflisted() | |
- let bufnames[b] = pathshorten(fnamemodify(bufname(b), ":~:.")) | |
+ let bufnames[b] = fnamemodify(bufname(b), ":~:.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd "$HOME/.password-store" || exit 1 | |
pass_name=$(fd --type file --exec echo '{.}' | rofi -dmenu -i -p "pass") | |
[[ -n $pass_name ]] || exit 1 | |
if pass show -c "$pass_name"; then | |
notify-send --urgency=normal "$pass_name" "Password copied to clipboard!" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
augroup TemplatesVim | |
autocmd! | |
" trigger vim-abolish on template load | |
autocmd User TemplateLoad silent! execute "%S/skeleton-name/" . expand('%:t:r:r') . "/g" | |
augroup END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins": { | |
"node": {}, | |
"modules": {}, | |
"es_modules": {}, | |
"complete_strings": {} | |
}, | |
"libs": [ | |
"browser", | |
"ecmascript" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if system("date +%a") =~? "wed" | set laststatus=0 | endif |
OlderNewer