Files
nix/nvim/base.vim

77 lines
1.6 KiB
VimL
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
filetype off
filetype plugin indent on
set nocompatible
scriptencoding utf-8
set encoding=utf-8
set autoindent
set backspace=2
set bs=indent,eol,start
set completeopt-=preview
set nocursorcolumn
set cursorline
set guioptions=
" set colorcolumn=120
set diffopt+=vertical
set expandtab
set formatoptions=qr
set hidden
set history=5000
set laststatus=2
set signcolumn=yes
" set list listchars=tab:»·,trail:·,nbsp:·,eol:¬,extends:,precedes:
" set list listchars=tab:»·,trail:·,extends:,precedes:
" set list listchars=tab:»·,trail:·,extends:,precedes:
set list listchars=tab:\ \ ,trail,extends:,precedes:
set mouse=a
set noautochdir
set noswapfile
set novisualbell
set nowrap
set number
set numberwidth=5
set relativenumber
set ruler
set scrolloff=5 "Start scrolling when we're 8 lines away from margins
syntax sync minlines=256
set synmaxcol=100000
set shiftround
set shiftwidth=2
set shortmess=filnxtToOcI
set softtabstop=2
set splitbelow
set splitright
set switchbuf=usetab
set tabstop=2
set textwidth=120
set lbr
set timeoutlen=1000
set updatetime=10
set notimeout
set ttimeoutlen=0
set ttyfast
set matchtime=3
set wildmenu
set wildmode=list:longest
set virtualedit=block
set fileformat=unix
set clipboard=unnamedplus
set foldmarker={{{,}}}
set t_ZH=
set t_ZR=
set background=dark
syntax enable
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
set fileencodings=ucs-bom,utf-8,latin1
endif
if v:version > 703 || v:version == 703 && has('patch541')
set formatoptions+=j
endif
autocmd StdinReadPre * let s:std_in=1
colorscheme quiet