Skip to content

thaolt/myvimconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myvimconfig

Just my VIM config

  • VIM version: 8.1
  • Colorscheme: Onedark

Table of contents

Installed plugins

  • NERDTree (+nerdtree-git-plugin)
  • vim-airline
  • vim-fugitive
  • tagbar
  • emmet-vim
  • editorconfig-vim

Key bindings

I have been using SpaceVim for awhile, I like SpaceVim's key bindings. However it's bloated and quite slow, so I decide to make a custom configuration like this.

<leader> key = \

Splits

Keys Description
TAB Switch between splits
sq Close split in focus

Buffers

Keys Description
\q Close current buffer
\- Previous buffer(tab)
\= Next buffer
\1 Switch to buffer number 1
\2 Switch to buffer number 2
\3 Switch to buffer number 3
... ...
\9 Switch to buffer number 9

Utilities

Keys Description
\ft Toggle file tree
\tt Toggle tagbar

Git

Keys Description
\gb Blame
\gc Commit
\gd Diff
\gs Status
\gp Pull
\gP Push

Emmet

Default key bindings from emmet-vim

Keys Description
CTRL-y , Expand

vimpkg Usage

To be implement:

./vimpkg -h
./vimpkg -v
./vimpkg help
./vimpkg help install
./vimpkg help remove
./vimpkg help list
./vimpkg install author/package
./vimpkg install -p base -a start author/package
./vimpkg install -p config -a opt author/package
./vimpkg install -p themes -a opt author/package
./vimpkg remove author/package
./vimpkg menu
./vimpkg list

Current commands:

./vimpkg -i author/plugin_name to install plugin from github

./vimpkg -r author/plugin_name to remove plugin

./vimpkg -u to update plugins

Example

To install vim-gitgutter from https://github.com/airblade/vim-gitgutter , run:

cd .vim
./vimpkg -i airblade/vim-gitgutter

Screenshots

thaolt vim config screenshot 2

About

Just my vim config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published