diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -190,13 +190,13 @@ let g:vimtex_view_method='zathura' let g:vimtex_quickfix_mode=2 let g:vimtex_compiler_progname='nvr' let g:vimtex_syntax_enabled=1 -" let g:vimtex_fold_types = { -" \ 'preamble' : {'enabled' : 0}, -" \ 'envs' : { -" \ 'blacklist' : ['lemma', 'proposition', 'theorem', 'equation'], -" \ 'whitelist' : ['proof'], -" \ }, -" \} +let g:vimtex_toc_config={ + \ 'layer_status': { + \ 'content': 1, + \ 'label': 0, + \ 'todo': 1, + \ 'include': 1 }, + \ 'show_help': 0} " Pilot let g:pilot_boundary='ignore' @@ -492,11 +492,10 @@ nnoremap <silent> <c-g>s <cmd>lua vim.lsp.buf.signature_help()<cr> nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr> nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr> -" highlight LineNr ctermbg=159 ctermfg=27 guibg=#afffff guifg=#005fff -" highlight StatusLineNC ctermbg=22 ctermfg=121 guibg=#005f00 guifg=#87ffaf -" highlight Comment ctermbg=159 ctermfg=195 guibg=#afffff guifg=#d7ffff -" highlight Normal ctermbg=195 ctermfg=237 guibg=#d7ffff guifg=#3a3a3a -" highlight Special ctermfg=96 guifg=#875f87 -" highlight StatusLine ctermbg=131 ctermfg=223 guibg=#af5f5f guifg=#ffd7af -" highlight Statement ctermfg=65 guifg=#5f875f -" highlight Type ctermfg=254 guifg=#e4e4e4 +function Create_floating_buffer() + let buffer = nvim_create_buf(1, 0) + call nvim_open_win(buffer, 1, {'relative': 'editor', 'width': 100, 'height': 20, 'row': 10, 'col': 5}) +endfunction + +command! Fnew call Create_floating_buffer() +" let g:ripple_winpos = "Fnew" |