-
-
Save anonymous/972fe7de5f37f2225a9509ec7e1ce9fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.config/nvim/pluggied') | |
Plug 'junegunn/vim-easy-align' | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'nsf/gocode', { 'branch': 'master', 'rtp': 'vim' } | |
Plug 'fatih/vim-go' | |
Plug 'Shougo/deoplete.nvim' | |
Plug 'Shougo/deoplete-go' | |
Plug 'https://github.com/rust-lang/rust.vim' | |
Plug 'racer-rust/vim-racer' | |
Plug 'https://github.com/spf13/vim-autoclose' | |
Plug 'https://github.com/idanarye/vim-dutyl' | |
Plug 'https://github.com/vim-airline/vim-airline' | |
Plug 'https://github.com/vim-airline/vim-airline-themes' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'scwood/vim-hybrid' | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'https://github.com/morhetz/gruvbox' | |
call plug#end() | |
syntax enable | |
set background=dark | |
colorscheme gruvbox | |
""if strftime("%H") > 18 | |
"" colorscheme hybrid | |
""else | |
"" colorscheme hybrid-light | |
""endif | |
set autoindent | |
set smartindent | |
set encoding=utf-8 | |
set smartcase | |
set number | |
set noswapfile | |
set cursorline | |
set cursorcolumn | |
set expandtab | |
set smarttab | |
let g:deoplete#sources#go#align_class = 1 | |
let g:deoplete#sources#go#sort_class = ['package', 'func', 'type', 'var', 'const'] | |
let g:deoplete#sources#go#gocode_binary = '/home/user/go/bin/gocode' | |
let g:deoplete#enable_at_startup = 1 | |
let g:python3_host_prog = '/usr/bin/python3' | |
filetype plugin indent on | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal g`\"" | | |
\ endif | |
map <F2> :echo line(".") + 2<cr> | |
set scrolloff=10 | |
nnoremap <silent><expr> j line('w$') - line('.') < 20 ? "j<C-e>" : "j" | |
command! W :execute ':silent w !sudo tee % > /dev/null' | :edit! | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline_theme='gruvbox' | |
let g:airline_powerline_fonts = 1 | |
let g:dutyl_stdImportPaths=['/usr/include/dmd'] | |
call dutyl#register#tool('dcd-client','/home/user/bin/DCD/bin/dcd-client') | |
call dutyl#register#tool('dcd-server','/home/user/bin/DCD/bin/dcd-server') | |
map <C-w> :tabclose<CR> | |
map <C-n> :tabnew<CR> | |
map <C-Tab> :tabnext<CR> | |
let g:autoclose_vim_commentmode = 1 | |
set laststatus=2 | |
set statusline=%{tagbar#currenttag('%s','')} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment