2022-01-06 07:52:01 +00:00
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
|
" load plugin config
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
|
|
|
|
|
|
execute 'source' "~/.config/nvim/plugins.vim"
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
|
" load custom config
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
|
|
2022-01-06 08:07:38 +00:00
|
|
|
|
" plugin 'toogleterm' need this or it will initialze a new terminal each time
|
|
|
|
|
" foucus on terminal
|
2022-01-06 07:52:01 +00:00
|
|
|
|
set hidden
|
|
|
|
|
|
2022-01-06 08:07:38 +00:00
|
|
|
|
" show some whitespaces
|
2022-01-06 07:52:01 +00:00
|
|
|
|
set list
|
|
|
|
|
|
|
|
|
|
" set for "hybrid" line number
|
|
|
|
|
set relativenumber
|
|
|
|
|
set number
|
|
|
|
|
|
|
|
|
|
" tab and auto indent
|
|
|
|
|
set expandtab
|
|
|
|
|
|
|
|
|
|
set autoindent
|
|
|
|
|
set smartindent
|
|
|
|
|
|
|
|
|
|
" length of an actual \t character:
|
|
|
|
|
set tabstop=4
|
|
|
|
|
" length to use when shifting text (eg. <<, >> and == commands)
|
|
|
|
|
" (0 for ‘tabstop’):
|
|
|
|
|
set shiftwidth=0
|
|
|
|
|
" length to use when editing text (eg. TAB and BS keys)
|
|
|
|
|
" (0 for ‘tabstop’, -1 for ‘shiftwidth’):
|
|
|
|
|
set softtabstop=-1
|
|
|
|
|
" round indentation to multiples of 'shiftwidth' when shifting text
|
|
|
|
|
" (so that it behaves like Ctrl-D / Ctrl-T):
|
|
|
|
|
set shiftround
|
|
|
|
|
|