Edit RaiseLowerSound; Better nvim

This commit is contained in:
Xamora 2024-01-25 21:48:37 +01:00
parent 42f35e60ec
commit ab0645485c
2 changed files with 5 additions and 3 deletions

View file

@ -38,6 +38,9 @@ call plug#end()
" If there are only terminal and NerdTree, all close
autocmd bufenter * if (winnr("$") == 2 && IsNerdTreeEnabled() && g:terminal_id != -1) | qa | endif
" If there is only NerdTree
autocmd bufenter * if (winnr("$") == 1 && IsNerdTreeEnabled()) | q | endif
" Terminal
function! ToggleTerminal()
if (g:terminal_id == -1)
@ -52,7 +55,6 @@ call plug#end()
let g:terminal_id = -1
nnoremap <C-S-q> :call ToggleTerminal()<CR>
nnoremap <C-S-a> :echo win_getid()<CR>
" NerdTree
"

View file

@ -252,6 +252,6 @@ bindsym XF86MonBrightnessUp exec brightnessctl set 2%+
bindsym $mod+XF86MonBrightnessDown exec brightnessctl set 1
bindsym XF86AudioMute exec amixer sset Master toggle
bindsym XF86AudioLowerVolume exec amixer sset Master 10%-
bindsym XF86AudioRaiseVolume exec amixer sset Master 10%+
bindsym XF86AudioLowerVolume exec amixer sset Master 5%-
bindsym XF86AudioRaiseVolume exec amixer sset Master 5%+