lnicosia / vim-config

Automated vim configuration setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automated vim configuration

Deploy my vim configuration anywhere with a single script

Usage

  • 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

Configuration

.vimrc

  • Edit the config then re-run the install script ./install if more custom shortcuts are needed

42 Header

  • 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>

Sublivim

  • For more information about shortcuts and features available, be sure to check the Sublivim repo !

Themes

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 theme
    • F4 next theme
    • F5 random theme
  • Use the vim command :colorscheme <name_of_your_theme> to select a theme by its name

Note that some themes might be bugged and you'll have to restart your vim if a problem occurs

About

Automated vim configuration setup


Languages

Language:Vim Script 97.6%Language:Vim Snippet 2.0%Language:Python 0.2%Language:Ruby 0.1%Language:Shell 0.0%Language:Go 0.0%Language:Erlang 0.0%Language:JavaScript 0.0%Language:AppleScript 0.0%Language:Makefile 0.0%