added neovim config
This commit is contained in:
parent
572e7d7a83
commit
99b373f6c4
2 changed files with 71 additions and 0 deletions
43
nvim/init.vim
Normal file
43
nvim/init.vim
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
" _
|
||||||
|
" ____ _ __(_)___ ___
|
||||||
|
" / __ \ | / / / __ `__ \
|
||||||
|
" / / / / |/ / / / / / / /
|
||||||
|
" /_/ /_/|___/_/_/ /_/ /_/
|
||||||
|
"
|
||||||
|
syntax enable
|
||||||
|
filetype plugin indent on
|
||||||
|
colorscheme pablo
|
||||||
|
|
||||||
|
set autoindent
|
||||||
|
set noexpandtab
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
|
||||||
|
set mouse=a
|
||||||
|
|
||||||
|
" __ __ __ _ __
|
||||||
|
" / //_/__ __ __/ /_ (_)___ ____/ /____
|
||||||
|
" / ,< / _ \/ / / / __ \/ / __ \/ __ / ___/
|
||||||
|
" / /| / __/ /_/ / /_/ / / / / / /_/ (__ )
|
||||||
|
" /_/ |_\___/\__, /_.___/_/_/ /_/\__,_/____/
|
||||||
|
" /____/
|
||||||
|
|
||||||
|
" Ctrl+Tab: Toggle tab markers
|
||||||
|
map <C-Tab> :set list! lcs=tab:\¦\ <CR>
|
||||||
|
" Ctrl+`: Open NERDTree
|
||||||
|
map <C-Home> :NERDTree <CR>
|
||||||
|
|
||||||
|
" ____ __ __
|
||||||
|
" / _/___ _____/ /_ ______/ /__
|
||||||
|
" / // __ \/ ___/ / / / / __ / _ \
|
||||||
|
" _/ // / / / /__/ / /_/ / /_/ / __/
|
||||||
|
" /___/_/ /_/\___/_/\__,_/\__,_/\___/
|
||||||
|
"
|
||||||
|
|
||||||
|
execute 'source' '~/.config/nvim/plugins.vim'
|
||||||
|
|
||||||
|
" I don't know who the dumbfuck who thinks they
|
||||||
|
" know how I should be indenting better than me
|
||||||
|
" is, but they can kiss my ass.
|
||||||
|
set noexpandtab
|
||||||
|
|
28
nvim/plugins.vim
Normal file
28
nvim/plugins.vim
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
" ____ __ _
|
||||||
|
" / __ \/ /_ ______ _(_)___ _____
|
||||||
|
" / /_/ / / / / / __ `/ / __ \/ ___/
|
||||||
|
" / ____/ / /_/ / /_/ / / / / (__ )
|
||||||
|
" /_/ /_/\__,_/\__, /_/_/ /_/____/
|
||||||
|
" /____/
|
||||||
|
|
||||||
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
|
|
||||||
|
Plug 'neovim/nvim-lspconfig'
|
||||||
|
Plug 'neovim/nvim.net'
|
||||||
|
|
||||||
|
Plug 'hrsh7th/nvim-cmp'
|
||||||
|
Plug 'hrsh7th/cmp-nvim-lsp'
|
||||||
|
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
|
||||||
|
|
||||||
|
Plug 'omnisharp/omnisharp-vim'
|
||||||
|
|
||||||
|
Plug 'preservim/nerdtree'
|
||||||
|
Plug 'python-mode/python-mode', {'for': 'python', 'branch': 'develop'}
|
||||||
|
|
||||||
|
Plug 'rust-lang/rust.vim'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
Loading…
Reference in a new issue