You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a vim configuration deployment system with my basic vim configuration that I find useful to have for a better vim experience. You should fork this repo, and create your own ;)
Creates/overwrites the .vimrc file on your system.
After installation, you only need to run the :PlugInstall command when you first start vim. There could be some errors reported by vim for the first time, but this is normal, press enter to continue.
Vanilla functionality
Shortcuts
The leader key is mapped to the <space> key.
Shortcut type
Syntax
Usage
Combination
<X-Y>
Press the X and Y keys at once.
Sequence
XY
Press the XY in sequence.
General
Shortcut
Mode
Action
;
NV
Was mapped to the : character.
<leader>w
N
Saves the current buffer with the :w command.
<leader>q
N
Closes the current buffer with the :q command.
<C-l>
N
Selects the split on the right.
<C-h>
N
Selects the split on the left.
<C-j>
N
Selects the split on the bottom.
<C-k>
N
Selects the split on the top.
<C-e>
N
Go down.
<C-y>
N
Go up.
J
N
Move current line down.
K
N
Move current line up.
J
V
Move current selection down.
K
V
Move current selection up.
Makefile
Shortcut
Mode
Action
<leader>mm
N
Executes the default make target in the project root.
<leader>mt
N
Executes the test make target in the project root.
<leader>mc
N
Executes the clean make target in the project root.
<leader>m<leader>
N
Prompts for make target.
Argeppiator
Shortcut
Mode
Action
<j-k>
NV
Pressing the two key together produces an <esc> keypress.
SexyScroller
Shortcut
Mode
Action
<C-f>
N
Sexy scroll down a page!
<C-b>
N
Sexy scroll up a page!
NerdTree
Shortcut
Mode
Action
<F2>
NNERD
Toggles the NerdTree side panel.
<F3>
NERD
Opens up the NerdTree Menu.
A
NERD
Toggles the wide NerdTree side panel.
I
NERD
Toggles the display of hidden files.
x
NERD
Closes the current directory level.
U
NERD
Goes up one level.
C
NERD
Set the current directory to the root.
?
NERD
Toggles the NerdTree help.
BetterWhitespace
Shortcut
Mode
Action
<leader>sw
N
Cleans up the unnecessary whitespaces.
Bookmarks
Shortcut
Mode
Action
mm
N
Adds/removes a bookmark to the current line.
mi
N
Adds an annotated bookmark to the current line.
mn
N
Jumps to the next bookmark.
mp
N
Jumps to the previous bookmark.
Buffergator
Shortcut
Mode
Action
<leader>b
N
Opens up the opened buffer list side pane.
EasyMotion
Shortcut
Mode
Action
<leader><leader>w
N
Easy motion down.
<leader><leader>b
N
Easy motion up.
MultipleCursors
Shortcut
Mode
Action
<C-n>
N
Selects the next similar word/selection.
<C-p>
N
Movesthe previous, unselects the current similar word/selection.
<C-x>
N
Jumps over the current similar word/selection.
VimSurrounds
Shortcut
Mode
Action
cs'"
N
Changes the surround from ' to ".
MatchTag
Shortcut
Mode
Action
%
N
Jumps to the matching tag.
Plugins
Vim-Plug installs the following plugins by executing the :PlugInstall command in vim.
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 30 2014 10:56:39)
Included patches: 1-160
Plugin
Used hash
MatchTag
38250f4
auto-pairs
20ec5b0
nerdtree
e671e40
sexy_scroller.vim
e974aca
supertab
cdaa5c2
vim-arpeggio
d2a8214
vim-better-whitespace
7729bad
vim-bookmarks
04a3d92
vim-buffergator
04dfbc0
vim-easymotion
19d00af
vim-gitgutter
1c034be
vim-json
f5e3181
vim-multiple-cursors
51d0717
vim-projectroot
432ce30
vim-repeat
7a6675f
vim-startify
2e89a6e
vim-surround
e49d6c2
xmledit
1335d79
yang.vim
df68550
License
MIT License
Copyright (c) 2017 Tibor Simon
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.