Do more migration work

This commit is contained in:
Gene Liverman 2023-09-15 15:31:19 -04:00
parent 0e96760c77
commit 62bc6ab923
14 changed files with 10 additions and 18 deletions

80
legacy/link/nix/vimrc Normal file
View file

@ -0,0 +1,80 @@
set nocompatible " be iMproved, required
filetype off " required by Vundle. filetype is reenabled after Vundle starts
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required for Vundle to work right
Plugin 'VundleVim/Vundle.vim'
Plugin 'ekalinin/Dockerfile.vim' " provides syntax highlighting for Dockerfiles
Plugin 'elzr/vim-json' " provides syntax highlighting for JSON files
Plugin 'garbas/vim-snipmate' " provides code snippets
Plugin 'godlygeek/tabular' " provides a method for lining things up
Plugin 'honza/vim-snippets' " provides snippets for use with vim-snipmate
Plugin 'LnL7/vim-nix' " support for writing Nix expressions in vim
Plugin 'MarcWeber/vim-addon-mw-utils' " a utility used by vim-snipmate
Plugin 'mrk21/yaml-vim' " provides indentation and syntax highlighting for yaml
Plugin 'rbong/vim-flog' " git branch viewer built on fugitive
Plugin 'rodjek/vim-puppet' " provides several niceties for working with Puppet
Plugin 'tomtom/tlib_vim' " a utility used by vim-snipmate
Plugin 'tpope/vim-fugitive' " all things Git here in Vim
Plugin 'vim-airline/vim-airline' " status line alternative to powerline
Plugin 'vim-airline/vim-airline-themes' " themes for vim-airline
Plugin 'vim-ruby/vim-ruby' " provides syntax highlighting for ruby files
Plugin 'vim-syntastic/syntastic' " provides syntax checking
" All of your Plugins must be added before the following line
call vundle#end()
filetype plugin indent on " required for plugins to be able to adjust indent
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
syntax on " enable syntax highlighting
set encoding=utf-8
set termencoding=utf-8
set t_Co=256 " tell vim we have 256 colors to work with
set autoindent " automatically indent new lines
set background=dark " tell vim your terminal has a dark background
set backspace=2 " make backspace work like most other programs
set expandtab " converts tabs to spaces
set fillchars+=stl:\ ,stlnc:\ " fix added per powerline troubleshooting docs
set laststatus=2 " Always display the status line in all windows
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the status line)
set smarttab " helps with expanding tabs to spaces (I think)
set statusline+=%{FugitiveStatusline()} " get git info via fugitive plugin
set statusline+=%#warningmsg# " recommended setting from syntastic plugin
set statusline+=%{SyntasticStatuslineFlag()} " recommended setting from syntastic plugin
set statusline+=%* " recommended setting from syntastic plugin
" This has to come after colorscheme, if defined, to not be masked
highlight ColorColumn ctermbg=232 " set the color to be used for guidelines
let &colorcolumn=join(range(81,999),",") " change the background color of everything beyond 80 characters
let g:snipMate = { 'snippet_version' : 1 }
" settings for the syntastic plugin
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_enable_signs = 1
let g:syntastic_ruby_checkers = ['rubocop']
let g:syntastic_quiet_messages = {'level': 'warnings'}
" don't wrap text in markdown files
let g:vim_markdown_folding_disabled = 1
" settings for vim-airline
let g:airline_theme='badwolf'
let g:airline_powerline_fonts = 1