Update from personal
This commit is contained in:
parent
08bf84229b
commit
6bd09725d5
24
init.vim
24
init.vim
@ -424,12 +424,12 @@ endif
|
||||
autocmd FileType markdown nmap <C-Q> :call BujoSearchCheck()<CR>
|
||||
autocmd FileType markdown imap <C-Q> <esc>:call BujoSearchCheck()<CR>i
|
||||
"
|
||||
autocmd Filetype markdown nmap <buffer> <C-S> i- [ ]
|
||||
autocmd Filetype markdown imap <buffer> <C-S> - [ ]
|
||||
" autocmd Filetype markdown nnoremap <C-S> BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]<CR>' : ':s/\[x\]/\[ \]<CR>'
|
||||
" autocmd Filetype markdown inoremap <C-S> BujoSearchCustom('\[ \]') ? '<esc>:s/\[ \]/\[x\]<CR>' : '<esc>:s/\[x\]/\[ \]<CR>'
|
||||
" autocmd Filetype markdown nnoremap <C-S> BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]<CR>' : ':s/\[x\]/\[ \]<CR>'
|
||||
" autocmd Filetype markdown inoremap <C-S> BujoSearchCustom('\[ \]') ? '<esc>:s/\[ \]/\[x\]<CR>' : '<esc>:s/\[x\]/\[ \]<CR>'
|
||||
autocmd Filetype markdown nmap <buffer> <C-S> i- [ ]
|
||||
autocmd Filetype markdown imap <buffer> <C-S> - [ ]
|
||||
" autocmd Filetype markdown nnoremap <C-S> BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]<CR>' : ':s/\[x\]/\[ \]<CR>'
|
||||
" autocmd Filetype markdown inoremap <C-S> BujoSearchCustom('\[ \]') ? '<esc>:s/\[ \]/\[x\]<CR>' : '<esc>:s/\[x\]/\[ \]<CR>'
|
||||
" autocmd Filetype markdown nnoremap <C-S> BujoSearchCustom('\[ \]') ? ':s/\[ \]/\[x\]<CR>' : ':s/\[x\]/\[ \]<CR>'
|
||||
" autocmd Filetype markdown inoremap <C-S> BujoSearchCustom('\[ \]') ? '<esc>:s/\[ \]/\[x\]<CR>' : '<esc>:s/\[x\]/\[ \]<CR>'
|
||||
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 <Leader>pm :call LoadPerlModule()<CR>
|
||||
|
||||
nnoremap <S-x> "_dh
|
||||
|
||||
" <C-H> is both Ctrl+H and Ctrl+Backspace
|
||||
inoremap <C-H> <C-w>
|
||||
inoremap <C-Del> <C-o>"_dw
|
||||
|
||||
" Enable vim-test with our perl test naming scheme
|
||||
let g:test#perl#prove#file_pattern = 'Test.pm$'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user