From 53ad321dec265dd2f625197493a9848a7559a410 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 23 Aug 2020 17:50:44 +0200 Subject: Minor changes --- vim/.vim/spell/en.utf-8.add | 2 ++ vim/.vim/spell/en.utf-8.add.spl | Bin 1067 -> 1111 bytes vim/.vimrc | 49 ++++++++++++++++++++-------------------- 3 files changed, 27 insertions(+), 24 deletions(-) (limited to 'vim') diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add index ed6a065..b70e5e7 100644 --- a/vim/.vim/spell/en.utf-8.add +++ b/vim/.vim/spell/en.utf-8.add @@ -67,3 +67,5 @@ colorscheme plugin hypoellipticity minorization +perturbative +documentclass diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl index e68d3e5..459931e 100644 Binary files a/vim/.vim/spell/en.utf-8.add.spl and b/vim/.vim/spell/en.utf-8.add.spl differ diff --git a/vim/.vimrc b/vim/.vimrc index 22447e8..77189c5 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -89,20 +89,19 @@ nnoremap cpu :GundoToggle nnoremap cp Remembrall('cp') " Fuzzy finder -nnoremap a :Ag -nnoremap b :Buffers -nnoremap C :Colors -nnoremap f :Files -nnoremap g :GitFiles -nnoremap r :History -nnoremap : :History: -nnoremap / :History/ -nnoremap l :BLines -nnoremap a :Ag - -nnoremap :Buffers -nnoremap :Files -nnoremap :GitFiles +nnoremap a :Ag +nnoremap b :Buffers +nnoremap C :Colors +nnoremap f :Files +nnoremap g :GitFiles +nnoremap r :History +nnoremap : :History: +nnoremap / :History/ +nnoremap l :BLines + +nnoremap :Buffers +nnoremap :Files +nnoremap :GitFiles " Fugitive nnoremap gs :Gstatus @@ -481,16 +480,18 @@ if has("nvim") endif "" Experimental {{{1 -lua require'nvim_lsp'.pyls.setup{} -autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc -nnoremap Remembrall('') -nnoremap h lua vim.lsp.buf.hover() -nnoremap a lua vim.lsp.buf.declaration() -nnoremap d lua vim.lsp.buf.definition() -nnoremap i lua vim.lsp.buf.implementation() -nnoremap s lua vim.lsp.buf.signature_help() -nnoremap t lua vim.lsp.buf.type_definition() -nnoremap lua vim.lsp.stop_client(vim.lsp.get_active_clients()) +if has("nvim") + lua require'nvim_lsp'.pyls.setup{} + autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc + nnoremap Remembrall('') + nnoremap h lua vim.lsp.buf.hover() + nnoremap a lua vim.lsp.buf.declaration() + nnoremap d lua vim.lsp.buf.definition() + nnoremap i lua vim.lsp.buf.implementation() + nnoremap s lua vim.lsp.buf.signature_help() + nnoremap t lua vim.lsp.buf.type_definition() + nnoremap lua vim.lsp.stop_client(vim.lsp.get_active_clients()) +endif function Create_floating_buffer() let buffer = nvim_create_buf(1, 0) -- cgit v1.2.3