Add nvim
This commit is contained in:
10
config.yaml
10
config.yaml
@@ -65,6 +65,9 @@ dotfiles:
|
||||
f_alacritty:
|
||||
src: config/alacritty/alacritty.yml
|
||||
dst: ~/.config/alacritty/alacritty.yml
|
||||
f_nvim:
|
||||
src: config/nvim/init.vim
|
||||
dst: ~/.config/nvim/init.vim
|
||||
|
||||
profiles:
|
||||
laptop:
|
||||
@@ -72,6 +75,7 @@ profiles:
|
||||
- zsh
|
||||
- zshhighlighting
|
||||
- vim
|
||||
- nvim
|
||||
- i3
|
||||
- x11
|
||||
- font
|
||||
@@ -156,3 +160,9 @@ profiles:
|
||||
alacritty:
|
||||
dotfiles:
|
||||
- f_alacritty
|
||||
nvim:
|
||||
dotfiles:
|
||||
- f_nvim
|
||||
nvim:
|
||||
dotfiles:
|
||||
- f_nvim
|
||||
|
||||
3
dotfiles/config/nvim/init.vim
Normal file
3
dotfiles/config/nvim/init.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath=&runtimepath
|
||||
source ~/.vimrc
|
||||
@@ -65,6 +65,13 @@ let g:nord_bold = 0
|
||||
let g:nord_italic = 1
|
||||
let g:nord_underline = 1
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" autocomplete
|
||||
if has('nvim')
|
||||
Plugin 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
endif
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
@@ -90,20 +97,19 @@ set mouse=c
|
||||
set undolevels=1337
|
||||
set backspace=indent,eol,start
|
||||
set wildmenu " autocomplete :e
|
||||
"set lazyredraw " redraw only when necessary
|
||||
|
||||
" ------------------------------------- Indents & Whitespaces ------------------
|
||||
set tabstop=4 " how many spaces are a tab when opening a file
|
||||
set softtabstop=4 " how many spaces get placed instead of a tab
|
||||
set shiftwidth=4 " width of indents (<,>)
|
||||
set expandtab " tabs are spaces
|
||||
set smartindent
|
||||
|
||||
" File specific indents
|
||||
autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
|
||||
autocmd FileType tex setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
|
||||
autocmd FileType rust setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
|
||||
autocmd FileType perl setlocal tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab
|
||||
"set tabstop=4 " how many spaces are a tab when opening a file
|
||||
"set softtabstop=4 " how many spaces get placed instead of a tab
|
||||
"set shiftwidth=4 " width of indents (<,>)
|
||||
"set expandtab " tabs are spaces
|
||||
"set smartindent
|
||||
"
|
||||
"" File specific indents
|
||||
"autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
|
||||
"autocmd FileType tex setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
|
||||
"autocmd FileType rust setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
|
||||
"autocmd FileType perl setlocal tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab
|
||||
|
||||
set list
|
||||
set listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:·
|
||||
|
||||
Reference in New Issue
Block a user