Datsoon

u/Datsoon


r/neovim•

Maybe I'm just dense, but I'm having trouble figuring out exactly how to implement this. I have spell and spellang set, and I like the workflow of seeing the words it has flagged, moving the cursor to that word, and then hitting z= to see suggestions and choosing one. Thing is, the fullscreen menu and hitting a number to choose is a bit jarring. I'd prefer an inline pmenu with the suggestions that I can cycle through to choose and replace. I know there is a spell source for nvim-cmp, but that's for autocomplete and not exactly what I'm looking for. Is this type of configuration with a spell check workflow similar to most office-like products possible?

56

r/neovim•

If I have a markdown file which looks like this:

- [ ] Task 1
# Header 1
- [X] Task 2
## Header 2
- [ ] Task 3

I would like to write a treesitter query which returns something along the lines of the following for each task:

{ { }, { "- [ ] Task 1" } },
{ { "# Header 1" }, { "- [X] Task 2" } },
{ { "## Header 1", "Header 2" }, { "- [ ] Task 3 } }

I don't know if this is possible. I basically want to, for a collection of files in a directory tree, return all tasks (based on pattern matching) and the associated list of nested section headers. Is this possible? I was working with some queries which looked like this:

(section(list(list_item) @task_text (#c
12

r/neovim•

I spent a bit of time dialing in my jupyter/iPython experience the other day but could not get one thing working. I open an ipython terminal alongside my python buffer and send code over using iron.nvim. I've defined text objects to do this, and it works very well, but I wanted the cell delimiter lines to be highlighted for better visibility. What's the best way to do this? Cells are bounded by # %% comments. Things I have tried/looked into:

  1. Syntax highlighting: worked ok, but only highlighted the comment characters instead of the whole line.

  2. Signs: My understanding is that it would require searching the entire buffer on InsertLeave basically to find and highlight all the delimit

22

r/tipofmyjoystick•

I don't remember much even about the gameplay, but I remember the western setting, and a sort of log-cabin aesthetic. There was a series of settings which served as the menu, one of which was a bulletin board you could collect and complete tasks at.

The graphics were simple, perhaps pixel.

I remember there being a pvp element, and the dueling gameplay was skill-based, not just reaction time.

Thanks!

10

r/neovim•

Inspired by a recent discussion here, I have been trying to get a set of autocommands set up to allow me to summon lsp signature help in insert mode, have the window remain open and follow the cursor position for the entire time I'm in insert mode, and then disappear once I leave insert mode. Here's what I have so far:

vim.api.nvim_set_keymap('i', '<C-k>', '<cmd>lua PersistentSignatureHelp()<CR>', {})

vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
    vim.lsp.handlers.signature_help, {
        border = 'rounded',
        close_events = {'InsertCharPre', 'CursorMoved'},
        focusable = false
    }
)

function 
75

r/HomeNetworking•

TLDR: I have an Aruba S2500 switch I will be using for network management and access control. With AT&T fiber, should I use the provided Arris BGW210 as my router or put it in IP passthrough mode and use the Asus RT-AC86U I have lying around as my router? I don't understand enough about the routing side of things to properly weigh the pros/cons.

I had an Asus RT-AC86U which served as my router, switch, and wifi AP for a few years, and did that very well, but I also had all my (numerous) iot devices on the same network as my general wifi stuff, including several Chinese-market devices. I had them locked down from the internet, but I still always wanted to segregate them into a separate

36

r/RemarkableTablet•

Does anyone know the extent of the PDF linking features rM have implemented in 2.6? I know, from messing around with some PDF scripting in the past, that some PDFs support running dynamic javascript snippets when links are clicked and/or linking to separate files, but I wasn't sure if such features were only implemented in the Adobe ecosystem or something. Anybody know what exactly has been implemented for rM?

21

r/thinkpad•

I have a ThinkBook 15-IIL with the Elan touchpad. It's terrible. Scrolling behavior is all over the place, and the touchpad button zones aren't configurable at all. It's just a huge pain. I've got a combination of some additional Elan software and some registry hacks which make it barely tolerable, but only barely.

Now, the touchpad has developed some sideways movement, as if the tabs holding the assembly in the laptop are broken or something. I was going to break it open and investigate, but thought it might be a good opportunity to swap to a Synaptics unit while I'm in there.

Is this even possible? How would I go about finding a applicable synaptics unit, and would the installation pro

10

r/neovim•

I have never worked in C, C++, or lua, so I'm way out of my element here, but I'm trying to get the treesitter parsers compiled and working on windows. I know there's some discussion about this on GitHub, but the pre-compiled parser artifacts from the old PR have expired.

I have treesitter working very well in my wsl install. Is there any way to compile the parsers on wsl for use in my windows install of neovim? I don't have admin rights on the windows box, but do have wsl privileges and root access in my wsl distros, so I can get whatever compilers I need in wsl.

37

r/RemarkableTablet•

What I'm envisioning is the ability to place a link in a document which can be clicked to bring you to another page or notebook.

Even if clickable links can't be placed in documents, I'm wondering if the bookmarks system u/dobum has created (or something like it, accessible from the menu) can be modified or used for something like this.

Possible, at all? Can the bookmarks stretch across documents?

420

r/RemarkableTablet•

I'm not asking anyone to tear apart their brand new rM2 tablet, but I'm just curious if any of you hacker types are planning a teardown or any kind of deeper exploration of the software/hardware on the new device?

Things I'm curious about:

  1. What are the contacts on the side of the device for? Where are they wired into the "brains" and what might this configuration allow for, either by the reMarkable team or independent hackers?

  2. Any OS differences which might explain the slowdowns noted in Voja's comparison video?

  3. Is the addition of expandable storage by modifying the case and wiring in an SD card slot still an option?

What else am I missing? What are y'all curious about?

415