Skip to content

beol/vimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Configuration

A clean and functional Vim configuration repository.

Installation

To install this configuration, follow these steps:

  1. Clone the repository to your home directory as .vim:

    git clone --recursive https://github.com/beol/vimfiles.git ~/.vim
  2. Create a symbolic link for the vimrc file:

    ln -s ~/.vim/vimrc ~/.vimrc
  3. If you use GUI Vim (like MacVim or gVim), create a symbolic link for gvimrc:

    ln -s ~/.vim/gvimrc ~/.gvimrc
  4. If you already have the repository cloned but missing submodules:

    cd ~/.vim
    git submodule update --init --recursive

Features

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

Key Mappings

The <leader> key is set to <space>.

General

  • jj: Escape insert mode.
  • <space>sv: Reload vimrc.
  • <space>ww: Quick save (:w!).
  • <space>wq: Save and quit.
  • <space>qq: Force quit.

Navigation

  • <C-h/j/k/l>: Move between split windows.
  • <space>cd: Change current directory to the directory of the active file.

Plugins

  • <space>n: Toggle NERDTree.
  • <space>/: Toggle code comments.

Editing

  • <space>l: Indent line.
  • <space>h: Un-indent line.
  • <space>W: Toggle line wrapping.
  • <space>N: Toggle line numbers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors