change structure to use stow for simlink managing
This commit is contained in:
64
.config/nvim/settings.vim
Normal file
64
.config/nvim/settings.vim
Normal file
@@ -0,0 +1,64 @@
|
||||
set nocompatible
|
||||
syntax on
|
||||
filetype plugin on
|
||||
set autoread " Set to auto read when a file is changed from the outside
|
||||
|
||||
set path+=**
|
||||
set wildmenu
|
||||
set showcmd
|
||||
set wildmode=longest:full,full
|
||||
set wildoptions=pum
|
||||
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
|
||||
set wildignore+=*\\tmp\\*,*.exe
|
||||
|
||||
set number
|
||||
set number ruler
|
||||
set showmatch
|
||||
set ruler
|
||||
set wrap
|
||||
set showbreak=↳\ \
|
||||
set textwidth=79
|
||||
set hidden
|
||||
set backspace=indent,eol,start
|
||||
set hlsearch
|
||||
set noswapfile
|
||||
|
||||
" Rendering
|
||||
set ttyfast
|
||||
set laststatus=1
|
||||
set t_Co=256
|
||||
set background=dark
|
||||
|
||||
set colorcolumn=81
|
||||
hi ColorColumn ctermbg=lightgrey guibg=lightgrey
|
||||
|
||||
" Show bad whitespace in an obvious but not obnoxious color
|
||||
highlight pythonSpaceError ctermbg=darkgreen guibg=darkgreen
|
||||
highlight BadWhitespace ctermbg=darkgreen guibg=darkgreen
|
||||
au BufNewFile,BufRead *.py,*.pyw,*.c,*.h,*.cc,*.hh,*.sh match BadWhitespace /\s\+$/
|
||||
|
||||
" File settings
|
||||
au FileType *
|
||||
\ set tabstop=2
|
||||
\ softtabstop=2
|
||||
\ shiftwidth=2
|
||||
\ textwidth=79
|
||||
\ autoindent
|
||||
\ smartindent
|
||||
|
||||
"Python Specific Config
|
||||
au FileType python
|
||||
\ set fileformat=unix
|
||||
\ tabstop=4
|
||||
\ softtabstop=4
|
||||
\ shiftwidth=4
|
||||
\ encoding=utf-8
|
||||
\ makeprg=flake8\ %
|
||||
|
||||
au FileType markdown
|
||||
\ set spell spelllang=en_us
|
||||
\ tabstop=4
|
||||
\ softtabstop=4
|
||||
\ shiftwidth=4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user