This repository is a vim package that holds and configures all plugins I personnally use in vim.
The following plugin are available:
- Catpuccin: Theme
- FZF: Fuzzy Finder for quick file search.
- FZF.vim: FZF enhancements
- vim-airline-theme: Set of themes for vim-airline (Dracula is used).
- vim-airline: Status bar displaying useful informations
- vim-easy-align: A simple, easy-to-use Vim alignment plugin
- vim-repeat: Use the
.
command with plugin remaps - vim-sensible: Vim defaults everyone can agree on
- vim-surround: Quoting/parenthesizing made simple
- vim-todo-list: Vim plugin for TODO lists
- vim-toml: Vim syntax for TOML
The configuration file has a few prerequisites:
- ripgrep: FZF uses it
- Powerline fonts: Used by vim-airline
pacman -S ripgrep powerline-fonts
With Vim 8.0 or later, go to ~/.vim
and clone the repository along with
submodules:
mkdir -p ~/.vim/pack && cd ~/.vim/pack
git clone --recursive https://github.com/OragonEfreet/vimpack.git
Shortcut | N | I | V | S | C | O | Command | Description |
---|---|---|---|---|---|---|---|---|
<C-p> |
X | :<C-u>Files<CR> |
Open file finder | |||||
<C-k> |
X | :bnext |
Jump to the next buffer | |||||
<C-j> |
X | :bprev |
Jump to the previous buffer | |||||
<Leader>a |
X | X | <Plug>(EasyAlign) |
Enter EasyAlign interactive mode | ||||
<Leader>pg |
X | :<C-u>GFiles?<CR> |
Open git changes finder | |||||
<Leader>pb |
X | :<C-u>Buffers?<CR> |
Open buffers finder | |||||
<Leader>pf |
X | X | :<C-u>:Rg<CR> |
Open grep finder |
At first use, FZF will search for the fzf
executable.
If not found, it will prompt for automatic build.
EasyAlign allows quick vertical alignment of text.
The main shortcut, <Leader>a
, works in two modes:
- Visually select a block and enter interactive mode (example:
vip<Leader>a
) - or call EasyAlign then select the motion to apply on (example:
<Leader>aip
)