mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update bspwm(rule for librewolf), sxhkd(add tofoist), nvim(update hothey)
This commit is contained in:
parent
5cc8e020c1
commit
43590a7557
5 changed files with 22 additions and 21 deletions
|
|
@ -38,6 +38,7 @@ bspc rule -a Alacritty desktop='^1' focus=on follow=on
|
|||
bspc rule -a kitty desktop='^1' focus=on follow=on
|
||||
bspc rule -a firefox desktop='^2' focus=on follow=on
|
||||
bspc rule -a Google-chrome desktop='^2' focus=on follow=on
|
||||
bspc rule -a LibreWolf desktop='^2' focus=on follow=on
|
||||
bspc rule -a Code desktop='^3' focus=on follow=on
|
||||
bspc rule -a Emacs desktop='^3' focus=on follow=on state='tiled'
|
||||
bspc rule -a '*:nvim' desktop='^3' focus=on follow=on
|
||||
|
|
|
|||
|
|
@ -6,12 +6,13 @@ super + {_,shift} Return
|
|||
{kitty, \
|
||||
rofi -show drun -theme ntenV2}
|
||||
|
||||
super + shift + {w, f, e, c, s, q}
|
||||
super + shift + {w, f, e, c, s, t, q}
|
||||
{google-chrome-stable, \
|
||||
kitty --class ranger -e ranger, \
|
||||
kitty --class nvim -e nvim, \
|
||||
code, \
|
||||
.applications/simplenote.appimage, \
|
||||
.applications/todoist.appimage, \
|
||||
xkill }
|
||||
|
||||
super + {_,shift} Print
|
||||
|
|
|
|||
|
|
@ -27,9 +27,6 @@ set autoindent
|
|||
set laststatus=0
|
||||
set ruler
|
||||
|
||||
" Folding
|
||||
set foldmethod=manual
|
||||
|
||||
" Maximux item in popup
|
||||
set pumheight=9
|
||||
|
||||
|
|
@ -64,7 +61,7 @@ set autoread
|
|||
set hidden
|
||||
|
||||
" Space/tab indicator
|
||||
set list listchars=tab:\|·,trail:~,extends:>,precedes:<,space:·,eol:\
|
||||
set list listchars=tab:\|·,trail:~,extends:>,precedes:<,space:·
|
||||
|
||||
" Disable sound
|
||||
set visualbell t_vb=
|
||||
|
|
@ -83,18 +80,17 @@ command! ESlint :!eslint %
|
|||
command! Flake8 :!flake8 %
|
||||
command! Black :silent !black %
|
||||
command! AutoPep8 :silent !autopep8 % --in-place
|
||||
command! GoFmt :silent !gofmt -w %
|
||||
|
||||
|
||||
"== Mapping
|
||||
let mapleader=";"
|
||||
|
||||
inoremap ii <esc>
|
||||
|
||||
" Alternative keys
|
||||
nnoremap <C-s> :w<CR>
|
||||
nnoremap <C-n> :tabnew<CR>
|
||||
nnoremap <space> :nohl<CR>
|
||||
nnoremap <leader>rr :so ~/.config/nvim/init.vim<CR>
|
||||
nnoremap <C-s> :w<CR>
|
||||
nnoremap <C-n> :tabnew<CR>
|
||||
nnoremap <space> :nohl<CR>
|
||||
|
||||
" Window
|
||||
nnoremap <C-h> :wincmd h<CR>
|
||||
|
|
@ -105,8 +101,8 @@ nnoremap <C-l> :wincmd l<CR>
|
|||
" Split
|
||||
nnoremap spv :vsp<CR>
|
||||
nnoremap sph :sp<CR>
|
||||
nnoremap spk :wincmd K<CR>
|
||||
nnoremap spl :wincmd L<CR>
|
||||
nnoremap spj :wincmd K<CR>
|
||||
nnoremap spk :wincmd L<CR>
|
||||
|
||||
" Tab
|
||||
nnoremap tn :tabnew<CR>
|
||||
|
|
@ -124,11 +120,11 @@ nnoremap <A-9> :tabn 9<CR>
|
|||
" Buffer
|
||||
nnoremap <leader>j :bnext<CR>
|
||||
nnoremap <leader>k :bprev<CR>
|
||||
nnoremap <leader>h :bdele<CR>
|
||||
|
||||
" Work with system clipboard
|
||||
noremap <leader>c "*yy<CR>
|
||||
noremap <leader>v "+p<CR>
|
||||
|
||||
" Terminal
|
||||
nnoremap <leader>t :vsp<CR>:term<CR>:startinsert<CR>
|
||||
tnoremap <Esc> <C-\><C-n>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue