Post AMQSceqRZR2erPiRSy by goldstein@expired.mentality.rip
(DIR) More posts by goldstein@expired.mentality.rip
(DIR) Post #ALnYpktvRowrOkuaKu by codewiz@mstdn.io
2022-07-23T23:28:02Z
0 likes, 0 repeats
My quest to make #Neovim the ultimate #Rust and #Cpp #programming continued with minor touches to the behavior of nvim-cmp:
(DIR) Post #ALnbb9GKtEeqTN7WWe by codewiz@mstdn.io
2022-07-23T23:58:57Z
0 likes, 0 repeats
I ended up using plenty of #neovim plugins:- packer (plugin manager)- telescope (fuzzy finder)- lualine (status line)- nvim-web-devicons- nvim-scrollview (scrollbar)- nvim-tree (a file tree)- nvim-lspconfig- nvim-cmp, with a ton of sub-plugins- lsp_signature (shows type hints while editing parameters)All these are written in Lua, and thus my editor still starts in a blink. The rust-analyzer language server, however, takes a few seconds to index the current file in the background.
(DIR) Post #ALneOdf2rDRwqlP8LY by codewiz@mstdn.io
2022-07-24T00:30:22Z
0 likes, 0 repeats
On second thought, perhaps I don't need nvim-tree when I already have telescope bound to CTRL-P (like VSCode's Quick Open feature).Telescope has super fast fuzzy search and realtime, syntax-highlighted previews.#neovim #vim #programming
(DIR) Post #ALneWQDQjNLnSzCOrQ by codewiz@mstdn.io
2022-07-24T00:31:47Z
0 likes, 0 repeats
On second thought, perhaps I don't need nvim-tree when I already have telescope bound to CTRL-P (like VSCode's Quick Open feature).Telescope has super fast fuzzy search and realtime, syntax-highlighted previews. It also looks great without tweaking the default config 🤩 #neovim #vim #programming #unixporn
(DIR) Post #ALoo37ITBVSF5pBHyy by redgreenrefactor@mastodon.technology
2022-07-24T13:53:12Z
0 likes, 0 repeats
@codewiz I still like having a tree view for the visualization. I love the nvim tree find file command
(DIR) Post #ALpEcCWhbbC58pX6Uy by codewiz@mstdn.io
2022-07-24T18:50:54Z
0 likes, 0 repeats
@redgreenrefactor I still need to check how it integrates with the fugitive plugin: in vscode, I can see at a glance which files are modified, and I can even create partial commits directly from the tree view.That's quite a killer feature for my workflow.
(DIR) Post #ALpO39qAbCz0DWZFSq by redgreenrefactor@mastodon.technology
2022-07-24T20:36:37Z
0 likes, 0 repeats
@codewiz ah that is cool! I’m pretty sure it can show git status for files but not sure about the staging and commiting part
(DIR) Post #AMQSceqRZR2erPiRSy by goldstein@expired.mentality.rip
2022-08-11T13:02:27.906166Z
0 likes, 0 repeats
@codewiz Have you tried lsp_lines? I found it extremely helpful for displaying complex Rust diagnostics.
(DIR) Post #AMQScfQbOzxufYdJpI by codewiz@mstdn.io
2022-08-11T17:52:11Z
0 likes, 0 repeats
@goldstein Looks great! I think I'd want a keybinding to fold/unfold errors, and usually keep them folded so they don't distract me while I'm in the middle of reworking some code.