set nocompatible " be iMproved, required filetype off " required call plug#begin() Plug 'itchyny/lightline.vim' Plug 'vim-scripts/c.vim' Plug 'arcticicestudio/nord-vim' Plug 'scrooloose/nerdtree' Plug 'jistr/vim-nerdtree-tabs' Plug 'fweep/vim-tabber.git' Plug 'rhysd/vim-clang-format' Plug 'kana/vim-operator-user' Plug 'https://github.com/antoyo/vim-licenses' Plug 'rust-lang/rust.vim' Plug 'Shougo/deoplete.nvim' Plug 'roxma/nvim-yarp' Plug 'roxma/vim-hug-neovim-rpc' "Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' } Plug 'jpalardy/vim-slime' Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', \ } Plug 'calviken/vim-gdscript3' call plug#end() " required filetype plugin indent on " required let g:LanguageClient_serverCommands = { \ 'r': ['R', '--slave', '-e', 'languageserver::run()'], \ } let g:deoplete#enable_at_startup = 1 set tags+=./.tags "---------------------- " move between tabs nnoremap :tabprevious nnoremap :tabnext " prevent mouse vanishing set nomousehide " toggles menu in graphical mode function! ToggleGUICruft() if &guioptions=='ir' exec('set guioptions=imrLn') else exec('set guioptions=ir') endif endfunction map :call ToggleGUICruft() set tabline=%!tabber#TabLine() let g:tabber_filename_style = 'filename' " README.md\ let g:tabber_divider_style = 'compatible' set number set linebreak set nobackup set noswapfile "set shortmess+=I set backspace=indent,eol,start set visualbell t_vb= set showmode "set smartcase nnoremap nnoremap Q nnoremap K runtime! ftplugin/man.vim nnoremap K :Man noremap :update vnoremap :update inoremap :update set mouse=a set nu let g:clang_format#code_style="webkit" set spell spelllang=en_us set clipboard=unnamed set backspace=indent,eol,start " allow backspacing over everything in insert mode " Allow saving of files as sudo when I forgot to start vim using sudo. cmap w!! w !sudo tee > /dev/null % "spell checking " Spell check on set spell spelllang=en_us setlocal spell spelllang=en_us " where it should get the dictionary files let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell' set laststatus=2 let g:nord_uniform_diff_background = 1 let g:nord_cursor_line_number_background = 1 let g:lightline = { \ 'colorscheme': 'nord', \ } colorscheme nord filetype plugin indent on set smartindent set tabstop=4 set shiftwidth=4 set expandtab :command WQ wq :command Wq wq :command W w :command Q q let g:C_Mapfeader = ',' nnoremap :noh: let g:deoplete#enable_smart_case = 1 imap pumvisible() ? "\" : "\" imap pumvisible() ? "\" : "\" imap pumvisible() ? deoplete#close_popup() : "\" set completeopt=menu,noinsert