Skip to content

pgib/pgib-vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick 'n easy Installation

curl -s https://pgib.me/install/vim | sh

Neck-beard installation

cd ~
git clone https://github.com/pgib/pgib-vim-config.git .vim
cd .vim
git submodule update --init
cd ..
ln -s .vim/vimrc.conf .vimrc

Updating

Once you've installed as per above, you can update like so:

cd ~/.vim
git pull && git submodule update --init

Notable Features

NERDTree activation/deactivation with ,, (or specifically <Leader>,).

NERDTree


BufExplorer for seeing, managing, and switching between buffers. <Leader>bb.

BufExplorer


Easily switch between split windows using the ` (backtick).

split windows


Want to make changes to your ~/.vimrc? Easy: <Leader>ev:

easily edit config

Then apply the changes with <Leader>sv. (Shout-out to @flyingoctopus for this gem.)


Notable Keys

Key-combo Description
<Leader> The Vim Leader key is ,
<Leader>c Copy to system clipboard (Mac OS X only)
<Leader>v Paste from system clipboard (Mac OS X only)
F1 Line number toggle
F2 Paste-mode (disables auto intent/comment) toggle
F4 Close buffer (:close)
F5 Toggle between relative and regular line numbers
Ctrl-n Next buffer
Ctrl-p Previous buffer
n Next match from search and pulse the cursor line
N Previous match from search and pulse the cursor line
<Leader>cc Comment the line/selection
<Leader>cu Uncomment the line/selection
Ctrl-w o Zoom in and out of the current window
<Leader>t Search for files VERY quickly using fzf
:Rg Search within all files VERY quickly using ripgrep (must have ripgrep already installed)

About

My vim configuration

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published