neovim config
This commit is contained in:
parent
83268798a6
commit
a2fb76a351
1 changed files with 23 additions and 1 deletions
|
@ -1,11 +1,22 @@
|
||||||
|
"
|
||||||
" vim-plug
|
" vim-plug
|
||||||
|
"
|
||||||
call plug#begin(stdpath('data') . '/plugged')
|
call plug#begin(stdpath('data') . '/plugged')
|
||||||
|
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
|
|
||||||
|
" Code analysis and autocompletion
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
|
||||||
|
" Git
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
"
|
||||||
" General configuration
|
" General configuration
|
||||||
|
"
|
||||||
set title " Shows file name in title
|
set title " Shows file name in title
|
||||||
set number " Shows line numbers
|
set number " Shows line numbers
|
||||||
set nowrap " Do not wrap lines
|
set nowrap " Do not wrap lines
|
||||||
|
@ -14,6 +25,17 @@ set hidden " Allow buffer switch without saving
|
||||||
set ignorecase " Allows case insensitive searches
|
set ignorecase " Allows case insensitive searches
|
||||||
"set smartcase " Case sensitive searches if uppercase is used
|
"set smartcase " Case sensitive searches if uppercase is used
|
||||||
|
|
||||||
set spelllang=en
|
set spelllang=en " Check language spelling in english
|
||||||
|
|
||||||
|
"
|
||||||
|
" Theming
|
||||||
|
"
|
||||||
colorscheme zellner
|
colorscheme zellner
|
||||||
|
|
||||||
|
"
|
||||||
|
" Deoplete
|
||||||
|
"
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
|
" - Autocomplete with <Tab>
|
||||||
|
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue