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-03-18 14:10:29 +01:00
|
|
|
Plug 'mhartington/oceanic-next'
|
|
|
|
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
|
|
|
|
colorscheme OceanicNext
|
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')
|