random-scripts/old/mail/aerc-compose-neovim.sh

14 lines
454 B
Bash
Raw Permalink Normal View History

2023-05-26 06:51:58 -07:00
#!/usr/bin/env zsh
exec nvim -u NONE \
-c 'packadd leap.nvim' \
-c "lua require('leap').add_default_mappings()" \
-c 'highlight link LeapBackdrop Comment' \
2023-06-05 19:05:02 -07:00
-c 'set spell termguicolors' \
-c 'setlocal formatoptions+=wa textwidth=80 comments+=nb:>' \
2023-05-26 06:51:58 -07:00
-c "lua require('nvim-treesitter.configs').setup({highlight={enable=true}})" \
-c 'packadd nightfox.nvim' \
-c 'colorscheme carbonfox' \
-c 'startinsert' \
"${@}"