Log for vimrc
-
Map :ALEDetail to <leader>D 💬 by Caio 5 years ago
`rustc` and `clippy` often give good advice on diagnostics, so I've been reaching to `:ALEDetail` very often over the past few months
-
Don't show the useless fzf preview window 💬 by Caio 5 years ago
ffs
-
Base `:GFilesRelative` logic around `getcwd` 💬 by Caio 6 years ago
Not the same as my original intention, but using the editor's cwd is easier to handle and works better in every project layout I have to deal with nowadays.
-
Add a :GFilesRelative command 💬 by Caio 6 years ago
The original call just injecting `fnamemodify` would only work correctly when the vim instance was running from the root of the git repository. This patch creates the `:GFilesRelative` command which uses fugitive to find out the root of the repository then limits it to the current path to the file of the active buffer. In case it fails to find a git root, we simply fall back to `:Files`.
-
Remove unused :Tags and :BTags bindings by Caio 6 years ago
-
Drop windows-specific airline theme setting by Caio 6 years ago
-
Only setup the fancy highlight when on :IDE by Caio 6 years ago
-
When on :IDE, use lsp symbols as a tag-finder source by Caio 6 years ago
-
Drop vim-expand-region plugin 💬 by Caio 6 years ago
This is really nice, but I haven't managed to fix my muscle memory...
-
Move a few config items around by Caio 6 years ago
-
No need for yank-ring mappings for insert mode by Caio 6 years ago
-
Use custom indent guides based on nesting level by Caio 6 years ago
-
Only configure coc.nvim mappings when using it by Caio 6 years ago
-
Remove unnecessary config by Caio 6 years ago
-
Get rid of unused mappings, add <leader>ac by Caio 6 years ago
-
Revert "Drop coc.nvim, use more ALE" 💬 by Caio 6 years ago
Yeah, all those tiny little niceties that coc.nvim has are now hard to give up lol. This reverts commit 008c8137e186343c36d3eac8813237b3a9188193.
-
Drop coc.nvim, use more ALE 💬 by Caio 6 years ago
Turns out that the reason ALE's language server features weren't working well was because I was trying it [before this rust-analyzer commit went in][1]. Now it works. Coc.nvim is still vastly superior in terms of features, but all that I really care about are the `gd`, `K` mappings and the lsp completions. And ALE doesn't require node. [1]: https://github.com/rust-analyzer/rust-analyzer/commit/e075e096cf4970014d2c0829476fd7a45a3f32b1
-
Add vim-expand-region plugin 💬 by Caio 6 years ago
Damn. <3
-
Less intrusive omni-completion behaviour by Caio 6 years ago
-
Minor cleanup: remove unused and unnecessary stuff 💬 by Caio 6 years ago
Nothing special here: * On windows, nord renders alright (and I tend to stick to vscode there) * I don't use titles, so there's no need for a fancy titlestring * Vim's default foldtext has been acceptable for at least a few years now * I have way better control over vim motion nowadays * I don't have to ssh into RHEL5 (and older) systems anymore :-)
-
Be more explicit about what I want on viminfo by Caio 6 years ago
-
Remove markdown filename mappings 💬 by Caio 6 years ago
I haven't used anything that makes use of these weird-ass extensions in a long while
-
Lint what I write, not what I read 💬 by Caio 6 years ago
To me this should be the default behavior
-
Don't start coc automatically 💬 by Caio 6 years ago
Or try to :-) This is pending on [this patch][1] landing on the `release` branch to actually work. Until then I think I'll live with the 10 extra node processes per vim instance since I already have the `executable` guard. [1]: https://github.com/neoclide/coc.nvim/commit/f09b90c6a74f62a4359a1c7b6dd4be5ef4e42ee3
-
Add error jumps, refresh diagnostics faster by Caio 6 years ago
-
Use capital P for yankring stuff 💬 by Caio 6 years ago
This has been happening for years and finally I remembered to fix it: On insert mode, `,p` is not _that_ rare of a occurrence.
-
Use ale instead of syntastic. Again[^1] 💬 by Caio 6 years ago
I completely forgot that ale was my linter and formatter lol, I just didn't like its completion (or any other) and rls features. This patch restores ale, configures coc to use it, and sets a few new bindings from coc's example vim config. The only thing I miss from vscode now are the codeLens, which I've been living without with the ,rr and ,rt rust bindinds. And if I find out I'm missing more stuff, I will finally have an excuse to switch to neovim. Nice. What made it all work was dropping rust-analyzer :( I'll try to figure out why later. [^1]: 8b01aad53d4ef4146b8981acba6f38c740f62ead
-
Use <TAB> to pick a completion instead of cycling 💬 by Caio 6 years ago
I don't use <TAB> at all and use <CR> a lot, makes more sense to leave the former alone. Besides, as it were I was interacting poorly with lexima.vim, which is a lot more useful to me than a handy <C-y> shortcut.
-
Use lexima.vim for IDE-like pair auto-closing by Caio 6 years ago
-
Disable syntastic_auto_loc_list 💬 by Caio 6 years ago
Doesn't play very well with my habit of using and destroying windows at will, so `:Errors` should be used now.