惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hacker News - Newest:
Hacker News - Newest: "LLM"
Webroot Blog
Webroot Blog
S
Security @ Cisco Blogs
H
Heimdal Security Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
www.infosecurity-magazine.com
www.infosecurity-magazine.com
N
News and Events Feed by Topic
H
Hacker News: Front Page
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
SecWiki News
SecWiki News
N
News | PayPal Newsroom
T
Tor Project blog
W
WeLiveSecurity
A
Arctic Wolf
Security Archives - TechRepublic
Security Archives - TechRepublic
S
Secure Thoughts
月光博客
月光博客
AWS News Blog
AWS News Blog
D
Docker
C
CERT Recently Published Vulnerability Notes
MyScale Blog
MyScale Blog
Google Online Security Blog
Google Online Security Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
I
InfoQ
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
Hacker News: Ask HN
Hacker News: Ask HN
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
Recorded Future
Recorded Future
罗磊的独立博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
The Exploit Database - CXSecurity.com
D
DataBreaches.Net
S
Security Affairs
WordPress大学
WordPress大学
T
Threatpost
Microsoft Security Blog
Microsoft Security Blog
V
Vulnerabilities – Threatpost
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
B
Blog RSS Feed
Project Zero
Project Zero
P
Proofpoint News Feed

Ben Frain

So, you want a React modal that uses the <dialog> element and transitions in AND out? Scroll indicators on tables with background colours using animation-timeline Review: SoundPEATS Clip1 Open ear clip-on headphones VS Code – highlight just the active indent guide Review: MoErgo Go60, a split ergonomic and fully programmable keyboard Review: Kinesis mWave mechanical ergonomic and programmable keyboard iOS26 Safari theme-color/tab-tinting with fixed position elements is a mess New Book: Responsive Web Design with HTML5 and CSS, 5th Edition Use @supports with a proxy feature/value for features you can’t test for (@starting-style) First adventures in View Transitions Review: Benq Screenbar Pro and Halo lightbars. The kit you never knew you needed! Center items in a container, and make then left aligned when they overflow A single element CSS donut timer/countdown timer, that can sit on any background Review: Open Ear Headphones – Bose Open Ultra v Huawei FreeClip In search of the perfect autocomplete for CSS Managing multiple versions of node, without NVM or additional tools Review: Keychron Q14 Max Alice 96 Key mechanical keyboard NEW VIDEO COURSE: Responsive Web Design with HTML5 and CSS Is CSS Grid really slower than Flexbox? Review: Advantage360 Pro Signature Edition 2024 mechanical ergonomic keyboard More Keys or Fewer Keys for mechanical keyboards Yes! You can use position: sticky and overflow together Neovim – how to do project-wide find and replace? Review: Keyboardio Model 100, split, wooden, mechanical keyboard Struggling to learn SwiftUI How to create rounded gradient borders with any background in CSS How to get equal size icons in the cmp completion menu of Neovim with Kitty terminal Review: Dygma Defy, split, mechanical, programmable ergonomic keyboard What’s the best way to reset WAAPI chained animations? Using CSS @property inside shadowRoot (web components) workaround Dynamically create a ref for items when iterating over them in lit.dev templates Selecting and pausing running animations in Lit Web Components New Web APIs — a popover on top of a dialog element can’t be interacted with? Review: ZSA Voyager, split, mechanical keyboard Russel Brand, narcissism, and a sadly common pattern… Simple settings for writing and converting markdown with Sublime Text Review: The ZSA Platform tenting kit for the Moonlander keyboard Logitech MX Master 3/3s scroll wheel fix Building a line graph with CSS clip-mask Review: Dell 6K 32″ Monitor U3224KBA I broke my keyboard! Swapping the key switches in the Kinesis Advantage360 Pro HUGE macOS Productivity boost: Set-up simple, keyboard only, instant App switching and arrangement Adding to $PATH for a central location for Neovim/NPM tools Neovim Power Tips: Volume 2 Review: MoErgo Glove80, split, wireless, columnar ergonomic keyboard with RGB Review: Kinesis Advantage 360 Pro — split ergo mechanical keyboard Review: Dactyl Manuform – an ergonomic, custom built mechanical keyboard How to animate along an SVG path at the same time the path animates? Getting the context of Web Components (lit)
When it comes to text editors, I feel like Goldilocks
Ben Frain · 2023-09-08 · via Ben Frain

Falling between two stalls

I often find myself torn between the approaches of traditional and modal text editors.

I am now convinced that if the Internet didn’t exist, I could not be fully effective with Neovim. Day to day, mundane editing tasks? Sure. But fully proficient? Like off the top of my head write the code to do a project wide find and replace for a string? I need the Internet or my own prior notes for that.

As I age, my capacity to remember esoteric commands seems more limited. For example, for the odd time I want to perform a project wide find and replace, in Neovim, I just can’t remember that I need to type cfdo %s/thingOne\$/thingTwo$/g | update. Perhaps unsurprisingly, it just doesn’t flow forth from my brain. I suspect if I plied my trade in the backend, on a Linux workstation, many of the conventions would seem common sense and ‘bread and butter’, but for me, whilst I have an appreciation for their terseness, without encountering that syntax day to day, it just doesn’t come naturally.

Another example is multiple cursors. Where you would solve a problem with multiple cursors in a GUI editor, in Vim, you record and apply a macro. This involves recording the macro to a specific register, and then select where to apply said macro with the appropriate incantation: :g/pattern/norm! @a. Again, I get it, I just don’t remember it, and it is not easily searchable. I know all about the docs, sweet Jesus do I, but the manner in which they are written just doesn’t seem to resonate with me, and after a sortie into the help of Vim, I often remained baffled.

GUI editors have more obvious visual affordance by default — you can poke at them; search in the menu’s, hover on UI elements, context click for additional menus. Sometimes, I really need and appreciate those crutches.

My long time GUI editor of choice is Sublime Text (I find VSCode feels slow, and prefer to give my money to the ‘little men’). But that can feel lacking too. There is no built in Terminal (you can add one via Package). Granted, when I am in GUI land, I would likely only need it to perform the odd npm related command but it’s another thing.

Then there is working with Git. Sublime has some built-in Git goodness but for anything significant you need the Terminal or another GUI program. The companion app for the task is Sublime Merge; lightning fast and incredibly capable for sure, but another interface to learn and master. In the TUI I am a fan of Lazygit. I love when working in Neovim, it is right there, feeling like a part of the editing experience.

And what of the editing niceties of Vim? Typing ci" to change the value inside the quotes, daw to delete a word. Man I miss those capabilities for sure. At some point, I guess, one cannot have ones cake, and eat it.

For now, at least, the pendulum has swung back to my old faithful Sublime Text.