Browse Source

update countdown_timer, gdbdashboard, and vimrc

master
= 6 years ago
parent
commit
2c24428103
  1. 5
      bash_scripts/countdown_timer.sh
  2. 2
      gdb/.gdbinit.d/gdbdashbard.conf
  3. 3
      vim/.vimrc

5
bash_scripts/countdown_timer.sh

@ -4,10 +4,11 @@ PLAYSOUND=true
PLAYER=mpv
FILE="/usr/share/sounds/freedesktop/stereo/message.oga"
echo "Counting down from ${1}"
seconds=${1:-180}
echo "Counting down from $seconds"
Msg=${2}
let "i = ${1}"
let "i = $seconds"
while [ $i -gt 0 ]; do
echo $i
let i--

2
gdb/.gdbinit.d/gdbdashbard.conf

@ -1,6 +1,6 @@
# auto generated by GDB dashboard
dashboard -layout assembly !registers stack memory source expressions !history !threads
dashboard -layout !assembly !registers stack memory source expressions !history !threads
dashboard -style syntax_highlighting 'rrt'
dashboard -style style_low '0;37'
dashboard source -style context 15

3
vim/.vimrc

@ -41,6 +41,7 @@ set hlsearch
set wrap
set mouse+=a
set noequalalways " don't auto resize windows when closing (eg: qf window)
set colorcolumn=80,100
" don't clutter directories with backup files
set nobackup
@ -104,7 +105,7 @@ map <C-PageUp> :bprev<CR>
" jump to word under cursor in a preview window
noremap <F2> :ptjump <c-r><c-w> <cr>
" search for word under cursor in current directory
noremap <F3> ::AsyncRun grep -RIn --exclude=tags <c-r><c-w> <cr>
noremap <F3> ::AsyncRun grep -RIn --exclude=tags --exclude-dir=build <c-r><c-w> <cr>
" close and delete current buffer
noremap <F4> :bp\|bd #<cr>
noremap <F5> :call RunMake()<cr>

Loading…
Cancel
Save