From 1688fdbe9dca8ff9eaa674de44b5f336a623b742 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 23 Apr 2020 22:44:46 -0400 Subject: auto push --- .old/deoplete.vim | 37 ---------------------------- .old/install/install.sh | 63 ------------------------------------------------ .old/language_server.vim | 21 ---------------- .old/neosnippets.vim | 22 ----------------- 4 files changed, 143 deletions(-) delete mode 100644 .old/deoplete.vim delete mode 100755 .old/install/install.sh delete mode 100644 .old/language_server.vim delete mode 100644 .old/neosnippets.vim diff --git a/.old/deoplete.vim b/.old/deoplete.vim deleted file mode 100644 index 4023f5fc..00000000 --- a/.old/deoplete.vim +++ /dev/null @@ -1,37 +0,0 @@ -" Enable deoplete -let g:deoplete#enable_at_startup = 1 -let g:deoplete#complete_method = "omnifunc" -let g:deoplete#auto_complete_delay = 0 -""let g:deoplete#max_menu_width = 10 -" let g:deoplete#ignore_sources = ['buffer'] -" Close previews immediately -autocmd CompleteDone * silent! pclose! - -"better nav for omnicomplete -inoremap ("\") -inoremap ("\") - -": completion. -""inoremap pumvisible() ? "\" : "\" -"use TAB as the mapping -inoremap - \ pumvisible() ? "\" : - \ check_back_space() ? "\" : - \ deoplete#mappings#manual_complete() -function! s:check_back_space() abort "" - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~ '\s' -endfunction "" -inoremap pumvisible() ? "\" : "\" -inoremap deoplete#smart_close_popup()."\" - - -" Only get completion candidates from these -"call deoplete#custom#option('sources', { - "\ 'python': ['file', 'LanguageClient', 'neosnippet'], - "\ }) - -" Sort matches alphabetically -call deoplete#custom#source('_', 'sorters', ['sorter_word']) -" Disable shorter or equal length matches -call deoplete#custom#source('_', 'matchers', ['matcher_fuzzy', 'matcher_length']) diff --git a/.old/install/install.sh b/.old/install/install.sh deleted file mode 100755 index b3ba11b9..00000000 --- a/.old/install/install.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -#if [ "$(uname)" == "Darwin" ]; then - #echo 'MacOS Detected' - #echo "installing miniconda" - #wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/.config/nvim/install/miniconda.sh - #echo " Grabbing a font to use foe devicons " - #brew tap homebrew/cask-fonts - #brew cask install font-hack-nerd-font - #brew install ranger -#elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then - #echo 'Linux Detected' - #wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/.config/nvim/install/miniconda.sh - #mkdir -p ~/.local/share/fonts - #cd ~/.local/share/fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20Nerd%20Font%20Complete.otf -#fi - -#chmod +x ~/.config/nvim/install/miniconda.sh - -#sh ~/.config/nvim/install/miniconda.sh -b -f -p $HOME/.miniconda - -#echo '# Miniconda' >> ~/.zshrc -#echo 'export PATH="$HOME/.miniconda/bin:$PATH"' >> ~/.zshrc - -#. ~/.zshrc - -#conda create --name neovim python=3.8 --yes - -#. activate neovim - -#pip install neovim - -#. deactivate - -#conda create --name pyls python=3.7 --yes - -#. activate pyls - -#pip install 'python-language-server[all]' -#pip install vim-vint - -#. deactivate - -#pip install 'python-language-server[all]' - -#if [ ! -f ~/.bash_aliases ]; then -# echo ".bash_aliases not found!" -# touch ~/.bash_aliases -# echo 'source ~/.bash_aliases' >> ~/.bashrc -#fi - -#echo 'alias mkenv="conda create --clone pyls --name"' >> ~/.bash_aliases - -#echo 'let g:python3_host_prog = expand("~/.miniconda/envs/neovim/bin/python3.8")' > ~/.config/nvim/modules/pythonpath.vim - -if [ ! -d ~/.config/nvim/dein ]; then - echo "dein package manager not found" - sh ~/.config/nvim/install/utils/installer.sh ~/.config/nvim/dein -fi - -# Cleanup - -#rm ~/.config/nvim/install/miniconda.sh diff --git a/.old/language_server.vim b/.old/language_server.vim deleted file mode 100644 index 78b6a046..00000000 --- a/.old/language_server.vim +++ /dev/null @@ -1,21 +0,0 @@ -" Required for operations modifying multiple buffers like rename. -set hidden -" always show signcolumns -set signcolumn=yes -let g:LanguageClient_autoStart = 1 - -let g:LanguageClient_serverCommands = { - \ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'], - \ 'javascript': ['javascript-typescript-stdio'], - \ 'javascript.jsx': ['javascript-typescript-stdio'], - \ 'python': ['~/.miniconda/envs/neovim/bin/pyls'], - \ 'sh': ['bash-language-server', 'start'], - \ 'c' : ['cquery'], - \ 'cpp' : ['cquery'], - \ } -nnoremap gh :call LanguageClient_textDocument_hover() -nnoremap gd :call LanguageClient_textDocument_definition() -nnoremap gr :call LanguageClient_textDocument_rename() -nnoremap gc :call LanguageClient_contextMenu() -nnoremap fr :call LanguageClient_textDocument_references() -""nnoremap fix :call LanguageClient#textDocument_formatting() diff --git a/.old/neosnippets.vim b/.old/neosnippets.vim deleted file mode 100644 index bbb5fc2a..00000000 --- a/.old/neosnippets.vim +++ /dev/null @@ -1,22 +0,0 @@ -" Plugin key-mappings. -" Note: It must be "imap" and "smap". It uses mappings. -imap (neosnippet_expand_or_jump) -smap (neosnippet_expand_or_jump) -xmap (neosnippet_expand_target) - -imap (neosnippet_expand_or_jump) -smap (neosnippet_expand_or_jump) -xmap (neosnippet_expand_target) -" SuperTab like snippets behavior. -" Note: It must be "imap" and "smap". It uses mappings. -"imap -" \ pumvisible() ? "\" : -" \ neosnippet#expandable_or_jumpable() ? -" \ "\(neosnippet_expand_or_jump)" : "\" -smap neosnippet#expandable_or_jumpable() ? -\ "\(neosnippet_expand_or_jump)" : "\" - -" For conceal markers. -""if has('conceal') -"" set conceallevel=2 concealcursor=niv -""endif -- cgit v1.2.3