Comments by "MrAbrazildo" (@MrAbrazildo) on "0 to LSP : Neovim RC From Scratch" video.

  1. 1
  2. Other things I often use on C::B, and I don't remember you had mention: - Bookmarks: Ctrl-B on different locations. Then hold Alt, and PgUp/PgDown (hold or not) to navigate 1 or more times through them (without release them, in this last case). - Applying current syntax highlight to any file extension opened. It "doesn't make sense", but I find it to be much pleasant to read that way. I just need to add that extension in a menu, for applying any current highlight I have at the moment. Easier to memorize, due to key colors on key locations. So, often I use to open files on this IDE, instead of text editors. Because these apply highlight according to the file extension, with iron fist. - Abbreviations: Ctrl-J expands some user custom keywords to code. It's possible to set variables dynamically, so that it'll open a menu to type what variable will be placed in what location, among the code expansion. I can put an entire big fat class there, with plenty of variables. - Jump between words, horizontally: hold Ctrl, and Right/Left (hold or not). Let's say I have an abbreviation for a for with const iterators, and for some reason I don't have the nonconst version. So I type rngfor and Ctrl-J. It expands to: for (const auto some_itr = obj.cbegin(); some_itr != obj.cend(); some_itr++); So I want to cut const and the 'c's. I can't do that in 1 replace. Plus, it could erase other 'c's. So it's faster to go Ctrl-RightRightRight... till reach any word to delete. Then Ctrl-Shift-Right (select word), Del (all with the right hand). - Default code: if I have a template of a project, this is faster than load from some other project, and saving as...
    1
  3. 1