Close

Syntax Highlighting for Markdown in Vim

Posted on by Brooke Lester

When I first learned Vim, I was excited to begin writing in Markdown while composing in Vim. Some things didn't work like I hoped. Opening and creating files with my favorite Markdown filename suffix (name.md), I found that the syntax highlighting was a nightmare: weird choices, and color changes after every use of a quote mark (as with contractions like "don't" or "isn't").

Scouting around, I found a solution. I repeat it here for clarity and so that other people Googling around with the same problem have another, more recently published, chance at the answer.

You first need to create a Vim resource file, or edit it if it already exists. In Terminal (Mac or Linux), navigate to your User directory:

cd ~/

There, check to see if you have an invisible file named .vimrc by listing all files, including invisibles:

ls -a

Now, create (or open) that file:

vim .vimrc

Finally, edit that file to include the following:

" set sytax highlighting on.
syntax on

" set files with extension .md to be recognized as markdown.
filetype on
au BufNewFile,BufRead *.{md,mdown,mkd,mkdn,markdown,mdwn} set     filetype=markdown

The double quotes simply turn the rest of that line into a comment line.

My own .vimrc file also includes the following, though I don't mind saying I can't quite remember why, off hand. If you know, please feel free to remind me in the comments.

set autoindent

" set not compatible mode to enable Vim features.
set nocp

Save the file and quit Vim. Navigate back to whatever directory you wish to be composing in. Create or open a "name.md" (or "name.mdown," or whatever) file, and voila! Lovely, correct Markdown sytax highlighting in Vim!

I have successfully done this in MacOS and in Linux Ubuntu. I think I once did it in Windows 7 as well.

I hope somebody finds this useful. If so, let me know.

My Other Blog is a Seminarium Blog

Posted on by Brooke Lester

Much of my recent work is at Seminarium Blog, a group blog about pedagogy in religious studies (higher education). Seminarium is a creation of Fortress Education. I have added a page to Anumma, linked in my sidebar, pointing to my recent writing and vlogging at Seminarium.

I haven't walked away from Anumma blog, though I am definitely in one of those periods where Anumma is eclipsed by the rest of my writing life: Seminarium, scholarship projects, student assessment, administrative writing, etc. It's not my first fallow period here--as Anumma has evolved from solid Old Testament and ancient Near East studies, into "biblioblogging," into Hebrew Bible and higher education, and increasingly into digital learning--and, insh' Allah, won't be the last. Thanks for reading, keep me in your feed, and come visit us over at Seminarium!

What's a Little Unfriending among Friends?

Posted on by Brooke Lester

Like many other Facebook users, I have a lot of Friends that I don't interact with much; or, I find that my Friends list has come to be at crossed purposes with what I'm trying to get out of Facebook. After all, most of us developed our network of Facebook Friends when the service was new. Not only did we not yet have an idea of where our Facebook use was going, but Facebook itself has changed a lot in the meantime.

These are the considerations going into my upcoming Great Facebook Friends List Slash and Burn:

Does this person have another way to reach me? For example, if I know them as a colleague or former student at Garrett-Evangelical, then they either have my contact information, or can always reach me through the school. Not only that, but a Google search of my name will yield my web site, which has a Contact Me tab (or my YouTube channel, where they can comment; or my Academia.edu page, which includes a phone number; or…). So--might as well face it--everyone can reach me. There is no one who really needs to be my Facebook Friend in order to contact me.

Have this person and I interacted in the last year or so? Have we commented on one another's Updates? Have we Messaged each other? Do we interact offline or in other environments like Twitter? If I do interact with this person, on Facebook or elsewhere, then I'd like to preserve the Facebook Friendship.

What about former students? This is a hard one. I really do not want to send an implicit (and erroneous) message to former students that I am ready to forget about them, or worse, that I only reciprocated their Facebook Friendship perfunctorily or grudgingly. But, look, they're not my students any more, they are free citizens. In some cases, we have continued to interact with one another (see above). In other cases, we haven't. Former students can reach me by other means, just as anyone else can. I especially welcome them to do so, including those whom I Unfriend after years without interaction.

What about current students that I don't know well? Sometimes current students whom I don't know choose to issue me a Friend request, then do not interact substantively (or at all) with me. But, hey, hope springs eternal: maybe tomorrow. Maybe I could Like or Comment on something of theirs and something might come of it. What the hey. Keep 'em.

As I have said previously, nobody can say authoritatively what "Friending" on Facebook is. Don't let me, or anyone else, tell you what your experience of Facebook, or of Facebook Friending, has to be! Only through their continuing decisions do users decide for themselves what "Friending" can be, or what it will become.


[What's a Little Unfriending among Friends? was written by G. Brooke Lester for Anumma.com and was originally posted on 2013/02/15. Except as noted, it is © 2013 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

If You Move Your Blog

Posted on by Brooke Lester

By all means, go ahead and change your blog location. I've done it twice myself with anumma.com, first from Wordpress.com to Squarespace, then from Squarespace 5 to Squarespace 6.

But seriously, keep your links intact. I mean, you wanted me to link to your posts, right? And bookmark them? And suggest them to others?

If you find yourself saying something like this:

Please update your bookmarks, favorites, feeds, links, etc.

At least forget the euphemism, and say it like this:

I have broken all your bookmarks, favorites, feeds, links, etc.

Please delete all your bookmarks, favorites, feeds, links, etc.

After all, we were close once, weren't we?


[If You Move Your Blog was written by G. Brooke Lester for Anumma.com and was originally posted on 2012/10/03. Except as noted, it is © 2012 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

Hayyom Yom Huledet la'Anu-um-ma

Posted on by Brooke

Today this blog is humming "Happy Birthday" to itself while putting down shelf paper and unpacking boxes in its new home. It's had a quiet year while I keep busy with offline writing, with my OT and Hebrew teaching, and with learning and teaching digital learning and teaching. There is some good stuff going on these days that I look forward to writing up…no fooling.

Hello (Again), World!

Posted on by Brooke

I've moved almost everything I want from WordPress here to Squarespace. The Tags didn't make the journey, I'm afraid, so that will be a piece of housekeeping in progress. But, all the old posts are here, and the links should all work seamlessly.

I'll be playing with the décor from time to time, and please let me know if you're having any trouble with the site or with the design.

Squarespace looks like a good home. Let me know what I can do to make this corner more inviting.

Housekeeping

Posted on by Brooke

I am in the process of moving the blog to a new location. The URL will not change, but you will see some untidiness for a short while. For example, I'm letting the CSS upgrade lapse, and will lose some of the formatting that I like. In a few days, insh'allah, you'll see a complete makeover once I've moved everything to Squarespace.

Biblical Scholars: Care to be Interviewed?

Posted on by Brooke

I have assigned my "Introduction to Old Testament" students to interview a "real biblical scholar." Students will collaboratively come up with questions for their interviews during October, and conduct their interviews by phone or Skype in early November. They will then write a report on their interview.

Here is how I describe the report to them:
The student will have already prepared and refined a list of questions, independently and in collaboration with colleagues. She will have contacted the subject, arranged the interview, and held the interview, in accordance with instructions.

The report should demonstrate that the student asked questions appropriate to academic biblical studies, while also appropriately inviting the subject to reflect on “essential questions” related to the practice of academic biblical studies. The report should contain an introduction, a list of questions, and a body that communicates the subject’s responses to each question, and a conclusion. The report should show evidence that the interview has prompted the student to “step back” and reflect on her practice of biblical studies both for our course work and longer term.

I would like volunteers to either have a completed PhD, or else be ABD with a full-time academic job in biblical studies.

If you are interested, you can respond here in comments, or else email me at my work address: brooke dot mylastname at garrett dot edu.

Thanks!

[Biblical Scholars: Care to be Interviewed? was written by G. Brooke Lester for Anumma.com and was originally posted on 2011/09/20. Except as noted, it is © 2011 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

Plagiarism Paralysis

Posted on by Brooke

I’ve want to write a post about plagiarism, with reference to an excellent series of educational “what-is-plagiarism?” posters that I recently discovered.

But, the company publishing the posters won’t return my emails asking for permission to reproduce them.

[Plagiarism Paralysis was written by G. Brooke Lester for Anumma.com and was originally posted on 2011/04/06. Except as noted, it is © 2011 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

Maybe a Chip in My Head Like Spike Had

Posted on by Brooke

In the current incarnation of our academic calendar, Monday is Administrative Day. Classes don’t meet, and faculty all have our meetings. Instructors will know how this kind of thing gets written, via the weekly workings of the Hive Mind, into one’s DNA. No classes Monday.

But this term, Elementary Greek meets Monday mornings at 8:30 a.m. (the result of a complicated, meeting-date-to-be-arranged situation). And my habit is to prepare the previous Thursday, so that Research Friday is left alone and the weekend can be spent poking at longer-term projects.

And so, every Sunday evening for the last three weeks, I've startled awake just before dropping off and yelped, “GREEK!”

So I’m totally setting an iCal alarm to alert me to the remaining sessions, synching with my phone and iPod to give me a three-machine alarm along about Sunday dinner. Because let’s face it, my subconscious has already outperformed itself bailing me out on this one.

[Maybe a Chip in My Head Like Spike Had was written by G. Brooke Lester for Anumma.com and was originally posted on 2011/03/07. Except as noted, it is © 2011 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

What's (Not) Going On around Here: Craft

Posted on by Brooke

A very short while ago (subjective time) I announced a plan to pen a short series of insufferably self-absorbed, navel-gazing gritty, fact-finding posts about what goes into this particular web address. For my purposes, the series amounts to an attempt to respond reflectively and directly to the fact that a five-post-a-week habit had fallen into…irregularity.



This morning, I take a moment to stir into that glass of water a few words on writing.

For me, putting words on a page is enjoyable in direct proportion to how much attention I can give them. Like anything else. It’s the difference between a leisurely afternoon maintaining your bicycle and sweating out your shirt to patch & inflate a torn inner tube on the way to your first job interview in three months. Or, to return inadvisably to the theme of “irregularity,” it’s the difference between crafting your martial arts patterns & techniques every morning and flailing through them in miniature while behind the wheel driving late to the promotion test.

To put it in terms of product rather than process, a blog post worthy of the name is, on average, a good 250+ words that are lovingly chosen to accomplish some keenly-felt goal…not, as Drifty reminds us through prophetic sign-act and through don’t-miss dialogue with Blue Gal, twelve words wrapped around a link to Digby. Or to James, or Peter, or Mark.[1]

So I offer what another craftsperson, Poul Anderson, liked to call “the triumphant discovery of the obvious”: it turns out that, when one is five-alarm, brain-yammering, cringing-and-trembling, fear-mad busy on most days of your vain life that are given you under the sun… one finds that opportunities to craft quietly-running bicycles, effective Taekwon-do patterns, and satisfying strings of words fall as few as workers, and as far between as pebbles in the sky.

BACK TO POST (N.B.: Secondly, I've got to get more bloggy friends with OT names. But firstly, we need to make permanent the thread about Where All da [Biblical-Studies-Bloggin] Wimmin At?)

[What's (Not) Going On around Here: Craft was written by G. Brooke Lester for Anumma.com and was originally posted on 2011/02/16. Except as noted, it is © 2011 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

What's (Not) Going On around Here?

Posted on by Brooke

“What's not going on around here?” That's easy: writing.

“What is going on around here?” is another question, and amounts to, “Why isn’t writing going on?”

The easy—far too easy, and therefore false—answer is, I am just way, way too busy. And I am too busy, so that is not the part that is false. What is false, is the notion that there is such a thing as “Too busy to write,” if writing wants to be happening.

I have in mind a short series of short posts, in which I think aloud a bit about why I write here, and what sorts of things get into the way of writing in a space like this. It will not be about “blogging,” so much as it will be about “blogging here at Anumma.”

So, feel free to read or not read. Without anticipating the results of my inquiry, I can say that it is likely that there will be, at the other end, blog posts having some continuity with what has gone before: reading CoS in a year, how to be a student, the social web and teaching higher ed, a little light debunking of Bible woo, and of course, Hebrew Bible (Old Testament).

What’s (not) going on around here? Every few days, on a schedule negotiated between a crushing teaching load and a persistently impatient desire to write, we’ll just see.


[What's (Not) Going On around Here? was written by G. Brooke Lester for Anumma.com and was originally posted on 2010/10/24. Except as noted, it is © 2010 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

James Cone Live Today at 11 and 3 CT

Posted on by Brooke

Dr. James Cone is delivering our Convocation address at G-ETS this morning at 11:00 CT, and there will also be a panel discussion at 3:00 CT.

His address is titled, “Nobody Knows the Trouble I've Seen: The Cross and the Lynching Tree in the Black Experience.”

The link for the live webcasts is www.garrett.edu/convocation. Viewers will need to have downloaded and installed Apple's free QuickTime Player, and may begin viewing fifteen minutes before events begin.

[James Cone Live Today at 11 and 3 CT was written by G. Brooke Lester for Anumma.com and was originally posted on 2010/09/15. Except as noted, it is © 2010 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

Retreat

Posted on by Brooke

[audio http://anumma.files.wordpress.com/2010/08/12retrt1.mp3]

Faculty retreat today and tomorrow, and I don’t yet know whether there will be wireless to be had. If there is, I’ll post a bit.

In the corners of the retreat time and space, I need to continue work on syllabi, mainly the daily/weekly schedules. Just think: right now, the details of the rest of 2010 in the lives of scores of women and men remains a cloud of probabilities, like Schrödinger’s Cat. In a few days, that cloud of probabilities will have been resolved into a determined state, like…Schrödinger’s Cat with the lid up.

[Retreat was written by G. Brooke Lester for Anumma.com and was originally posted on 2010/08/30. Except as noted, it is © 2010 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

Students, You're on Notice!

Posted on by Brooke

Yesterday afternoon, my son had a play date with a Taekwon-Do classmate who also happens to be the child of one of our Masters students. The student, my wife, and I chatted aimlessly while the kids played on a water slide in the back yard. Among the topics that came and went were:

  • The first of the Amarna Letters (EA 1), with comments on the epistolary genre of the letters (specifically, how a flattering salutation and an exhaustive list of well wishes and assurances of well-being precede a body mostly involving bitter squabbling);

  • How 1000 words is really not that many to write, and how students with writing experience know that editing down to 1000 words is ‘way harder than getting up to 1000 words in the first place.


Not three hours later, I got an email from said student, in which she:

  • composed the email in a parody of the epistolary genre of EA 1; and

  • pointed me to where she had demonstrated our point about writing by banging out 1000 words on the first topic to come ready to hand, specifically Ecclesiastes 1–2.


Students who would complain that form criticism is intractable or that 1000 words is a lot to write: you’re on notice!

[Students, You're on Notice! was written by G. Brooke Lester for Anumma.com and was originally posted on 2010/07/30. Except as noted, it is © 2010 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

The Endless Summer of Endless Teaching…

Posted on by Brooke

…ends very soon. In mere days, in fact. Thanks for your patience, and don't delete that RSS feed just yet.

In the meantime, enjoy [FOOTNOTE] the biblical exegesis of Wanda Jackson (“Hard Headed Woman”).



BACK TO POST“enjoy" here ≈ being acutely reminded of how frequently the only “empowerment” available has amounted to “internalizing as self-loathing the sweeping prejudices of the patriarchy, but being really saucy and spunky about it.” h/t to Judy in comments.

[The Endless Summer of Endless Teaching… was written by G. Brooke Lester for Anumma.com and was originally posted on 2010/07/19. Except as noted, it is © 2010 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]

Well, It's Like This...

Posted on by Brooke

So what does it take for a reasonably regular blogger to go AWOL for nearly two weeks? Not much, it turns out. I changed my daily schedule a bit in order to get more physical exercise, and there was this beautiful spot in the day when I usually write my posts, and…

Anyway, I’m playing with solutions. Keep me on your reader, if you would, while I settle into a new routine.

To thank you for stopping by, and to keep such lapses as this of mine in perspective, I offer you The Known Universe:



[Well, It's Like This... was written by G. Brooke Lester for Anumma.com and was originally posted on 2010/04/28. Except as noted, it is © 2010 G. Brooke Lester and licensed for re-use only under CC BY-NC-ND 3.0.]