Remove vim todos form old config

This commit is contained in:
Thomas Dehaeze 2020-11-03 11:31:16 +01:00
parent 556e31ba92
commit 99beff129d

View File

@ -577,9 +577,8 @@ au BufRead,BufNewFile *.md setlocal spell spelllang=fr,en
** LaTeX ** LaTeX
#+begin_src vimrc #+begin_src vimrc
" TODO : améliorer ça
au BufRead,BufNewFile *.tikz set filetype=tex au BufRead,BufNewFile *.tikz set filetype=tex
let tex_no_error=1 " TODO: used to not highlight underscores let tex_no_error=1 " used to not highlight underscores
au BufRead,BufNewFile *.tex set filetype=tex au BufRead,BufNewFile *.tex set filetype=tex
au BufRead,BufNewFile *.tex let b:AutoPairs={'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '$':'$'} au BufRead,BufNewFile *.tex let b:AutoPairs={'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '$':'$'}
@ -628,8 +627,6 @@ au FileType python nmap <buffer> <localleader><localleader> <Plug>SlimeParagraph
au FileType python vmap <buffer> <localleader><localleader> <Plug>SlimeRegionSend au FileType python vmap <buffer> <localleader><localleader> <Plug>SlimeRegionSend
" CD to directory of current file " CD to directory of current file
" TODO - Should enter the command. This just output the command without runing
" it...
au FileType python nmap <buffer> <localleader>c :SlimeSend0('cd '.expand('%:p:h'))<CR> au FileType python nmap <buffer> <localleader>c :SlimeSend0('cd '.expand('%:p:h'))<CR>
" let python_highlight_all = 1 " let python_highlight_all = 1
@ -652,7 +649,7 @@ au FileType python nmap <buffer> <localleader>c :SlimeSend0('cd '.expand('%:p:h'
** Matlab ** Matlab
#+begin_src vimrc #+begin_src vimrc
" TODO Run Section (delimited by %%) " Run Section (delimited by %%)
au FileType matlab nmap <buffer> <localleader>mm <Plug>SlimeParagraphSend au FileType matlab nmap <buffer> <localleader>mm <Plug>SlimeParagraphSend
let g:which_key_map_local.m = { 'name' : '+matlab' } let g:which_key_map_local.m = { 'name' : '+matlab' }
@ -692,15 +689,6 @@ au FileType matlab nmap <buffer> <localleader>mw :SlimeSend0('workspace')<CR>
let g:which_key_map_local.mr = 'workspace' let g:which_key_map_local.mr = 'workspace'
#+end_src #+end_src
** Sage
#+begin_src vimrc
" TODO Run Section
au FileType sage.python nmap <buffer> <localleader><localleader> <Plug>SlimeParagraphSend
" Run Selected text
au FileType sage.python vmap <buffer> <localleader><localleader> <Plug>SlimeRegionSend
#+end_src
** Save Which Key Configuration ** Save Which Key Configuration
#+begin_src vimrc #+begin_src vimrc
call which_key#register(',', "g:which_key_map_local") call which_key#register(',', "g:which_key_map_local")
@ -1015,9 +1003,7 @@ let g:which_key_map.f.f = 'find-file'
" Find File corresping to Word " Find File corresping to Word
nnoremap <leader>fw nnoremap <leader>fw
\ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('<cword>')]}))<cr> \ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('<cword>')]}))<cr>
" TODO - Add visual keymap
" vnoremap <leader>fw
" \ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', <C-r>0]}))<cr>
let g:which_key_map.f.w = 'find-file-word' let g:which_key_map.f.w = 'find-file-word'
#+end_src #+end_src
@ -1268,7 +1254,6 @@ noremap <leader>sw :exe ':Rg ' . expand('<cword>')<CR>
let g:which_key_map.s.w = 'search-word' let g:which_key_map.s.w = 'search-word'
" Search todo keyboard " Search todo keyboard
" TODO - should not have to press enter
nnoremap <leader>st :Grepper -tool rg -query TODO<CR> nnoremap <leader>st :Grepper -tool rg -query TODO<CR>
let g:which_key_map.s.t = 'search-todos' let g:which_key_map.s.t = 'search-todos'
#+end_src #+end_src