nvim: add plugin to manage tabs/spaces
This commit is contained in:
parent
77dfbd343b
commit
b5ffc1e34e
@ -10,6 +10,7 @@ call plug#begin('~/.cache/nvim/plugged')
|
|||||||
Plug 'https://github.com/farmergreg/vim-lastplace' " intelligently reopen files at last edit position
|
Plug 'https://github.com/farmergreg/vim-lastplace' " intelligently reopen files at last edit position
|
||||||
Plug 'https://github.com/ntpeters/vim-better-whitespace' " highlights trailing whitespace, :StripWhitespace to remove
|
Plug 'https://github.com/ntpeters/vim-better-whitespace' " highlights trailing whitespace, :StripWhitespace to remove
|
||||||
Plug 'https://github.com/tpope/vim-sensible' " defaults everyone can agree on
|
Plug 'https://github.com/tpope/vim-sensible' " defaults everyone can agree on
|
||||||
|
Plug 'https://github.com/tpope/vim-sleuth' " heuristically set buffer options
|
||||||
Plug 'https://github.com/vim-airline/vim-airline' " fancy statusline
|
Plug 'https://github.com/vim-airline/vim-airline' " fancy statusline
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
@ -23,11 +24,6 @@ let g:loaded_matchparen=1
|
|||||||
" write settings
|
" write settings
|
||||||
set confirm " confirm :q in case of unsaved changes
|
set confirm " confirm :q in case of unsaved changes
|
||||||
|
|
||||||
" tab/space settings
|
|
||||||
set expandtab
|
|
||||||
set shiftwidth=2
|
|
||||||
set softtabstop=2
|
|
||||||
|
|
||||||
" clipboard settings
|
" clipboard settings
|
||||||
set clipboard=unnamedplus " enable copy/paste/yank to and from Vim/Neovim
|
set clipboard=unnamedplus " enable copy/paste/yank to and from Vim/Neovim
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user