repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovide: better fonts

239999324e0f8fc240d73e9fdc29a5ce157c3841

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (7)

fedora.symlinks

Modified
79 79 fonts
80 80 ~/.local/share/fonts
82 +neovide
83 +~/.config/neovide

neovide/config.toml

Added
new file mode 100644
1 +fork = true
2 +frame = "none"
3 +maximized = true
4 +tabs = true
5 +theme = "auto"
6 +wsl = true
8 +[font]
9 +size = 15.0
10 +edging = "supixelantialias"
11 +hinting = "none"
13 +[[font.normal]]
14 +family = "Cousine"
15 +style = "Regular"
16 +[[font.normal]]
17 +family = "Symbols Nerd Font Mono"
18 +style = "Regular"
20 +[[font.bold]]
21 +family = "Fantasque Sans Mono"
22 +style = "Bold"
23 +[[font.bold]]
24 +family = "Symbols Nerd Font Mono"
25 +style = "Bold"
27 +[[font.italic]]
28 +family = "Victor Mono"
29 +style = "Oblique"
30 +[[font.italic]]
31 +family = "Symbols Nerd Font Mono"
32 +style = "Oblique"
34 +[[font.bold_italic]]
35 +family = "Victor Mono"
36 +style = "Bold Italic"
37 +[[font.bold_italic]]
38 +family = "Symbols Nerd Font Mono"
39 +style = "Bold Italic"

neovim/README.md

Modified
39 39 # todo
41 +* figure out desirable cmp key maps
41 42 * try loading lsp async for better startup perf
42 -* check out vim-dadbod for sql workflows
43 43 * navic highlights do not fit winbar
44 +* add nu-check to nvim-lint
45 +* add nu lsp
44 46 * make highlights more visible when expanding snippets
45 47 * cursor restore position on (session?) load jumps one location to somewhere
46 48 after correct location
47 49 * check out `vim.snippet`
48 50 * use `vim.base64` in wezterm plugin
49 51 * integrate language tool?
50 -* refactor mark.lua
51 52 * adapt config to respect `vim.g.nerdfont` (std.constants?)
52 53 * Do I want multiple LSPs per buffer?
53 54 In case of markdown and text it seems useful, for code it seems like a
54 55 headache...
55 -* use ltex-ls for markdown, code comments and commit messages
56 56 * flesh out 'const.lua', move to std?
57 57 * nvim spell for camel case words
58 -* add nu-check to nvim-lint
59 58 * create skeleton-plugin for default file content based on file type
60 59 (BufNewFile?)
61 60 * make lsp config extensible, so that plugin configs can hook into it (e.g.
62 61 on_attach)
63 -* split parts of config into plugins
64 62 * add support for Java multi line string in autopairs
65 -* try Termdebug with gdb

neovim/lua/bugabinga/options/ui.lua

Modified
124 124 vim.opt.smoothscroll = true
126 126 -- cursor
127 -vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50'
127 +-- vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50'
129 129 -- font
130 -vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h15:#e-subpixelantialias:#h-none'
130 +-- vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h15:#e-subpixelantialias:#h-none'
132 132 -- neovide only options
133 133 if vim.g.neovide then
134 - -- vim.g.neovide_profiler = false
134 + vim.g.neovide_profiler = false
135 135 -- interpret all touch events as scroll events
136 136 vim.g.neovide_touch_deadzone = 0.0
137 137 -- after this timeout, start a visual selection
138 + vim.g.neovide_underline_stroke_scale = 2.5
138 139 vim.g.neovide_touch_drag_timeout = 0.69
139 - vim.g.neovide_padding_top = 0
140 + vim.g.neovide_padding_top = 8
140 141 vim.g.neovide_padding_left = 8
141 142 vim.g.neovide_padding_bottom = 0
142 143 vim.g.neovide_padding_right = 0
143 144 vim.g.neovide_hide_mouse_when_typing = true
144 145 vim.g.neovide_refresh_rate_idle = 5
146 + vim.g.neovide_theme = 'auto'
147 + vim.g.experimental_layer_grouping = true

neovim/lua/bugabinga/plugins/actions-preview.lua

Deleted
deleted file mode 100644
1 -local map = require 'std.map'
3 -map.normal.visual {
4 - description = 'Open Code Actions Preview...',
5 - category = 'lsp',
6 - keys = '<leader>la',
7 - command = function () require 'actions-preview'.code_actions() end,
8 -}
10 -return {
11 - 'aznhe21/actions-preview.nvim',
12 - opts = {
13 - telescope = {
14 - sorting_strategy = 'ascending',
15 - layout_strategy = 'vertical',
16 - layout_config = {
17 - width = 0.69,
18 - height = 0.42,
19 - prompt_position = 'top',
20 - preview_cutoff = 21,
21 - preview_height = function ( _, _, max_lines )
22 - return max_lines - 16
23 - end,
24 - },
25 - },
26 - },
27 -}

neovim/lua/bugabinga/plugins/virt-column.lua

Modified
1 1 local ignored = require 'std.ignored'
2 +local icon = require 'std.icon'
3 4 return {
4 5 'lukas-reineke/virt-column.nvim',
5 6 version = '2.*',
6 7 event = 'VeryLazy',
7 8 opts = {
8 - char = { '┆', '╎', '│', },
9 + char = { icon.vertical_bar },
9 10 exclude = {
10 11 filetypes = ignored.filetypes,
11 12 buftypes = ignored.buftypes,

tools/tools.csv

Modified
34 34 mdsh
35 35 monolith
36 36 # netscanner
37 +neovide;neovide; --git https://github.com/neovide/neovide
37 38 nu;nu; --locked
38 39 ouch
39 40 pastel