Browse the Web in Neovim
5.7 هزار بار بازدید -
2 ماه پیش
-
Have you ever wished you
Have you ever wished you could browse the web without ever leaving Neovim? Or maybe you just want to use Vim bindings in your normal browser. Stay tuned because I’m about to show you my favorite way to do both of these things.
Show Notes:
W3M Vim Plugin: https://github.com/yuratomo/w3m.vim
W3M CLI: https://w3m.sourceforge.net/
Surfing Keys: https://github.com/brookhong/Surfingkeys
Neovim Starter Kit: https://github.com/bcampolo/nvim-star...
Neovim Playlist: Neovim
Surfing Keys Advanced Settings:
// Remap capital F to af (Open Link in New Tab)
api.unmap('F');
api.map('F', 'af');
// Remap s to ;fs (Show 'Focus Scroll Panel’ Hints)
api.unmap('s');
api.map('s', ';fs')
// Change hint style to be more readable
api.Hints.style("
text-align: center;
vertical-align: middle;
border: 1px solid #303030 .;
background: #ccffcc .;
color: #000000 .;
font-size: 16pt;
font-family: Arial;",
"hint"
);
Show Notes:
W3M Vim Plugin: https://github.com/yuratomo/w3m.vim
W3M CLI: https://w3m.sourceforge.net/
Surfing Keys: https://github.com/brookhong/Surfingkeys
Neovim Starter Kit: https://github.com/bcampolo/nvim-star...
Neovim Playlist: Neovim
Surfing Keys Advanced Settings:
// Remap capital F to af (Open Link in New Tab)
api.unmap('F');
api.map('F', 'af');
// Remap s to ;fs (Show 'Focus Scroll Panel’ Hints)
api.unmap('s');
api.map('s', ';fs')
// Change hint style to be more readable
api.Hints.style("
text-align: center;
vertical-align: middle;
border: 1px solid #303030 .;
background: #ccffcc .;
color: #000000 .;
font-size: 16pt;
font-family: Arial;",
"hint"
);
2 ماه پیش
در تاریخ 1403/04/23 منتشر شده
است.
5,787
بـار بازدید شده