chore(vim): add configuration for Pandoc

This commit is contained in:
Stefan Imhoff
2021-12-11 14:31:05 +01:00
parent f64c97fdf7
commit 2a8c698670
3 changed files with 15 additions and 24 deletions

View File

@@ -1,33 +1,17 @@
# Dotfiles
## Homebrew
These are my Dotfiles, a collection of [NeoVim](https://neovim.io/), [tmux](https://tmux.github.io/), [zsh](http://zsh.sourceforge.net/), [Hammerspoon](http://www.hammerspoon.org/), and other tools.
Fix the permissions of the target folder.
## Initial Setup and Installation
```sh
sudo chown -R $(whoami) /usr/local/var/
git clone git@github.com:kogakure/dotfiles.git ~/.dotfiles
cd ~/.dotfiles/
./install
```
Install [Homebrew](https://brew.sh/) package managager.
Dotbot will create symlinks from all necessary files in the folder.
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
## Setting Up a New Computer
### Homebrew Cask
Install MacOS binaries with Homebrew cask.
```sh
./setup/cask.sh
```
## Starship
Install a [Nerd Font](https://www.nerdfonts.com/).
Install [Starship](https://starship.rs/)
```sh
brew install starship
```
The project includes a `setup` folder that has install scripts for everything I need on a new computer. The scripts can be run individually or all at once by running `./setup/init.sh`.

View File

@@ -18,6 +18,7 @@ source ~/.config/nvim/plugins/lsp-installer.lua
source ~/.config/nvim/plugins/lspkind.lua
source ~/.config/nvim/plugins/lualine.lua
source ~/.config/nvim/plugins/neoscroll.lua
source ~/.config/nvim/plugins/pandoc.vim
source ~/.config/nvim/plugins/prettier.vim
source ~/.config/nvim/plugins/sidebar.lua
source ~/.config/nvim/plugins/speeddating.vim

6
nvim/plugins/pandoc.vim Normal file
View File

@@ -0,0 +1,6 @@
" vim-pandoc
" https://github.com/vim-pandoc/vim-pandoc
let g:pandoc#modules#disabled = ["folding", "chdir"]
let g:pandoc#spell#default_langs = ['de_de', 'en_us']
let g:pandoc#spell#enabled = 0