diff --git a/init.vim b/init.vim index 452523c..f51c18b 100644 --- a/init.vim +++ b/init.vim @@ -424,12 +424,12 @@ endif autocmd FileType markdown nmap :call BujoSearchCheck() autocmd FileType markdown imap :call BujoSearchCheck()i " - autocmd Filetype markdown nmap i- [ ] - autocmd Filetype markdown imap - [ ] - " autocmd Filetype markdown nnoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' - " autocmd Filetype markdown inoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' - " autocmd Filetype markdown nnoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' - " autocmd Filetype markdown inoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' + autocmd Filetype markdown nmap i- [ ] + autocmd Filetype markdown imap - [ ] + " autocmd Filetype markdown nnoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' + " autocmd Filetype markdown inoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' + " autocmd Filetype markdown nnoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' + " autocmd Filetype markdown inoremap BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]' : ':s/\[x\]/\[ \]' augroup END " }}} @@ -538,7 +538,8 @@ endif \ '-Wfloat-equal', \ '-std=c99', \ '-I.', - \ '-fopenmp' + \ '-fopenmp', + \ '-lm' \ ] " Configure for C++ @@ -551,7 +552,8 @@ endif \ '-Wfloat-equal', \ '-std=c++17', \ '-I.', - \ '-fopenmp' + \ '-fopenmp', + \ '-lm' \ ] " Configure for Rust @@ -872,7 +874,7 @@ augroup END " Add 80 character line limit {{ augroup textwrapping au! - au FileType tex,markdown setlocal textwidth=80 + " au FileType tex setlocal textwidth=80 augroup END set colorcolumn=82 " }} @@ -902,6 +904,10 @@ nnoremap pm :call LoadPerlModule() nnoremap "_dh +" is both Ctrl+H and Ctrl+Backspace +inoremap +inoremap "_dw + " Enable vim-test with our perl test naming scheme let g:test#perl#prove#file_pattern = 'Test.pm$'