This commit is contained in:
parent
cc1b3a4331
commit
93da409d34
12
config.yaml
12
config.yaml
|
@ -37,12 +37,13 @@ profiles:
|
|||
- mutt
|
||||
- crontab
|
||||
- theme
|
||||
- blender
|
||||
variables:
|
||||
key:
|
||||
left: h
|
||||
down: t
|
||||
up: n
|
||||
right: s
|
||||
left: n
|
||||
down: e
|
||||
up: i
|
||||
right: o
|
||||
next: l
|
||||
font:
|
||||
mono: Fira Code
|
||||
|
@ -154,6 +155,9 @@ dotfiles:
|
|||
dst: ~/.config/mpv/mpv.conf
|
||||
actions:
|
||||
- sponsorblock
|
||||
blender:
|
||||
src: blenderTheme.xml
|
||||
dst: ~/.config/blender/2.83/scripts/presets/interface_theme/blenderTheme.xml
|
||||
actions:
|
||||
notify: notify-send "Updating dotfiles"
|
||||
makoreload: makoctl reload
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -48,7 +48,9 @@
|
|||
" \}
|
||||
|
||||
" Debugger
|
||||
" Plug 'vim-vdebug/vdebug'
|
||||
let g:vimspector_install_gadgets = [ 'debugpy', 'vscode-cpptools', 'CodeLLDB' ]
|
||||
let g:vimspector_enable_mappings = 'HUMAN'
|
||||
Plug 'puremourning/vimspector'
|
||||
|
||||
" Fuzzy find
|
||||
Plug 'junegunn/fzf'
|
||||
|
@ -60,7 +62,7 @@
|
|||
" HTML shortcuts
|
||||
Plug 'mattn/emmet-vim'
|
||||
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
" Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'junegunn/vim-easy-align'
|
||||
Plug 'tpope/vim-commentary'
|
||||
|
@ -199,13 +201,20 @@ call plug#end()
|
|||
|
||||
noremap {{@@ key.next @@}} n
|
||||
noremap {{@@ key.next.upper() @@}} N
|
||||
|
||||
noremap t i
|
||||
noremap T I
|
||||
|
||||
noremap h o
|
||||
noremap H O
|
||||
|
||||
" Added benefits
|
||||
noremap - $
|
||||
noremap _ ^
|
||||
" noremap N <C-w><C-w>
|
||||
" noremap T <C-w><C-r>
|
||||
noremap H 8<Down>
|
||||
noremap T 8<Up>
|
||||
noremap {{@@ key.down.upper() @@}} 8<Down>
|
||||
noremap {{@@ key.up.upper() @@}} 8<Up>
|
||||
" noremap D <C-w><C-r>
|
||||
|
||||
" Single charater traversal
|
||||
|
@ -215,7 +224,7 @@ call plug#end()
|
|||
"I deserve the death sentence
|
||||
nmap <C-s> :wa<CR>
|
||||
|
||||
"open and close folds
|
||||
"open folds
|
||||
nmap <silent> {{@@ key.right @@}} <right>
|
||||
noremap <silent> <right> <right>:silent! foldopen<CR>
|
||||
|
||||
|
@ -235,7 +244,7 @@ call plug#end()
|
|||
set ignorecase
|
||||
|
||||
map <C-j> :GFiles<CR>
|
||||
map <C-q> :Files<CR>
|
||||
" map <C-q> :Files<CR>
|
||||
|
||||
"}}}
|
||||
" Lanugage Server{{{
|
||||
|
|
|
@ -378,8 +378,13 @@ config.bind(",r", "spawn --userscript readability")
|
|||
config.bind(";e", "hint links spawn deemix '{hint-url}'")
|
||||
config.bind(";m", "hint links spawn mpv --fs {hint-url}")
|
||||
|
||||
config.bind("e", "hint all")
|
||||
config.bind("E", "hint all tab")
|
||||
config.bind("s", "hint all")
|
||||
config.bind("S", "hint all tab")
|
||||
|
||||
config.bind("h", "set-cmd-text -s :open")
|
||||
config.bind("H", "set-cmd-text -s :open -t")
|
||||
|
||||
config.bind("t", "enter-mode insert")
|
||||
|
||||
config.bind("{{@@ key.next @@}}", "search-next")
|
||||
config.bind("{{@@ key.next.upper() @@}}", "search-prev")
|
||||
|
|
|
@ -35,7 +35,7 @@ case $action in
|
|||
if [ $(swaymsg -t get_tree | jq -r '.. | select(.focused? == true).app_id') = "org.qutebrowser.qutebrowser" ]
|
||||
then
|
||||
ydotool key esc
|
||||
ydotool key i
|
||||
ydotool key t
|
||||
fi
|
||||
ydotool type "$username"
|
||||
ydotool key tab
|
||||
|
@ -47,4 +47,4 @@ case $action in
|
|||
printf '%s' "$password" | wl-copy;;
|
||||
esac
|
||||
|
||||
swaymsg input \* xkb_layout 'br(dvorak)'
|
||||
swaymsg input \* xkb_layout 'us(colemak)'
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
set $down {{@@ key.down @@}}
|
||||
set $up {{@@ key.up @@}}
|
||||
set $right {{@@ key.right @@}}
|
||||
set $menu e
|
||||
set $suspend o
|
||||
set $kill k
|
||||
set $menu s
|
||||
set $suspend b
|
||||
set $kill x
|
||||
set $mus r
|
||||
|
||||
set $term terminal
|
||||
|
@ -61,7 +61,7 @@
|
|||
}
|
||||
|
||||
input * {
|
||||
xkb_layout br(dvorak)
|
||||
xkb_layout us(colemak)
|
||||
xkb_options caps:backspace
|
||||
xkb_numlock enabled
|
||||
}
|
||||
|
@ -79,7 +79,7 @@
|
|||
#start file manager
|
||||
bindsym $mod+m exec nemo
|
||||
|
||||
bindsym $mod+i exec emoji
|
||||
bindsym $mod+j exec emoji
|
||||
|
||||
# Kill focused window
|
||||
bindsym $mod+$kill kill
|
||||
|
@ -100,7 +100,7 @@
|
|||
bindsym $mod+Control+$suspend exec loginctl suspend
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yes, exit sway' 'swaymsg exit'
|
||||
bindsym $mod+Shift+q exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
bindsym Control+Shift+BackSpace exit
|
||||
|
||||
|
@ -132,8 +132,8 @@
|
|||
#}}}
|
||||
# Workspaces: {{{
|
||||
|
||||
bindsym $mod+j workspace next
|
||||
bindsym $mod+q workspace prev
|
||||
bindsym $mod+u workspace prev
|
||||
bindsym $mod+y workspace next
|
||||
|
||||
# Switch to workspace
|
||||
# Move focused container to workspace
|
||||
|
@ -160,8 +160,8 @@
|
|||
bindsym $mod+v splitv
|
||||
|
||||
# Layout styles
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+o layout toggle split
|
||||
bindsym $mod+t layout tabbed
|
||||
bindsym $mod+r layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
@ -193,6 +193,9 @@
|
|||
# Screen recorder
|
||||
bindsym Control+Alt+Shift+r exec wf-recorder -a
|
||||
|
||||
# Mirror selection as window
|
||||
bindsym $mod+Alt+r exec sssway
|
||||
|
||||
# Color picker
|
||||
bindsym $mod+c exec color-picker
|
||||
|
||||
|
|
Reference in New Issue