navi
dotfiles
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
navi
-
Show HN: TBMK – A Commands Bookmark for Terminal
I've built something similar for myself (fzf+a bit of shell). But I realized that fzf's history view (with very long history buffer) works much better for my use case.
I still needed something to cover rare commands with dynamic arguments. That got covered by Navi: https://github.com/denisidoro/navi (takes more friction to add new command than with TBMK, but you get much more organized and easier to search tool).
-
Isues with Navi CLI cheat sheets
navi repo add denisidoro/navi-tldr-pages Cloning https://github.com/denisidoro/navi-tldr-pages into /home//.local/share/navi/cheats/tmp... Cloning into '/home//.local/share/navi/cheats/tmp'... remote: Enumerating objects: 1841, done. remote: Counting objects: 100% (1841/1841), done. remote: Compressing objects: 100% (1756/1756), done. remote: Total 1841 (delta 83), reused 1839 (delta 83), pack-reused 0 Receiving objects: 100% (1841/1841), 504.71 KiB | 1.95 MiB/s, done. Resolving deltas: 100% (83/83), done. Hey, listen! navi encountered a problem. Do you think this is a bug? File an issue at https://github.com/denisidoro/navi. Caused by: 0: Failed to import cheatsheets from `denisidoro/navi-tldr-pages` 1: Failed to get cheatsheet files from finder 2: Failed to pass data to finder 3: Unable to prompt cheats to import 4: Broken pipe (os error 32)
- How to store frequently used commands?
-
intelli-shell - Bookmark commands and autocomplete at any time!
Similar projects (in a way): navi
-
How I've improved my Linux Skills
I think navi is a better alternative. You can create custom cheats too.
-
Me relearning git every week
navi might help you with that
- Twitter open sources Navi: High-Performance Machine Learning Serving Server in Rust
- Looking for a snippet tool
-
Script manager?
I like using navi, but idk if you want something that runs in the terminal.
-
229 Linux Commands with Examples
There's also a cli program called tealdeer that does this kind of thing and uses a local cache. And there's a fuzzy search interactive cli cheatsheet program called navi that's also pretty cool (and you can write your own cheatsheets).
dotfiles
-
How do you organise your snippets?
You put your snippets in a lua file, like here (with syntax according to the luasnip documentation) and invoke such file somewhere in your configuration so that it's required (i. e. "loaded").
-
Function: Attempt to call global 'xxx' (a nil value)
Without knowing your precise folder structure and where you are requiring what is a little hard to understand. However, I do something similar but I have a functions file in my lua folder (without any nested subfolder) and I just require all the .lua stuff in my init.lua here.
-
Select filetype based on Filename?
Some examples here, but as other users suggested it's vim.filetype.add().
-
which snippet engine are you using?
You can find my snippets here: to be honest they are rather simple, so creating such doesn't take me too long. In general I would say either style is fine (or equally ugly :p).
-
I refactored my lua structure and have lost some UI styling ?
Whilst at the moment I do not have time to go through your config, this is my noice config and my lsp. You can copy&paste, I have borders set and normal highlight window. It works, so just copy it and then work back till you add yours.
-
lsp handlers textDocument issue after update Noice
If it can be of help this is my noice configuration and lsp setup. It is working fine for me and I tested updating everything right now.
-
TreeSitter Code Highlight
See examples here.
-
minimal config for sessions management
Here - it is just a config file with a few functions: use it as inspiration! The code is probably not optimised yet (I just got it working and I wanted to share, do let me know if you can make it better): mappings to operate
-
your favorite cheatsheet app ?
I use navi and I am very satisfied: it's very easy to create your own cheatsheets, see for instance what I do here.
-
...and now gh-i to search for issues interactively!
It is macOS with iTerm2 and zsh as shell. The DE is the standard one that comes pre-installed, I didn't make changes; you can find my configurations here
What are some alternatives?
tldr - 📚 Collaborative cheatsheets for console commands
noice.nvim - 💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
cheat.sh - the only cheat sheet you need
indent-blankline.nvim - Indent guides for Neovim
thefuck - Magnificent app which corrects your previous console command.
vimspector - vimspector - A multi-language debugging system for Vim
zsh-histdb - A slightly better history for zsh
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
termgraph - a python command-line tool which draws basic graphs in the terminal
dotfiles - My Dotfiles
md2pdf - Markdown to PDF conversion tool
tig - Text-mode interface for git