diff --git a/init.sh b/init.sh index 0611db6..101a4ca 100644 --- a/init.sh +++ b/init.sh @@ -1,8 +1,9 @@ #!/bin/bash echo "-= Installing System Dependencies =-" -brew install zsh tmux neovim/neovim/neovim python3 ag +brew install zsh tmux neovim/neovim/neovim python3 ag node brew tap caskroom/cask brew cask install iterm2 +npm -g install instant-markdown-d echo "-= Installing Fonts =-" brew tap caskroom/fonts diff --git a/vimrc b/vimrc index 4151a6e..b69a86b 100644 --- a/vimrc +++ b/vimrc @@ -60,6 +60,12 @@ Plug 'Shougo/vimfiler.vim', { 'on': 'VimFiler' } Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'w0rp/ale' +" Markdown and Distraction Free Writing +Plug 'suan/vim-instant-markdown' +Plug 'junegunn/limelight.vim' +Plug 'reedes/vim-wordy' +Plug 'dbmrq/vim-ditto' + " Movement Plug 'justinmk/vim-sneak' @@ -146,3 +152,23 @@ xmap f Sneak_f xmap F Sneak_F omap f Sneak_f omap F Sneak_F + +" writing +let g:limelight_conceal_ctermfg = 'DarkGray' +let g:limelight_conceal_guifg = 'DarkGray' +highlight Folded ctermbg=NONE +highlight FoldColumn ctermbg=NONE + +autocmd Filetype markdown call SetMarkdownOptions() + +function SetMarkdownOptions() + " Enable spellcheck. + set spell spelllang=en_us + set nonumber + set norelativenumber + set foldcolumn=10 + set textwidth=80 + Limelight + Wordy weak + DittoOn +endfunction