Browse Source

Add glow config

Also deprecate neovim config.
master
FollieHiyuki 7 months ago
parent
commit
b080c54e5b
Signed by: FollieHiyuki GPG Key ID: 813CF484F4993419
  1. 1
      README.md
  2. 1
      deploy.sh
  3. 10
      home/.config/glow/glow.yml
  4. 203
      home/.config/glow/styles/nord.json
  5. 197
      home/.config/glow/styles/onedark.json
  6. 9
      nvim-old/README.md
  7. 0
      nvim-old/coc-settings.json
  8. 0
      nvim-old/ftplugin/markdown.vim
  9. 0
      nvim-old/ftplugin/tex.vim
  10. 0
      nvim-old/ftplugin/vimwiki.vim
  11. 0
      nvim-old/general/basic-settings.vim
  12. 0
      nvim-old/init.vim
  13. 0
      nvim-old/lua/_colorizer.lua
  14. 0
      nvim-old/plug-config/airline.vim
  15. 0
      nvim-old/plug-config/ale.vim
  16. 0
      nvim-old/plug-config/cheat_sh.vim
  17. 0
      nvim-old/plug-config/choosewin.vim
  18. 0
      nvim-old/plug-config/closetag.vim
  19. 0
      nvim-old/plug-config/coc.vim
  20. 0
      nvim-old/plug-config/colorscheme.vim
  21. 0
      nvim-old/plug-config/dashboard.vim
  22. 0
      nvim-old/plug-config/delimitMate.vim
  23. 0
      nvim-old/plug-config/doc.vim
  24. 0
      nvim-old/plug-config/doge.vim
  25. 0
      nvim-old/plug-config/easy-align.vim
  26. 0
      nvim-old/plug-config/editorconfig.vim
  27. 0
      nvim-old/plug-config/emmet.vim
  28. 0
      nvim-old/plug-config/far.vim
  29. 0
      nvim-old/plug-config/floaterm.vim
  30. 0
      nvim-old/plug-config/fzf.vim
  31. 0
      nvim-old/plug-config/git.vim
  32. 0
      nvim-old/plug-config/goyo.vim
  33. 0
      nvim-old/plug-config/illuminate.vim
  34. 0
      nvim-old/plug-config/indentline.vim
  35. 0
      nvim-old/plug-config/moving.vim
  36. 0
      nvim-old/plug-config/nerdtree.vim
  37. 0
      nvim-old/plug-config/nnn.vim
  38. 0
      nvim-old/plug-config/polyglot.vim
  39. 0
      nvim-old/plug-config/rainbow.vim
  40. 0
      nvim-old/plug-config/rnvimr.vim
  41. 0
      nvim-old/plug-config/rooter.vim
  42. 0
      nvim-old/plug-config/spaceline.vim
  43. 0
      nvim-old/plug-config/startify.vim
  44. 0
      nvim-old/plug-config/tablemode.vim
  45. 0
      nvim-old/plug-config/tldr.vim
  46. 0
      nvim-old/plug-config/translate-shell.vim
  47. 0
      nvim-old/plug-config/undo.vim
  48. 0
      nvim-old/plug-config/vim-buffet.vim
  49. 0
      nvim-old/plug-config/vimwiki.vim
  50. 0
      nvim-old/plug-config/vista.vim
  51. 0
      nvim-old/plug-config/which-key.vim
  52. 0
      nvim-old/plug-config/whitespace.vim
  53. 0
      nvim-old/plugin/autocmd.vim
  54. 0
      nvim-old/plugin/keybindings.vim
  55. 0
      nvim-old/vim-plug/vim-plug.vim
  56. 3
      setup/README.md
  57. 6
      system/README.md

1
README.md

@ -31,7 +31,6 @@
### :star2: Credits
- [@ChristianChiarulli](https://github.com/ChristianChiarulli)'s Neovim config
- [@hlissner](https://github.com/hlissner)'s zsh config
- [@daviwil](https://github.com/daviwil)'s/[@tecosaur](https://tecosaur.github.io/emacs-config/config.html)'s Emacs configurations
- [@begs](https://git.sr.ht/~begs/dotfiles)'s Waybar config

1
deploy.sh

@ -106,6 +106,7 @@ cp -rfv ./home/.config/fontconfig/ ~/.config/fontconfig/
cp -rfv ./home/.config/gallery-dl/ ~/.config/gallery-dl/
cp -rfv ./home/.config/GIMP/ ~/.config/GIMP/
cp -rfv ./home/.config/git/ ~/.config/git/
cp -rfv ./home/.config/glow/ ~/.config/glow/
cp -rfv ./home/.config/gtk-3.0/ ~/.config/gtk-3.0/
# cp -rfv ./home/.config/lazygit/ ~/.config/lazygit/
# cp -rfv ./home/.config/lite-xl/ ~/.config/lite-xl/

10
home/.config/glow/glow.yml

@ -0,0 +1,10 @@
# style name or JSON path (default "auto")
style: "~/.config/glow/styles/nord.json"
# show local files only; no network (TUI-mode only)
local: false
# mouse support (TUI-mode only)
mouse: true
# use pager to display markdown
pager: false
# word-wrap at width
width: 80

203
home/.config/glow/styles/nord.json

@ -0,0 +1,203 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "#d8dee9",
"margin": 2
},
"block_quote": {
"indent": 1,
"indent_token": "│ "
},
"paragraph": {},
"list": {
"level_indent": 2
},
"heading": {
"block_suffix": "\n",
"color": "#81a1c1",
"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "#ebcb8b",
"background_color": "#5e81ac",
"bold": true
},
"h2": {
"prefix": "## "
},
"h3": {
"prefix": "### "
},
"h4": {
"prefix": "#### "
},
"h5": {
"prefix": "##### "
},
"h6": {
"prefix": "###### ",
"color": "#88c0d0",
"bold": false
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"hr": {
"color": "#3b4252",
"format": "\n--------\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". "
},
"task": {
"ticked": "[✓] ",
"unticked": "[ ] "
},
"link": {
"color": "#8fbcbb",
"underline": true
},
"link_text": {
"color": "#a3be8c",
"bold": true
},
"image": {
"color": "#b48ead",
"underline": true
},
"image_text": {
"color": "#4c566a",
"format": "Image: {{.text}} →"
},
"code": {
"prefix": " ",
"suffix": " ",
"color": "#d08770",
"background_color": "#434c5e"
},
"code_block": {
"color": "#d8dee9",
"margin": 2,
"chroma": {
"text": {
"color": "#d8dee9"
},
"error": {
"color": "#bf616a"
},
"comment": {
"color": "#616e87",
"italic": true
},
"comment_preproc": {
"color": "#5e81ac"
},
"keyword": {
"color": "#81a1c1",
"bold": true
},
"keyword_reserved": {
"color": "#81a1c1",
"bold": false
},
"keyword_namespace": {
"color": "#81a1c1",
"bold": false
},
"keyword_type": {
"color": "#81a1c1",
"bold": false
},
"operator": {
"color": "#81a1c1"
},
"punctuation": {
"color": "#eceff4"
},
"name": {
"color": "#d8dee9"
},
"name_builtin": {
"color": "#81a1c1"
},
"name_tag": {
"color": "#81a1c1"
},
"name_attribute": {
"color": "#8fbcbb"
},
"name_class": {
"color": "#8fbcbb"
},
"name_constant": {
"color": "#8fbcbb"
},
"name_decorator": {
"color": "#d08770"
},
"name_exception": {
"color": "#bf616a"
},
"name_function": {
"color": "#88c0d0"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#b48ead"
},
"literal_date": {},
"literal_string": {
"color": "#a3be8c"
},
"literal_string_escape": {
"color": "#ebcb8b"
},
"generic_deleted": {
"color": "#bf616a"
},
"generic_emph": {
"italic": true
},
"generic_inserted": {
"color": "#4c566a",
"bold": true
},
"generic_strong": {
"bold": true
},
"generic_subheading": {
"color": "#88c0d0",
"bold": true
},
"background": {
"background_color": "#2e3440"
}
}
},
"table": {
"center_separator": "┼",
"column_separator": "│",
"row_separator": "─"
},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}

197
home/.config/glow/styles/onedark.json

@ -0,0 +1,197 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "#abb2bf",
"margin": 2
},
"block_quote": {
"indent": 1,
"indent_token": "│ "
},
"paragraph": {},
"list": {
"level_indent": 2
},
"heading": {
"block_suffix": "\n",
"color": "#61afef",
"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "#e5c07b",
"background_color": "#61afef",
"bold": true
},
"h2": {
"prefix": "## "
},
"h3": {
"prefix": "### "
},
"h4": {
"prefix": "#### "
},
"h5": {
"prefix": "##### "
},
"h6": {
"prefix": "###### ",
"color": "#56b6c2",
"bold": false
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"hr": {
"color": "#3e4452",
"format": "\n--------\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". "
},
"task": {
"ticked": "[✓] ",
"unticked": "[ ] "
},
"link": {
"color": "#5699af",
"underline": true
},
"link_text": {
"color": "#98c379",
"bold": true
},
"image": {
"color": "#c678dd",
"underline": true
},
"image_text": {
"color": "#4b5263",
"format": "Image: {{.text}} →"
},
"code": {
"prefix": " ",
"suffix": " ",
"color": "#d19a66",
"background_color": "#4b5263"
},
"code_block": {
"color": "#b0c4de",
"margin": 2,
"chroma": {
"text": {
"color": "#b0c4de"
},
"error": {
"color": "#b0c4de"
},
"comment": {
"color": "#8a93a5",
"italic": true
},
"comment_preproc": {
"bold": true
},
"keyword": {
"color": "#c678dd"
},
"keyword_reserved": {},
"keyword_namespace": {
"color": "#b756ff",
"bold": true
},
"keyword_type": {
"color": "#ef8383"
},
"operator": {
"color": "#c7bf54"
},
"punctuation": {
"color": "#b0c4de"
},
"name": {
"color": "#c1abea"
},
"name_builtin": {
"color": "#ef8383"
},
"name_tag": {
"color": "#e06c75"
},
"name_attribute": {
"color": "#b3d23c"
},
"name_class": {
"color": "#76a9f9"
},
"name_constant": {
"color": "#b756ff",
"bold": true
},
"name_decorator": {
"color": "#e5c07b"
},
"name_exception": {
"color": "#fd7474",
"bold": true
},
"name_function": {
"color": "#00b1f7"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#d19a66"
},
"literal_date": {},
"literal_string": {
"color": "#98c379"
},
"literal_string_escape": {
"color": "#d26464",
"bold": true
},
"generic_deleted": {},
"generic_emph": {
"italic": true
},
"generic_inserted": {
"color": "#a6e22e"
},
"generic_strong": {
"bold": true
},
"generic_subheading": {
"color": "#a2cbff"
},
"background": {
"background_color": "#282c34"
}
}
},
"table": {
"center_separator": "┼",
"column_separator": "│",
"row_separator": "─"
},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}

9
nvim-old/README.md

@ -0,0 +1,9 @@
### Old Neovim config
This is my old Neovim config, using [vim-plug](https://github.com/junegunn/vim-plug) and [coc.nvim](https://github.com/neoclide/coc.nvim).
It is not maintained anymore, you should look for [the new config in Lua](../home/.config/nvim/init.lua) instead.
### Credits
- [@ChristianChiarulli](https://github.com/ChristianChiarulli)'s old Neovim config

0
home/.config/nvim/coc-settings.json → nvim-old/coc-settings.json

0
home/.config/nvim/ftplugin/markdown.vim → nvim-old/ftplugin/markdown.vim

0
home/.config/nvim/ftplugin/tex.vim → nvim-old/ftplugin/tex.vim

0
home/.config/nvim/ftplugin/vimwiki.vim → nvim-old/ftplugin/vimwiki.vim

0
home/.config/nvim/general/basic-settings.vim → nvim-old/general/basic-settings.vim

0
home/.config/nvim/init.vim → nvim-old/init.vim

0
home/.config/nvim/lua/_colorizer.lua → nvim-old/lua/_colorizer.lua

0
home/.config/nvim/plug-config/airline.vim → nvim-old/plug-config/airline.vim

0
home/.config/nvim/plug-config/ale.vim → nvim-old/plug-config/ale.vim

0
home/.config/nvim/plug-config/cheat_sh.vim → nvim-old/plug-config/cheat_sh.vim

0
home/.config/nvim/plug-config/choosewin.vim → nvim-old/plug-config/choosewin.vim

0
home/.config/nvim/plug-config/closetag.vim → nvim-old/plug-config/closetag.vim

0
home/.config/nvim/plug-config/coc.vim → nvim-old/plug-config/coc.vim

0
home/.config/nvim/plug-config/colorscheme.vim → nvim-old/plug-config/colorscheme.vim

0
home/.config/nvim/plug-config/dashboard.vim → nvim-old/plug-config/dashboard.vim

0
home/.config/nvim/plug-config/delimitMate.vim → nvim-old/plug-config/delimitMate.vim

0
home/.config/nvim/plug-config/doc.vim → nvim-old/plug-config/doc.vim

0
home/.config/nvim/plug-config/doge.vim → nvim-old/plug-config/doge.vim

0
home/.config/nvim/plug-config/easy-align.vim → nvim-old/plug-config/easy-align.vim

0
home/.config/nvim/plug-config/editorconfig.vim → nvim-old/plug-config/editorconfig.vim

0
home/.config/nvim/plug-config/emmet.vim → nvim-old/plug-config/emmet.vim

0
home/.config/nvim/plug-config/far.vim → nvim-old/plug-config/far.vim

0
home/.config/nvim/plug-config/floaterm.vim → nvim-old/plug-config/floaterm.vim

0
home/.config/nvim/plug-config/fzf.vim → nvim-old/plug-config/fzf.vim

0
home/.config/nvim/plug-config/git.vim → nvim-old/plug-config/git.vim

0
home/.config/nvim/plug-config/goyo.vim → nvim-old/plug-config/goyo.vim

0
home/.config/nvim/plug-config/illuminate.vim → nvim-old/plug-config/illuminate.vim

0
home/.config/nvim/plug-config/indentline.vim → nvim-old/plug-config/indentline.vim

0
home/.config/nvim/plug-config/moving.vim → nvim-old/plug-config/moving.vim

0
home/.config/nvim/plug-config/nerdtree.vim → nvim-old/plug-config/nerdtree.vim

0
home/.config/nvim/plug-config/nnn.vim → nvim-old/plug-config/nnn.vim

0
home/.config/nvim/plug-config/polyglot.vim → nvim-old/plug-config/polyglot.vim

0
home/.config/nvim/plug-config/rainbow.vim → nvim-old/plug-config/rainbow.vim

0
home/.config/nvim/plug-config/rnvimr.vim → nvim-old/plug-config/rnvimr.vim

0
home/.config/nvim/plug-config/rooter.vim → nvim-old/plug-config/rooter.vim

0
home/.config/nvim/plug-config/spaceline.vim → nvim-old/plug-config/spaceline.vim

0
home/.config/nvim/plug-config/startify.vim → nvim-old/plug-config/startify.vim

0
home/.config/nvim/plug-config/tablemode.vim → nvim-old/plug-config/tablemode.vim

0
home/.config/nvim/plug-config/tldr.vim → nvim-old/plug-config/tldr.vim

0
home/.config/nvim/plug-config/translate-shell.vim → nvim-old/plug-config/translate-shell.vim

0
home/.config/nvim/plug-config/undo.vim → nvim-old/plug-config/undo.vim

0
home/.config/nvim/plug-config/vim-buffet.vim → nvim-old/plug-config/vim-buffet.vim

0
home/.config/nvim/plug-config/vimwiki.vim → nvim-old/plug-config/vimwiki.vim

0
home/.config/nvim/plug-config/vista.vim → nvim-old/plug-config/vista.vim

0
home/.config/nvim/plug-config/which-key.vim → nvim-old/plug-config/which-key.vim

0
home/.config/nvim/plug-config/whitespace.vim → nvim-old/plug-config/whitespace.vim

0
home/.config/nvim/plugin/autocmd.vim → nvim-old/plugin/autocmd.vim

0
home/.config/nvim/plugin/keybindings.vim → nvim-old/plugin/keybindings.vim

0
home/.config/nvim/vim-plug/vim-plug.vim → nvim-old/vim-plug/vim-plug.vim

3
setup/README.md

@ -0,0 +1,3 @@
### Setup
Contains some scripts for quicker installing / compiling stuff I like.

6
system/README.md

@ -1,6 +1,8 @@
# System notes
### System
## Networking
This directory contains some system configuration templates.
### Networking notes
To setup networking without any network managers, dhcp client, etc.