My personal Vim and Neovim configuration files.
.
├── .vimrc # Main Vim configuration
└── init.vim # Neovim configuration (sources .vimrc)
# Clone the repository
git clone https://github.com/raviheima/vim-config.
# Create swap directory
mkdir -p ~/.vim/swap
# Create Neovim config directory and copy init.vim
mkdir -p ~/.config/nvim
# Do the needful ^_^- Syntax highlighting enabled
- Line numbers displayed
- Search highlighting with incremental search
- Smart indentation (4 spaces, tabs expanded)
- NERDTree integration with keyboard shortcuts
- Split window navigation with
Ctrl+h/j/k/l - Code folding based on filetype
- Wildmenu for enhanced command-line completion
- Murphy colorscheme
Ctrl+h- Move to left splitCtrl+l- Move to right splitCtrl+k- Move to top splitCtrl+j- Move to bottom split
Ctrl+n- Open NERDTreeCtrl+t- Toggle NERDTreeCtrl+f- Find current file in NERDTree<leader>n- Focus NERDTree
:Bd- Close buffer without closing window
This configuration uses Vim 8+ native package management. Plugins should be installed in:
~/.vim/pack/plugins/start/
Currently configured plugins:
- NERDTree - File system explorer
- vim-unimpaired - Pairs of handy bracket mappings
- Vim 8.0+ or Neovim 0.5+
- Git (for cloning and updates)
- Swap files are stored in
~/.vim/swap/ init.vimsources the shared.vimrcso both Vim and Neovim use the same configuration- Only need to edit
.vimrc- changes apply to both editors automatically
Personal configuration - feel free to use and modify as needed.