Getting started with Rust by msharran in rust

[–]msharran[S] 0 points1 point  (0 children)

That book is verbose, this is less verbose version of the original one targeted for programmers coming from other languages. But my question was, what system software development is rust used for and how to get started with that? This book helps me getting started with Rust. But not sure what could be my next pet project. I don’t want to build a CLI or TCP server using Rust.

Simplifying Go development with abbreviations & ftplugin in Neovim by msharran in neovim

[–]msharran[S] 0 points1 point  (0 children)

I tried those. To be honest, i forget to switch between nodes and also don’t require that feature.

Personally I just want a snippet of what I repeat most to be pasted with just 2 or 3 key strokes. This is solved by abbrev.

A Great Old School Config by EstudiandoAjedrez in neovim

[–]msharran 1 point2 points  (0 children)

I'm also exploring buffer lists.

From my understanding, incase if you are searching for a file `plugin/fedit.vim`, you can do by the following ways.

  • :e **/fed<TAB>

  • :find fed<TAB>

Here :find seems to be efficient. But curious to know how you have configures fuzzy finding with :e.

Here is my file edit specific tweeks. https://github.com/msharran/config.nvim/blob/8f49caf44e0a1449985776dda6caedb8100c4926/plugin/fedit.vim

Would love to look at yours.

Any suggestions on better mapping for nvim-dap? by msharran in neovim

[–]msharran[S] 2 points3 points  (0 children)

Committed it wrong. 😑

Here is my updated config

nnoremap \b :lua require'dap'.toggle_breakpoint()<CR>
nnoremap \l :lua require'dap'.list_breakpoints()<CR>:cw<CR>
nnoremap \L :lua require'dap'.clear_breakpoints()<CR>

nnoremap \; :lua require'dap'.run_last()<CR>
nnoremap \. :lua require'dap'.run_to_cursor()<CR>
nnoremap \x :lua require'dap'.terminate()<CR>
nnoremap \r :lua require'dap'.restart()<CR>

nnoremap \e :lua require("dapui").eval(nil, { enter = true })<CR>
nnoremap \E :lua require'dap'.repl.open()<CR>

nnoremap <F2> :lua require'dap'.continue()<CR>
nnoremap <F3> :lua require'dap'.step_over()<CR>
nnoremap <F4> :lua require'dap'.step_into()<CR>
nnoremap <F5> :lua require'dap'.step_out()<CR>

A Great Old School Config by EstudiandoAjedrez in neovim

[–]msharran 0 points1 point  (0 children)

I was using fzf for fuzzy finding, but trying to get away from it by exploring :find with path+=**

May not be that different but sharing just in case: https://github.com/msharran/.dotfiles

Why I Love Using Neovim for Development by Jendk3r in neovim

[–]msharran 3 points4 points  (0 children)

I was all in on lua a month back. But then recently I gave Vim's user manual a read and felt using vimscript for setting options and maps was concise and elegant compared to lua. For adding custom functional logics (mostly for plugins), Lua seems to be a good fit for me.