mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update nvim config
This commit is contained in:
parent
9569d90172
commit
8a35efc365
2 changed files with 20 additions and 3 deletions
2
nvim/.netrwhist
Normal file
2
nvim/.netrwhist
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhist_cnt =0
|
||||||
|
|
@ -3,14 +3,29 @@ call plug#begin('~/.local/share/nvim/plugged')
|
||||||
|
|
||||||
" Declare the list of plugins.
|
" Declare the list of plugins.
|
||||||
Plug 'morhetz/gruvbox'
|
Plug 'morhetz/gruvbox'
|
||||||
|
" Plug 'Badacadabra/vim-archery'
|
||||||
|
Plug 'Yggdroot/indentLine'
|
||||||
|
if has('nvim')
|
||||||
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
else
|
||||||
|
Plug 'Shougo/deoplete.nvim'
|
||||||
|
Plug 'roxma/nvim-yarp'
|
||||||
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
|
endif
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
Plug 'zchee/deoplete-jedi'
|
||||||
|
|
||||||
" List ends here. Plugins become visible to Vim after this call.
|
" List ends here. Plugins become visible to Vim after this call.
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
" Use deoplete.
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
set guifont=Monospace\ Bold\ 12
|
set guifont=Monospace\ Bold\ 12
|
||||||
colors gruvbox
|
colors gruvbox
|
||||||
set background=dark
|
set background=dark
|
||||||
|
set inccommand=nosplit
|
||||||
|
|
||||||
" Uncomment the following to have Vim jump to the last position when
|
" Uncomment the following to have Vim jump to the last position when
|
||||||
" reopening a file
|
" reopening a file
|
||||||
|
|
@ -28,8 +43,8 @@ set showmatch " Show matching brackets.
|
||||||
set number " Show the line numbers on the left side.
|
set number " Show the line numbers on the left side.
|
||||||
set formatoptions+=o " Continue comment marker in new lines.
|
set formatoptions+=o " Continue comment marker in new lines.
|
||||||
set expandtab " Insert spaces when TAB is pressed.
|
set expandtab " Insert spaces when TAB is pressed.
|
||||||
set tabstop=4 " Render TABs using this many spaces.
|
set tabstop=2 " Render TABs using this many spaces.
|
||||||
set shiftwidth=4 " Indentation amount for < and > commands.
|
set shiftwidth=2 " Indentation amount for < and > commands.
|
||||||
set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J)
|
set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J)
|
||||||
|
|
||||||
" More natural splits
|
" More natural splits
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue