« first day (2017 days earlier)      last day (1655 days later) » 

08:05
Hi.
I've just seen this edit to add a new an undocumented "mvc" tag: https://vi.stackexchange.com/posts/11892/revisions
Does anybody understand what this is about?
08:27
I've only ever seem MVC as an abbreviation for Model View Controller, but I can't see how that relates to that question
Looks like @muru rolled back the tag addition
08:46
2
Q: Can this be done with Ultisnips?

noibeI use UltiSnips for many of my TeX snippets, and I'm trying to create one to automatically insert a new \item inside itemize or enumerate environments. The way it should work is the following: every time I'm done writing an \item, if I press the trigger key (<tab> for me) a function should be cal...

 
4 hours later…
12:45
Hum. I haven't been here for a long time and quite interesting discussions happened.

With something like 20ish years of vim scripting, I've spent some time on the topic of script writing and maintenance.

I've "started" ("ended-up a long time ago" would be more correct) with a vim library I use in almost all other scripts I write, hence my stance on "VAM or vim-flavor are the only two plugin managers that deserve attention -- as they are the only ones that support dependencies".

In my library plugin I've added a logging framework and a Design By Contract framework, plus some other blog-li
13:10
@LucHermitte I’d be happy to have your perspective on writing plugins! I think it would make an interesting contrast to my own somewhat minimalist coding style.
 
6 hours later…
18:50
Here’s the OO In Vim article @LucHermitte mentions above: github.com/LucHermitte/lh-vim-lib/blob/master/doc/…
19:36
The OO article is a very specific part for when I think it would be simpler with objects.
What really defines my _style_ is that I've quickly spent time into several distinct and unrelated plugins and I needed the same helper functions in several plugins. That's when I started to define "library plugin files" which were stored either in `plugin/` or in `macros/`. Then came Vim7, and autoload plugins had a great impact -- as important as Vim6 which introduced ftplugins (yeah I was emulating ftplugins in Vim 5.x at the time: http://hermitte.free.fr/vim/ftplugin.php#ftplugin)
19:47
Then, there is my plugin maintenance workflow. I'd have a lot to say as well. And I think the most important parts are how I track errors (I have my owns solutions for navigating plugins, reloading them... but other exist as well). All is done through several features of my main library plugin (logs, DbC, and `:WTF`) and my vim-UT plugin. While I've described the features, I haven't really described the actual workflow.
More over using a complex logging framework in a new and simple plugin can seem overkill at first. Yet, as the plugin grows in complexity, the logs become more and more impo
s/dependencies in not trendy/dependencies are not trendy
Management of options, the importance of not assuming users only work on a single project at the time have been described in a couple of places of lh-vim-lib wiki.
20:05
5
Q: Why does `<Bar>` behave like `|` in the `:command` command in Vim?

Lone LearnerHere is the list of experiments I performed that shows that <Bar> is treated as literal <Bar> in some commands but it is treated as | in the :command command. I am trying to understand why or what in the documentation dictates that <Bar> should be treated as | in the :command command. Case 1: :! ...


« first day (2017 days earlier)      last day (1655 days later) »