Skip to content

Instantly share code, notes, and snippets.

@ubnt-intrepid
Created August 7, 2017 13:40
Show Gist options
  • Select an option

  • Save ubnt-intrepid/8799975fe24fdd56f3cc40d5ae6f69fe to your computer and use it in GitHub Desktop.

Select an option

Save ubnt-intrepid/8799975fe24fdd56f3cc40d5ae6f69fe to your computer and use it in GitHub Desktop.
memo
call plug#begin('~/.local/share/nvim/plugged')
Plug 'tomtom/tcomment_vim'
Plug 'mklabs/split-term.vim'
Plug 'rakr/vim-two-firewatch'
Plug 'hzchirs/vim-material'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'Shougo/echodoc.vim'
Plug 'rust-lang/rust.vim'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
let g:deoplete#enable_at_startup = 1
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
let g:LanguageClient_autoStart = 1
let g:LanguageClient_serverCommands = {
\ 'rust': ['rustup', 'run', 'nightly', 'rls'],
\ }
call plug#end()
set hidden
set tabstop=2 shiftwidth=2 expandtab
set termguicolors
set splitright
set splitbelow
syntax on
set background=dark
try
colorscheme vim-material
let g:airline_theme = 'material'
catch
colorscheme desert
let g:airline_theme = 'simple'
endtry
nnoremap <silent> K :call LanguageClient_textDocument_hover()<CR>
nnoremap <silent> gd :call LanguageClient_textDocument_definition()<CR>
nnoremap <silent> <F2> :call LanguageClient_textDocument_rename()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment