diff options
| author | Andrew <saintruler@gmail.com> | 2021-07-07 00:39:27 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2021-07-07 00:39:27 +0400 |
| commit | d3a3b2318e3bfb1e447674582a22fe1737b18c02 (patch) | |
| tree | a93757bcde9cc9110b806411d162f83fbd62fed5 | |
| parent | 7c867644730a90f81a1a326b0747cb5b23621318 (diff) | |
Added shortcuts for splits in vim and made scan time in bluecontrol script run longer
| -rw-r--r-- | .config/nvim/init.vim | 3 | ||||
| -rwxr-xr-x | .local/bin/scripts/bluecontrol | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 48e8da8..0ba1a4f 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -54,8 +54,9 @@ nnoremap <C-K> <C-W><C-K> nnoremap <C-L> <C-W><C-L> nnoremap <C-H> <C-W><C-H> -nmap <leader>s <ESC>:vsplit<CR> +nmap <leader>s <ESC>:vsplit<CR> nmap <leader>vs <ESC>:split<CR> +nmap <leader>f <ESC>za " NERDCommenter config let g:NERDSpaceDelims = 1 diff --git a/.local/bin/scripts/bluecontrol b/.local/bin/scripts/bluecontrol index f69def3..ec57a1b 100755 --- a/.local/bin/scripts/bluecontrol +++ b/.local/bin/scripts/bluecontrol @@ -21,7 +21,7 @@ fPower() fScan() { - local time=5 + local time=60 notify-send "Turning on scanning for $time seconds" timeout $time bluetoothctl -- scan on notify-send "Scanning turned off" |