2021-03-18 14:10:29 +01:00
|
|
|
set number
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
" Plugins will be downloaded under the specified directory.
|
|
|
|
call plug#begin('~/.vim/plugged')
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
" Declare the list of plugins.
|
2020-11-07 16:40:23 +01:00
|
|
|
Plug 'tpope/vim-sensible'
|
2021-06-07 14:23:59 +02:00
|
|
|
Plug 'kaicataldo/material.vim', { 'branch': 'main' }
|
2021-03-18 14:10:29 +01:00
|
|
|
Plug 'ryanoasis/vim-devicons'
|
|
|
|
Plug 'preservim/nerdtree'
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
" List ends here. Plugins become visible to Vim after this call.
|
2020-11-07 16:40:23 +01:00
|
|
|
call plug#end()
|
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
" For Neovim 0.1.3 and 0.1.4
|
|
|
|
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
" Or if you have Neovim >= 0.1.5
|
|
|
|
if (has("termguicolors"))
|
|
|
|
set termguicolors
|
|
|
|
endif
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
" Theme
|
|
|
|
syntax enable
|
2021-06-07 14:23:59 +02:00
|
|
|
let g:material_theme_style = 'ocean-community'
|
|
|
|
colorscheme material
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
let mapleader = ","
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
nmap <F6> :NERDTreeToggle<CR>
|
2020-11-07 16:40:23 +01:00
|
|
|
|
2021-03-18 14:10:29 +01:00
|
|
|
let g:python3_host_prog = expand('~/.pyenv/shims/python3.9')
|