Skip to content

yashsriv/vim-bar

Repository files navigation

__     ___             ____             
\ \   / (_)_ __ ___   | __ )  __ _ _ __ 
 \ \ / /| | '_ ` _ \  |  _ \ / _` | '__|
  \ V / | | | | | | | | |_) | (_| | |   
   \_/  |_|_| |_| |_| |____/ \__,_|_|   
                                        

Screen Shot

Pun Intended

A Soap for cleaning code.

Features

  • A .vimrc/init.vim which contains a single line of code
  • Handles both vim and NeoVim
  • Vim-Plug plugin manager for asynchronus plugins in NeoVim
  • Many Key bindings I love
  • Boilerplate code insertion for certain types of files
  • All the plugins I use
  • Auto commands for certain files

Structure

|-init.vim: Sources bar.vim
|--bar.vim: Sources all .vim files in vimbar
|--vimbar/:
  |--------appearance.vim: Appearance settings
  |---------autostart.vim: Autocommands for different filetypes and a tweak for restoring cursor position
  |--------------keys.vim: Personal key mappings. Major one being ,. to <Esc>
  |-----------plugins.vim: Various different plugins
  |----------settings.vim: General settings like undo
  |--------statusline.vim: Statusline for normal vim
  |---text_formatting.vim: Tab width settings and stuff
  |----------------ui.vim: UI Settings

Installation

It's suggested you view bar.vim and all the other dependency files in the vimbar folder and take what you need rather than just using this as is.
But for instant comfort,

# Backup previous vimrc and vim folder
mv ~/.vim ~/.vim.bak
mv ~/.vimrc ~/.vimrc.bak
# Clone vim folder
git clone https://github.com/yashsriv/vim-bar.git ~/.vim
# For vim
ln -s ~/.vim/init.vim ~/.vimrc
# For NeoVim
ln -s ~/.vim ~/.config/nvim
# For installing all plugins
vim -c "PlugInstall"
# OR you could try
git submodule update

About

A Soap for Cleaning Code :P

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published