A clean and functional Vim configuration repository.
To install this configuration, follow these steps:
-
Clone the repository to your home directory as
.vim:git clone --recursive https://github.com/beol/vimfiles.git ~/.vim -
Create a symbolic link for the
vimrcfile:ln -s ~/.vim/vimrc ~/.vimrc
-
If you use GUI Vim (like MacVim or gVim), create a symbolic link for
gvimrc:ln -s ~/.vim/gvimrc ~/.gvimrc
-
If you already have the repository cloned but missing submodules:
cd ~/.vim git submodule update --init --recursive
- Plugin Management: Uses Pathogen for easy plugin management.
- File Explorer: NERDTree for file system navigation.
- Commenting: NERDCommenter for easy code commenting.
- Git Integration: Vim-Fugitive for Git commands within Vim.
- Language Support: Optimized settings for Ruby, JavaScript, Puppet, HTML, CSS, and more.
- Colorschemes: Includes Molokai and TokyoNight.
The <leader> key is set to <space>.
jj: Escape insert mode.<space>sv: Reloadvimrc.<space>ww: Quick save (:w!).<space>wq: Save and quit.<space>qq: Force quit.
<C-h/j/k/l>: Move between split windows.<space>cd: Change current directory to the directory of the active file.
<space>n: Toggle NERDTree.<space>/: Toggle code comments.
<space>l: Indent line.<space>h: Un-indent line.<space>W: Toggle line wrapping.<space>N: Toggle line numbers.