Skip to content

kirklewis/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotvim

My .vim and vimrc setup.

Installation

cd ~
git clone --recursive https://github.com/kirklewis/dotvim.git ~/.vim

Add a symbolic link to .vimrc so Vim can find it.

ln -s ~/.vim/vimrc ~/.vimrc

vimrc structure

The vimrc file is structured as follows:

Settings

Just a few of many:

  • No swap files *.swp or backup files generated.

  • Visual block kept after indentation mappings.vim.

  • NERDTree shows hidden folders/files except .git and .DS_Store.

  • Trailing spaces highlighted by default. :StripWhiteSpace.

  • GitGutter enabled by default and Signify (for SVN, Mercurial) is not. Use :SignifyToggle and :GitGutterToggle to enable or disable either.

Plugins

Auto-Pairs : Insert or delete brackets, parens, quotes in pair.

Dockerfile : Vim syntax file for Docker's Dockerfile.

Dracula : 😱 Dracula colour scheme for vim.

IndentLine : Displaying thin vertical lines at each indentation level for code indented with spaces.

NERDTree : Explore your filesystem and to open files and directories.

Solarized : Solarized colour scheme for vim.

TComment : Inline and block commenting for various programming languages.

TypeScript-vim : Syntax file and other settings for TypeScript

vim-airline : Useful status line for vim.

vim-better-whitespace : Highlight trailing white spaces and tabs.

vim-devicons : File type glyphs (icons) useful with NERDTree and vim-airline.

vim-gitgutter : Shows a git diff in the 'gutter' (sign column).

vim-go : Go development plugin for Vim

vim-json : Distinct highlighting for JSON.

vim-signify : Highlights modification in files under VCS like Git, SVN, etc.

vim-surround : Surround text with characters, like quotes, HTML tags, etc.

Update bundles

cd ~/.vim
git submodule foreach git pull origin master

MIT License

Releases

No releases published

Packages

No packages published