mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
vim: Break up into base+dev. Move to .vim templating
This commit is contained in:
parent
f4f25f7c5a
commit
aa682d12f5
6 changed files with 263 additions and 223 deletions
55
config/users/kat/base/vim/init.vim
Normal file
55
config/users/kat/base/vim/init.vim
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
set encoding=utf-8
|
||||
scriptencoding utf-8
|
||||
set list listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:✖
|
||||
" Enable mouse
|
||||
set mouse=a
|
||||
|
||||
set viminfo='100000,<100000,s1000,h,n$XDG_DATA_HOME/vim/viminfo'
|
||||
|
||||
" colors
|
||||
let base16colorspace=256
|
||||
colorscheme base16-default-dark
|
||||
autocmd vimenter * highlight Normal guibg=NONE ctermbg=NONE
|
||||
autocmd SourcePost * highlight Normal ctermbg=NONE guibg=NONE
|
||||
\ | highlight LineNr ctermbg=NONE guibg=NONE
|
||||
\ | highlight SignColumn ctermbg=NONE guibg=NONE
|
||||
|
||||
" tabline
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
|
||||
" hexokinaise
|
||||
let g:Hexokinase_highlighters = ['virtual']
|
||||
let g:Hexokinase_optInPatterns = 'full_hex,rgb,rgba,hsl,hsla,colour_names'
|
||||
|
||||
" notmuch!
|
||||
let g:notmuch_config_file=$XDG_CONFIG_HOME . '/notmuch/notmuchrc'
|
||||
let g:notmuch_folders_count_threads=0
|
||||
let g:notmuch_date_format='%y-%m-%d %H:%M'
|
||||
let g:notmuch_datetime_format='%y-%m-%d %H:%M'
|
||||
let g:notmuch_show_date_format='%Y/%m/%d %H:%M'
|
||||
let g:notmuch_search_date_format='%Y/%m/%d %H:%M'
|
||||
let g:notmuch_html_converter='@elinks@/bin/elinks --dump'
|
||||
|
||||
" lastplace
|
||||
let g:lastplace_ignore = "gitcommit,gitrebase,svn,hgcommit"
|
||||
|
||||
set undodir=$XDG_DATA_HOME/vim/undo
|
||||
set directory=$XDG_DATA_HOME/vim/swap//
|
||||
set backupdir=$XDG_DATA_HOME/vim/backup
|
||||
|
||||
set ttimeoutlen=100
|
||||
set number
|
||||
set hidden
|
||||
set nobackup
|
||||
set nowritebackup
|
||||
set cmdheight=1
|
||||
set updatetime=300
|
||||
set cursorline
|
||||
set colorcolumn=100
|
||||
set linebreak showbreak=↪ " ↳
|
||||
set hlsearch
|
||||
set relativenumber
|
||||
set completeopt=longest,menuone
|
||||
|
||||
command Spaces set expandtab
|
||||
command Tabs set noexpandtab
|
||||
Loading…
Add table
Add a link
Reference in a new issue