Deploy my vim configuration anywhere with a single script
- Clone the repo
git clone https://github.com/lumenthi/vim-config && cd vim-config
- Launch the install script
./install
- Vim is ready ! To revert changes and restore vim, run the uninstall script
./uninstall
- Edit the
config
then re-run the install script./install
if more custom shortcuts are needed
- Change user, email and also keybind of the header in the
config
file
let g:user42 = "lumenthi"
let g:mail42 = "lumenthi@student.42.fr"
map <F2> :Stdheader<CR>
- For more information about shortcuts and features available, be sure to check the Sublivim repo !
1000+ themes are available with this script
- To change the default theme, edit the following line of the
config
file then re-run the install script./install
autocmd VimEnter * colorscheme <name_of_your_theme>
- Here are the commands to switch between themes:
F3
previous themeF4
next themeF5
random theme
- Use the vim command
:colorscheme <name_of_your_theme>
to select a theme by its name