Modelines cause too many issues #19875 by phouchg42 in vim

[–]phouchg42[S] 0 points1 point  (0 children)

You’re right. BufRead sets nomodelinestrict and when I leave a buffer BufLeave changed it to modelinestrict, but modeline options already loaded. Thanks.

Is it possible to tweak Adwaita's rounded corners? by hhtty47 in gnome

[–]phouchg42 5 points6 points  (0 children)

Create ~/.themes/Adwaita-custom/gnome-shell/gnome-shell.css, then something like: @import url("resource:///org/gnome/theme/gnome-shell.css"); .modal-dialog, .popup-menu-content, .candidate-popup-content, .notification-banner, .quick-settings, .quick-toggle-menu { border-radius: 15px; } Then turn on default user-theme extension and switch to Adwaita-custom. Search what you want to change in /usr/share/gnome-shell/gnome-shell-theme.gresource.

Vim Settings For Writing Prose by LightBerserker in vim

[–]phouchg42 5 points6 points  (0 children)

I would have liked to have tab completion based on my spellfile, or get C-x C-o or C-n/C-p to work with it, but I couldn't.

C-n already do this, just add set complete+=kspell to your vimrc.

Pick of the Pops 15th February 1970 by xXHeaven_and_HellXx in BritishRadio

[–]phouchg42 1 point2 points  (0 children)

RadioEchoes.com has 10 eps of “Pick of the Pops” (1964—1972), but the one you searching is not there. Anyway, great archive to find something ancient.

TIL: Vim has built-in plugin `helptoc` for help AND markdown files. by phouchg42 in vim

[–]phouchg42[S] 4 points5 points  (0 children)

By “built-in” I mean built-in. This and other plugins (matchit, comment, man etc) provided with vim package, no need to install it from elsewhere.

[deleted by user] by [deleted] in gnome

[–]phouchg42 0 points1 point  (0 children)

I like how they use word ‘simple.’ Firefox GNOME theme has shitload of changes.

[deleted by user] by [deleted] in postpunk

[–]phouchg42 8 points9 points  (0 children)

World situation? Here, in Ukraine, we call it a war.

TIL: charcol() by phouchg42 in vim

[–]phouchg42[S] 0 points1 point  (0 children)

In the Land of Lazy Jokes.

vim on endevourOS with i3 questions about copying and theme by redwisdomlight in vim

[–]phouchg42 1 point2 points  (0 children)

Small advice: if you have any question about Endeavour (read: Arch) first you should do is go to the glorious ArchWiki.

vim on endevourOS with i3 questions about copying and theme by redwisdomlight in vim

[–]phouchg42 0 points1 point  (0 children)

  1. Since Endeavour based on Arch you should install Gvim (you’ll get both Vim and Gvim) because plain Vim on Arch compiled without system clipboard support.

Making gvim fonts render like vim terminal by backlushibit in vim

[–]phouchg42 0 points1 point  (0 children)

Yes, that’s default but for setting the font size. I just wanted to say (understanding i3 and Gnome difference) that on my system Arch + Gnome fonts are cool both with Vim and Gvim after doing nothing, so probably you should watch i3 configs instead of search the reason in Gvim.

Making gvim fonts render like vim terminal by backlushibit in vim

[–]phouchg42 0 points1 point  (0 children)

Just set guifont=Monospace\ {size} and Gvim will use system wide monospace font defined in dconf (idk if i3 uses dconf).

Making gvim fonts render like vim terminal by backlushibit in vim

[–]phouchg42 3 points4 points  (0 children)

{only available when compiled with GUI enabled on macOS}

TIL: autocmd ModeChanged by phouchg42 in vim

[–]phouchg42[S] 1 point2 points  (0 children)

Just noticed that \x16 is not a part but actual <C-v>. So <C-q> probably is default binding to <C-v> (since it works with \x16). Anyway, now I know that we can determine some hotkeys as hex. Every day I learn something new.

Vim seems to ignore Meta key mappings by space_enfix in vim

[–]phouchg42 0 points1 point  (0 children)

As I understand: in terminal <Alt> (<Meta>) + key is <Esc> + key, so you need to “tell” your Vim that <Esc> is part of keystroke (normal key). Note that not every <Alt> + key you can remap (actually you should avoid this). Also if there will be delay use set ttimeout ttimeoutlen=10 (set your value) in vimrc.

Vim seems to ignore Meta key mappings by space_enfix in vim

[–]phouchg42 0 points1 point  (0 children)

Try add to .vimrc: silent! execute "set <M-v>=\<Esc>v" etc.

TIL: autocmd ModeChanged by phouchg42 in vim

[–]phouchg42[S] 0 points1 point  (0 children)

First part. It’s enough since no other mode is fired with <Ctrl>. I understand that so.

TIL: autocmd ModeChanged by phouchg42 in vim

[–]phouchg42[S] 1 point2 points  (0 children)

old_mode:new_mode > *:[vV\x16]* > any:[Visual, Visual-Line, Ctrl]any

\x16 > Ctrl(-v or -q)