Skip to content

habamax/.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal .vim

Personal vim configuration.

Vimscript scratches

Fuzzy Popup Finder

Sometimes ago I have created vim-select plugin to simplify opening of files/buffers and other things in vim. I was a happy user but then another scratch of vimscript and I have a way simpler fuzzy popup finder that does most of the things I need:

  • A wrapper function to narrow down any list provided as a parameter to something you can select from.
  • Set of functions that actually generate lists and "do things" over a selected item.
  • Mappings that call those functions.

If you would like to have it in a plugin, there is https://github.com/girishji/scope.vim.

Some of the examples:

Fuzzy file/buffer/MRU

https://user-images.githubusercontent.com/234774/186641098-d1f0f4ca-3396-4c8f-82ac-8de06f61cf0c.gif

Fuzzy project file finder

https://user-images.githubusercontent.com/234774/186641084-9f9b4086-ea7b-4ee5-9ac8-32091e0412d5.gif

Fuzzy help

https://user-images.githubusercontent.com/234774/186641608-6cc2f280-deef-48cb-8e72-dc423ca31daa.gif

Fuzzy TOC for TeX/Markdown/ReStructuredText

https://user-images.githubusercontent.com/234774/186641087-ba2d0d5e-b057-4e69-a062-acdaa44fc29f.gif

Fuzzy highlight finder

https://user-images.githubusercontent.com/234774/186641079-4d4e41b1-ff9e-4a1f-b785-1554801fe244.gif

Commenting

vim-commentary alike comment toggling is a very handy and convenient thing, so "to make it safe and available" I did implement my own version which became a part of vim.

Toggle ColorColumn at cursor position

Sometimes you might need to edit table-like text, colorcolumn and vartabstop could be helpful:

https://user-images.githubusercontent.com/234774/186644105-53985289-ccd6-43a0-9813-9dccda3f86eb.gif

Colors

  • wildcharm: vibrant and playful colorscheme, at least one popular AI thinks it is. bundled with vim9
  • lunaperche: dual background, this should be really the last one (100%); bundled with vim9
  • habamax: dark background, this should be really the last one (not really); bundled with vim9
  • habaurora: light background, grayish;
  • bronzage: dark background, was thinking of zenburn while creating it;
  • sugarlily: white background, blue accents;
  • saturnite: dark background, variation of the awesome Apprentice;
  • freyeday: light background, to complement saturnite;
  • alchemist: dark background, variation of the awesome Apprentice;
  • psionic: light background;
  • gruvbit: simplified variant of gruvbox_hard;
  • polar: white background variation of base16-one-light;
  • habanight: black background variation of base16-default-dark colorscheme.

About

Personal .vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published