diff options
| author | Chris <[email protected]> | 2020-04-23 22:44:46 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2020-04-23 22:44:46 -0400 | 
| commit | 1688fdbe9dca8ff9eaa674de44b5f336a623b742 (patch) | |
| tree | 4c4aba3388ca36c08de9f864bcf286065fa1403a | |
| parent | 29b0a5c47862f387c5905a85d2c03e056003b915 (diff) | |
auto push
| -rw-r--r-- | .old/deoplete.vim | 37 | ||||
| -rwxr-xr-x | .old/install/install.sh | 63 | ||||
| -rw-r--r-- | .old/language_server.vim | 21 | ||||
| -rw-r--r-- | .old/neosnippets.vim | 22 | 
4 files changed, 0 insertions, 143 deletions
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 <expr> <c-j> ("\<C-n>") -inoremap <expr> <c-k> ("\<C-p>") - -"<TAB>: completion. -""inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" -"use TAB as the mapping -inoremap <silent><expr> <TAB> -      \ pumvisible() ?  "\<C-n>" : -      \ <SID>check_back_space() ? "\<TAB>" : -      \ deoplete#mappings#manual_complete() -function! s:check_back_space() abort ""      -  let col = col('.') - 1 -  return !col || getline('.')[col - 1]  =~ '\s' -endfunction ""    -inoremap <silent><expr><S-TAB>  pumvisible() ? "\<C-p>" : "\<TAB>" -inoremap <expr><BS>  deoplete#smart_close_popup()."\<C-h>" - - -" 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 <silent> <leader>gh :call LanguageClient_textDocument_hover()<CR> -nnoremap <silent> <leader>gd :call LanguageClient_textDocument_definition()<CR> -nnoremap <silent> <leader>gr :call LanguageClient_textDocument_rename()<CR> -nnoremap <silent> <leader>gc :call LanguageClient_contextMenu()<CR> -nnoremap <silent> <leader>fr :call LanguageClient_textDocument_references()<CR> -""nnoremap <silent> <leader>fix :call LanguageClient#textDocument_formatting()<CR> 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 <Plug> mappings. -imap <C-l>     <Plug>(neosnippet_expand_or_jump) -smap <C-l>     <Plug>(neosnippet_expand_or_jump) -xmap <C-l>     <Plug>(neosnippet_expand_target) - -imap <F4>     <Plug>(neosnippet_expand_or_jump) -smap <F4>     <Plug>(neosnippet_expand_or_jump) -xmap <F4>     <Plug>(neosnippet_expand_target) -" SuperTab like snippets behavior. -" Note: It must be "imap" and "smap".  It uses <Plug> mappings. -"imap <expr><TAB> -" \ pumvisible() ? "\<C-n>" : -" \ neosnippet#expandable_or_jumpable() ? -" \    "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" -smap <expr><TAB> neosnippet#expandable_or_jumpable() ? -\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" - -" For conceal markers. -""if has('conceal') -""  set conceallevel=2 concealcursor=niv -""endif  | 
