I threw out my Vim configuration to start over again.

Here’s here's my ~/.vim (github.com/jeffkreeftmeijer/.v), if you’d like to follow along while I add configuration back. It’s working surprisingly well so far, actually.

I switched from the default color scheme to Dim (github.com/jeffkreeftmeijer/.v). It’s a clone of the default, but it uses ANSI colours exclusively and is consistent on light and dark backgrounds.

I configure colours in my terminal profile instead of dealing with Vim’s schemes.

I'm not dealing with fuzzy file finders this time around. Instead, I’ll use ctags to jump between files, `:b` to juggle open buffers and [I’ve configured Vim’s built-in netrw to help navigate project directory structures](github.com/jeffkreeftmeijer/.v).

As my first foray into using a language server in my editor, I’ve installed coc.nvim and coc-elixir for an Elixir language server that provides automatic code completion, compiler checks and Dialyzer analysis.

github.com/jeffkreeftmeijer/.v

Another great thing about coc.nvim is its ability to automatically format files on save through its plugins.

I've turned on automatic formatting for Elixir and Rust files by adding both to `coc.preferences.formatOnSaveFiletypes` in `coc-settings.json`.

github.com/jeffkreeftmeijer/.v

I gave in. Instead of using netrw and ctags to navigate like I said I would, I installed fzf again. I’m really liking the new-to-me preview window. I’ve also added fzf.vim highlight colors to Dim (github.com/jeffkreeftmeijer/vi) to limit it to using ANSI colors.

github.com/jeffkreeftmeijer/.v

@jkreeftmeijer yours is showing "above" the view instead of in a temp split below... Must check that out

@schnittchen Yes, that seems to be the new default. I’d say updating your checkout should switch it to the floating panel. :)

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!