vim/vimrc.d/settings.vim

82 lines
1.1 KiB
VimL
Raw Normal View History

2018-05-21 20:55:40 +00:00
scriptencoding utf-8
2018-03-17 23:59:01 +00:00
set ttyfast
2018-05-21 20:55:40 +00:00
if &term ==? 'xterm-256color'
2018-03-17 23:59:01 +00:00
set termguicolors
endif
syntax on
2018-05-10 15:34:55 +00:00
set background=light
2018-05-06 21:38:21 +00:00
set fillchars=stl:\ ,stlnc:\ ,vert:\|
2018-04-01 15:07:11 +00:00
colorscheme monotonous
2018-03-17 23:59:01 +00:00
set guioptions-=mTrLb
set guioptions+=c
set updatetime=100
set backupdir=~/.vimtmp
set directory=~/.vimtmp
set tags+=./.tags,.tags;/home/ray/
" persisitent undo file
set undodir=/home/ray/.vim/undodir
set undofile
set clipboard=unnamedplus
set ignorecase
set smartcase
set wildmenu
set wildmode=longest:full,full
set hidden
set number relativenumber
2018-03-31 18:23:35 +00:00
set nohlsearch
2018-03-17 23:59:01 +00:00
2018-04-21 12:54:06 +00:00
" set previewheight=24
2018-05-03 11:37:24 +00:00
" set splitbelow
2018-03-28 22:00:42 +00:00
2018-06-07 21:44:15 +00:00
set completeopt=longest,menuone
2018-06-08 11:24:47 +00:00
set completeopt-=preview
2018-06-07 21:44:15 +00:00
2018-05-28 20:04:23 +00:00
set tabstop=8
set softtabstop=2
set shiftwidth=2
set shiftround
set expandtab
set autoindent
2018-03-28 22:00:42 +00:00
set textwidth=180
set formatoptions=cq
set wrapmargin=0
2018-03-17 23:59:01 +00:00
set foldcolumn=1
2018-05-11 22:50:42 +00:00
set signcolumn=yes
2018-03-17 23:59:01 +00:00
set iskeyword+=-
set scrolloff=10
set showcmd
set incsearch
set laststatus=2
set foldmethod=manual
set showmode
set autoindent
set breakindent
2018-03-27 21:23:55 +00:00
set showbreak=\ \ ↳\
2018-03-17 23:59:01 +00:00
set mouse=a
2018-05-28 20:04:23 +00:00
set listchars=eol,tab:>-,trail:~,extends:>,precedes:<,space
2018-03-17 23:59:01 +00:00
2018-05-03 11:37:24 +00:00
set foldtext=MyFoldText()
2018-03-17 23:59:01 +00:00
" vim: foldmethod=marker