![]() ![]() The jump from there to regions is pretty straightforward. Takes a position returns a list of ranges, applying the list of ranges to an operator produces an edit. I came up with the idea for an edit core consisting of motions as compositions of partially applied functions. I thought it was awesome and did a bunch of research:Īfter reading a bunch, I got around to thinking what I'd have to do to implement an editor that could handle generalized cursors based on my experience with vim and hacking on it. I was introduced to multiple selection and generalized cursors when one of the DabbleDB guys implemented a generalized cursor editor. These are nonlinear the way surround is nonlinear. I think there are motions I have not yet discovered that operate on syntax trees. Text objects for scope, variable references, etc. > As for motions, what kind of motions do you think are difficult to create? I doubt I'll move off any time soon but it's far from inconceivable. Finally, I spent time with LEO in the early 2000s and while I hated the editing, the text node organization was interesting and I haven't seen a similar attempt elsewhere.ĭon't get me wrong, there ARE new things in Vim that are unique/cool like conceal and I can do fun/weird stuff with UltiSnips which I haven't been able to do with other snippet systems. I'd also like to see some sort of AST manipulation server pop up and to provide IDE-like services in a cross-editor manner. I think there is potential for interesting display/visualization stuff for the HTML based editors and integration into the runtime like Smalltalk environments. I had more use cases when I was thinking about it but they're not coming to mind at the moment. The obvious use case is xml tags where editing one tag name in the pair updates the other but I think it could be generic. * I've wanted to set up what I call 'regions' in the file where one part of the file is a computed version of another. Foreplay is sufficient but doesn't fill me with joy. This goes against the philosophy of the editor but having a repl is really convenient when doing lisps. The support that's built into ST is fairly primitive compared to the multicusor whitepapers from MIT (I believe around 2000) which did generic editing stuff. * There's limited context awareness built into the mapping system. If the vim maintainers/community could decide on syntax groupings and a query system was added it'd be doable but I'm not really expecting it. Textmate's scope stuff is really the best feature of the editor. * There's little/no context awareness built into the syntax highlighting/grammar files. EasyMotion gets by on marks while surround.vim is baroque. ![]() EasyMotion and Surround.vim are the only two real attempts I know of. * It's difficult to add new motions to vim. I just wanna get my work done.□ Not sure if you are joking, but that is neovim.Vim is my primary text editor and I'll never switch to an editor that doesn't have a command grammar but there's most definitely room for improvement:.I haven't dug deep into the documentation, written Lua for scripting, nor used it differently from how I used vim, so I'm probably not using it to its full power. I've been using it for over a year while making changes to my configuration). I used to use vim, but I heard Neovim was getting popular and decided to try it out. My Development Setup Getting into the actual coding part, we have Neovim.There are also many promising projects like Lapce and CudaText (but they are admittedly not great yet). Visual Studio Code is designed to fracture Even if you disregard all of the terminal based editors (micro, Kakoune, neovim, Helix) there's Kate which is already awesome and constantly getting great updates.I do reference mine later, helped by the fast search functions in those two tools. Do y’all have hundreds of massive note files? Half of mine are in Notational Velocity (mac), half are in markdown files organized in folders which I edit in neovim.If you really wanted to go for the monolithic editor there's jetbrainz phpstorm, but it's got quite the pricetag. Old school developer, looking for suggestions to modernize my dev environment Other text editors with IDE capabilities I'd consider are sublime text 4 or neovim. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |