Readit News logoReadit News
markyg commented on Pin file in Neovim and quickly switch to them via telescope with dartboard.nvim   github.com/markgandolfo/d... · Posted by u/markyg
markyg · 7 months ago
A Neovim plugin to mark files and quickly access them, inspired by Harpoon and Lasso.

You can navigate in normal mode:

<leader>da - Add current file to marks <leader>dr - Remove current file from marks <leader>dl - List marked files in Telescope <leader>dc - Clear all marks <leader>1 through <leader>5 - Go to mark by index

And while in telescope

Press Ctrl-v to open in vertical split Press Ctrl-x to open in horizontal split Press Ctrl-d to remove the selected file from the list Press Ctrl-k to move the selected file up in the list Press Ctrl-j to move the selected file down in the list

markyg commented on el.js - Element/Node creation tool   github.com/markgandolfo/e... · Posted by u/markyg
TeeWEE · 13 years ago
I think creating nodes in javascript is a nogo, keep your html in your templates and just read the templates from js and there you can refer to nodes to do whatever you want in js.

But as always there are exceptions to the rule, and then this lib may come in handy.

markyg · 13 years ago
I've got a browser based notepad using local storage as the key:value store. I needed a way to 'open notes' and in turn create various tabs, etc.

HTML wasn't an option in something so dynamic.

I guess all I'm saying is, there are use-cases where it's fine

markyg commented on el.js - Element/Node creation tool   github.com/markgandolfo/e... · Posted by u/markyg
jrajav · 13 years ago
This looks like a straight-up copy of laconic, which is already used by many (including my team): https://github.com/joestelmach/laconic

It even hijacks the 'el' naming convention for it.

markyg · 13 years ago
el was shorthand for element. I wasn't aware of laconic until after I wrote this... I'm simply learning javascript and thought this would be a nice way to do it..
markyg commented on Online Word Counter   wordcountr.com... · Posted by u/markyg
mathgladiator · 15 years ago
I like the histogram. I like the style. It would be really cool if you collected all the words over time and present a global top ten... But the trolls would probably put naughty words up.
markyg · 15 years ago
Thanks, its something I knocked up in a day.

The plan is to make a Natural Language Engine, giving you all sorts of interesting facts about your block of text.

I didn't think of doing a history of all text, thats actually a really cool idea! I'll have a bit of a think about how to implement this in a nice way.

What you see is the first step to hopefully something that I can grow over time.

u/markyg

KarmaCake day105August 27, 2010View Original