first commit
This commit is contained in:
commit
a2413f607d
|
@ -0,0 +1,100 @@
|
|||
set nocompatible
|
||||
set encoding=utf-8
|
||||
set noerrorbells
|
||||
set autowriteall
|
||||
syntax on
|
||||
|
||||
set linebreak
|
||||
set textwidth=0 " prevent Vim from automatically inserting line breaks
|
||||
set wrap
|
||||
set backspace=indent,eol,start
|
||||
|
||||
set noswapfile
|
||||
set undodir=~/.vim/undodir
|
||||
set undofile
|
||||
set undolevels=1000
|
||||
|
||||
set spell
|
||||
|
||||
|
||||
|
||||
"VUNDLE STUFF
|
||||
filetype off
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
|
||||
Plugin 'sainnhe/gruvbox-material'
|
||||
Plugin 'dpelle/vim-LanguageTool'
|
||||
Plugin 'ron89/thesaurus_query.vim'
|
||||
Plugin 'junegunn/goyo.vim'
|
||||
Plugin 'junegunn/limelight.vim'
|
||||
Plugin 'reedes/vim-pencil'
|
||||
Plugin 'reedes/vim-wordy'
|
||||
Plugin 'preservim/vim-markdown'
|
||||
Plugin 'preservim/vim-lexical'
|
||||
Plugin 'preservim/vim-textobj-quote'
|
||||
Plugin 'preservim/vim-textobj-sentence'
|
||||
Plugin 'preservim/vim-wheel'
|
||||
Plugin 'dbmrq/vim-ditto'
|
||||
Plugin 'Raimondi/delimitMate'
|
||||
Plugin 'vim-scripts/UniCycle'
|
||||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
|
||||
let mapleader=","
|
||||
|
||||
"THESAURUS VARIABLES
|
||||
let g:tq_truncation_on_syno_list_size = 200
|
||||
let g:tq_openoffice_en_file= '~/.vim/thesaurus/MyThes-1.0/th_en_US_new'
|
||||
let g:tq_enabled_backends=[
|
||||
\"openoffice_en",
|
||||
\"mthesaur_txt"]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"LANGUAGETOOL CONFIG
|
||||
let g:languagetool_jar='$HOME/languagetool/languagetool-commandline.jar'
|
||||
let g:languagetool_lang='en-US'
|
||||
|
||||
|
||||
let g:pencil#wrapModeDefault = 'soft' " default is 'hard'
|
||||
augroup prose
|
||||
autocmd!
|
||||
autocmd Filetype markdown,mkd,md call pencil#init()
|
||||
\ | call lexical#init()
|
||||
" \ | call textobj#quote#init()
|
||||
\ | call textobj#sentence#init()
|
||||
autocmd vimenter *.md Goyo 66x16
|
||||
autocmd User GoyoEnter Limelight
|
||||
augroup END
|
||||
" Important!!
|
||||
if has('termguicolors')
|
||||
set termguicolors
|
||||
endif
|
||||
|
||||
" For dark version.
|
||||
set background=dark
|
||||
|
||||
" For light version.
|
||||
"set background=light
|
||||
|
||||
" Set contrast.
|
||||
" This configuration option should be placed before `colorscheme gruvbox-material`.
|
||||
" Available values: 'hard', 'medium'(default), 'soft'
|
||||
let g:gruvbox_material_background = 'soft'
|
||||
|
||||
" For better performance
|
||||
let g:gruvbox_material_better_performance = 1
|
||||
|
||||
colorscheme gruvbox-material
|
||||
|
||||
" For en/em dashes, respectively
|
||||
augroup remaps
|
||||
autocmd!
|
||||
autocmd FileType markdown inoremap -- — | inoremap ... …
|
||||
|
||||
augroup END
|
Reference in New Issue