Compare commits

...

3 Commits

Author SHA1 Message Date
randomuser bbc09fa9a2 add nnoremap to init.vim 2022-08-16 20:46:09 -05:00
randomuser 5375d27040 add bspwm and sxhkd configurations 2022-08-16 20:45:37 -05:00
randomuser 2df2fee5e0 vimrc changes 2022-08-09 08:31:29 -05:00
3 changed files with 14 additions and 1 deletions

View File

@ -20,3 +20,4 @@ bspc config top_padding 20
bspc rule -a st-gpg-menu state=floating
bspc rule -a statusbar border=off sticky=on state=floating manage=off
bspc rule -a tmenu-prompt border=on sticky=on state=floating
bspc rule -a Xmessage border=on state=floating

View File

@ -52,10 +52,11 @@ nnoremap <Leader>fs :Lexplore<CR>
nnoremap <Leader>ke :e ~/.config/nvim/init.vim <CR>ggzR/shortcuts<CR>z<CR>
" jk to escape insert mode
inoremap jk <esc>
inoremap <esc> <esc>:echo "use jk instead!"<CR>2gsi
" go back to the previous error, then correct
inoremap <C-d> <c-g>u<Esc>[s1z=`]a<c-g>u
inoremap qp <c-g>u<Esc>[s1z=`]a<c-g>u
inoremap <C-s> <Esc>zgi
inoremap qo <Esc>zgi
nnoremap <C-s> zg
tnoremap <Esc> <C-\><C-n>
nnoremap <Leader>wl <C-w>\<
@ -63,6 +64,8 @@ nnoremap <Leader>wr <C-w>\>
nnoremap <Leader>wd <C-w>-
nnoremap <Leader>wu <C-w>+
nnoremap <Leader>mk :make<CR>:spl<CR>:terminal ./main<CR>
" }}}
" autocmds {{{

View File

@ -15,6 +15,9 @@ super + r
pkill -USR1 -x sxhkd; \
bspc wm -r
super + ctrl + shift + b
brightness
super + w
wallpaper
@ -27,6 +30,9 @@ super + ctrl + n
super + ctrl + t
st -e htop
super + m
lobster
{XF86Display,super + }
disp
@ -45,6 +51,9 @@ super + b
super + shift + b
fire -P
super + ctrl + b
chromium
super + {_,shift + }v
vol {inc,dec}